From: Platonides Date: Wed, 29 Jun 2011 13:23:51 +0000 (+0000) Subject: $wgContLang no longer used here X-Git-Tag: 1.31.0-rc.0~29199 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/bilan.php?a=commitdiff_plain;h=66f193da79b2bc1bb3b93f8900cc19619f514553;p=lhc%2Fweb%2Fwiklou.git $wgContLang no longer used here --- diff --git a/includes/parser/Parser.php b/includes/parser/Parser.php index a2d294580d..39637bf246 100644 --- a/includes/parser/Parser.php +++ b/includes/parser/Parser.php @@ -667,7 +667,7 @@ class Parser { * @return Language */ function getFunctionLang() { - global $wgLang, $wgContLang; + global $wgLang; $target = $this->mOptions->getTargetLanguage(); if ( $target !== null ) { @@ -3875,7 +3875,7 @@ class Parser { * @private */ function formatHeadings( $text, $origText, $isMain=true ) { - global $wgMaxTocLevel, $wgContLang, $wgHtml5, $wgExperimentalHtmlIds; + global $wgMaxTocLevel, $wgHtml5, $wgExperimentalHtmlIds; # Inhibit editsection links if requested in the page if ( isset( $this->mDoubleUnderscores['noeditsection'] ) ) {