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:
a5d2377
)
fixed the wfLoclaUrl hack committed yeterday by mistake to another hack...
author
Gabriel Wicke
<gwicke@users.mediawiki.org>
Tue, 3 Feb 2004 13:20:56 +0000
(13:20 +0000)
committer
Gabriel Wicke
<gwicke@users.mediawiki.org>
Tue, 3 Feb 2004 13:20:56 +0000
(13:20 +0000)
includes/GlobalFunctions.php
patch
|
blob
|
history
diff --git
a/includes/GlobalFunctions.php
b/includes/GlobalFunctions.php
index
b901bc4
..
dd40d17
100644
(file)
--- a/
includes/GlobalFunctions.php
+++ b/
includes/GlobalFunctions.php
@@
-64,7
+64,9
@@
function wfLocalUrl( $a, $q = "" )
}
} else if ( "" == $q ) {
$a = str_replace( "$1", $a, $wgArticlePath );
- } else {
+ } else if ($wgScript != '' ) {
+ $a = "{$wgScript}?title={$a}&{$q}";
+ } else { //XXX ugly hack for toplevel wikis
$a = "/{$a}&{$q}";
}
return $a;