$wgContLang no longer used here
authorPlatonides <platonides@users.mediawiki.org>
Wed, 29 Jun 2011 13:23:51 +0000 (13:23 +0000)
committerPlatonides <platonides@users.mediawiki.org>
Wed, 29 Jun 2011 13:23:51 +0000 (13:23 +0000)
includes/parser/Parser.php

index a2d2945..39637bf 100644 (file)
@@ -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'] ) ) {