From: Philip Tzou Date: Sun, 31 Oct 2010 15:12:34 +0000 (+0000) Subject: Followup r75719. Typo. X-Git-Tag: 1.31.0-rc.0~34191 X-Git-Url: https://git.cyclocoop.org//%22?a=commitdiff_plain;h=346a0afa832090e00fe4746cfd44258634896127;p=lhc%2Fweb%2Fwiklou.git Followup r75719. Typo. --- diff --git a/includes/Skin.php b/includes/Skin.php index a70f863a00..f31fc9b07e 100644 --- a/includes/Skin.php +++ b/includes/Skin.php @@ -299,7 +299,7 @@ class Skin extends Linker { } } - if ( !$wgDisableLangConversion && !$wgCanonicalLanguageLinks + if ( !$wgDisableLangConversion && $wgCanonicalLanguageLinks && $wgContLang->hasVariants() ) { $urlvar = $wgContLang->getURLVariant();