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:
5f13cc1
)
Fixed bug when $2 is present in the URL.
author
Robert Stojnić
<rainman@users.mediawiki.org>
Thu, 12 Oct 2006 20:45:49 +0000
(20:45 +0000)
committer
Robert Stojnić
<rainman@users.mediawiki.org>
Thu, 12 Oct 2006 20:45:49 +0000
(20:45 +0000)
includes/Title.php
patch
|
blob
|
history
diff --git
a/includes/Title.php
b/includes/Title.php
index
6d06e37
..
615d92f
100644
(file)
--- a/
includes/Title.php
+++ b/
includes/Title.php
@@
-850,8
+850,9
@@
class Title {
else
$variantArticlePath = $wgVariantArticlePath;
- $url = str_replace( '$1', $dbkey, $variantArticlePath );
- $url = str_replace( '$2', urlencode( $variant ), $url );
+ $url = str_replace( '$2', urlencode( $variant ), $variantArticlePath );
+ $url = str_replace( '$1', $dbkey, $url );
+
}
else
$url = str_replace( '$1', $dbkey, $wgArticlePath );