now for the real thing- previous submit was a small hack to make it work without...
authorGabriel Wicke <gwicke@users.mediawiki.org>
Sat, 31 Jan 2004 02:08:36 +0000 (02:08 +0000)
committerGabriel Wicke <gwicke@users.mediawiki.org>
Sat, 31 Jan 2004 02:08:36 +0000 (02:08 +0000)
includes/GlobalFunctions.php

index 05c1b32..dc8cfc5 100644 (file)
@@ -65,7 +65,7 @@ function wfLocalUrl( $a, $q = "" )
        } else if ( "" == $q ) {
                $a = str_replace( "$1", $a, $wgArticlePath );
        } else {
-               $a = "/{$a}&{$q}";      
+               $a = "{$wgScript}?title={$a}&{$q}";     
        }
        return $a;
 }
@@ -758,7 +758,6 @@ function wfPurgeSquidServers ($urlArr) {
     }
     $totalsockets = count($wgSquidServers) * $sockspersq;
     $sockets = Array();
-    $t = microtime(1);
     
     /* this sets up the sockets and tests the first socket for each server. */
     for ($ss=0;$ss < count($wgSquidServers);$ss++) {