Index: trunk/phase3/includes/Title.php |
— | — | @@ -826,9 +826,6 @@ |
827 | 827 | $pref = $wgContLang->getPreferredVariant(false); |
828 | 828 | if($pref != $wgContLang->getCode()) |
829 | 829 | $variant = $pref; |
830 | | - } elseif ( $variant == $wgContLang->getCode() ) { |
831 | | - // Don't use $wgVariantArticlePath for the main code |
832 | | - $variant = false; |
833 | 830 | } |
834 | 831 | |
835 | 832 | if ( $this->isExternal() ) { |