dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9feba7a
)
use ?, not \& for top-level wikis
author
Gabriel Wicke
<gwicke@users.mediawiki.org>
Mon, 17 May 2004 20:04:50 +0000
(20:04 +0000)
committer
Gabriel Wicke
<gwicke@users.mediawiki.org>
Mon, 17 May 2004 20:04:50 +0000
(20:04 +0000)
includes/GlobalFunctions.php
patch
|
blob
|
history
diff --git
a/includes/GlobalFunctions.php
b/includes/GlobalFunctions.php
index
140f195
..
8989b60
100644
(file)
--- 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;
}