From 018a2eead09381cc37b81e56ef01fdbf11921204 Mon Sep 17 00:00:00 2001 From: Gabriel Wicke Date: Mon, 17 May 2004 20:04:50 +0000 Subject: [PATCH] use ?, not \& for top-level wikis --- includes/GlobalFunctions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } -- 2.20.1