revert r64792
authorTim Starling <tstarling@users.mediawiki.org>
Fri, 9 Apr 2010 12:57:34 +0000 (12:57 +0000)
committerTim Starling <tstarling@users.mediawiki.org>
Fri, 9 Apr 2010 12:57:34 +0000 (12:57 +0000)
includes/Title.php

index 700f7e6..09d68b2 100644 (file)
@@ -826,9 +826,6 @@ class Title {
                        $pref = $wgContLang->getPreferredVariant(false);
                        if($pref != $wgContLang->getCode())
                                $variant = $pref;
-               } elseif ( $variant == $wgContLang->getCode() ) {
-                       // Don't use $wgVariantArticlePath for the main code
-                       $variant = false;
                }
 
                if ( $this->isExternal() ) {