Fix fatal in r82258
authorRoan Kattouw <catrope@users.mediawiki.org>
Wed, 16 Feb 2011 17:31:53 +0000 (17:31 +0000)
committerRoan Kattouw <catrope@users.mediawiki.org>
Wed, 16 Feb 2011 17:31:53 +0000 (17:31 +0000)
includes/Skin.php

index 0d9380a..70eef48 100644 (file)
@@ -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();