From: Gabriel Wicke Date: Mon, 17 May 2004 20:04:50 +0000 (+0000) Subject: use ?, not \& for top-level wikis X-Git-Tag: 1.3.0beta1~50 X-Git-Url: http://git.cyclocoop.org/wiki/Target_page?a=commitdiff_plain;h=018a2eead09381cc37b81e56ef01fdbf11921204;p=lhc%2Fweb%2Fwiklou.git use ?, not \& for top-level wikis --- diff --git a/includes/GlobalFunctions.php b/includes/GlobalFunctions.php index 140f195fc0..8989b6078d 100644 --- a/includes/GlobalFunctions.php +++ b/includes/GlobalFunctions.php @@ -93,8 +93,8 @@ function wfLocalUrl( $a, $q = "" ) $a = str_replace( "$1", $a, $wgArticlePath ); } else if ($wgScript != '' ) { $a = "{$wgScript}?title={$a}&{$q}"; - } else { //XXX ugly hack for toplevel wikis - $a = "/{$a}&{$q}"; + } else { //XXX hackish solution for toplevel wikis + $a = "/{$a}?{$q}"; } return $a; }