From: Roan Kattouw Date: Wed, 16 Feb 2011 17:31:53 +0000 (+0000) Subject: Fix fatal in r82258 X-Git-Tag: 1.31.0-rc.0~31971 X-Git-Url: http://git.cyclocoop.org/fichier?a=commitdiff_plain;h=e2dc92dcbcf84fe04b4e2ee916313c47ba292723;p=lhc%2Fweb%2Fwiklou.git Fix fatal in r82258 --- diff --git a/includes/Skin.php b/includes/Skin.php index 0d9380a7e4..70eef48e7e 100644 --- a/includes/Skin.php +++ b/includes/Skin.php @@ -480,7 +480,7 @@ abstract class Skin extends Linker { * You will only be adding bloat to the page and causing page caches to have to be purged on configuration changes. */ static function makeGlobalVariablesScript( $skinName ) { - global $wgTitle, $wgUser, $wgRequest, $wgOut, $wgUseAjax, $wgEnableMWSuggest; + global $wgTitle, $wgUser, $wgRequest, $wgOut, $wgUseAjax, $wgEnableMWSuggest, $wgContLang; $ns = $wgTitle->getNamespace(); $nsname = MWNamespace::exists( $ns ) ? MWNamespace::getCanonicalName( $ns ) : $wgTitle->getNsText();