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:
279a29c
)
Bug 24027: Variants like "zh" should get purged as others.
author
Philip Tzou
<philip@users.mediawiki.org>
Tue, 6 Jul 2010 06:59:52 +0000
(06:59 +0000)
committer
Philip Tzou
<philip@users.mediawiki.org>
Tue, 6 Jul 2010 06:59:52 +0000
(06:59 +0000)
includes/Title.php
patch
|
blob
|
history
diff --git
a/includes/Title.php
b/includes/Title.php
index
bba078d
..
4c7cda9
100644
(file)
--- a/
includes/Title.php
+++ b/
includes/Title.php
@@
-2804,7
+2804,6
@@
class Title {
if ( $wgContLang->hasVariants() ) {
$variants = $wgContLang->getVariants();
foreach ( $variants as $vCode ) {
- if ( $vCode == $wgContLang->getCode() ) continue; // we don't want default variant
$urls[] = $this->getInternalURL( '', $vCode );
}
}