diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2011-01-04 12:24:29 +0100 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2011-01-04 12:24:29 +0100 |
commit | 8f93926e1bc6e96fc11b4d0d201025022d471de7 (patch) | |
tree | 7e13841de0a7d33faf5481d44ca7471ce639193a /includes/Title.php | |
parent | fe786bf329367b2d2663ea7f2474ceaeeace6180 (diff) |
update to MediaWiki 1.16.1
Diffstat (limited to 'includes/Title.php')
-rw-r--r-- | includes/Title.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/includes/Title.php b/includes/Title.php index 8d7275ff..be41a85a 100644 --- a/includes/Title.php +++ b/includes/Title.php @@ -2606,9 +2606,8 @@ class Title { // purge variant urls as well 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); + foreach ( $variants as $vCode ) { + $urls[] = $this->getInternalURL( '', $vCode ); } } |