Index: trunk/phase3/includes/parser/Parser.php |
— | — | @@ -667,7 +667,7 @@ |
668 | 668 | * @return Language |
669 | 669 | */ |
670 | 670 | function getFunctionLang() { |
671 | | - global $wgLang, $wgContLang; |
| 671 | + global $wgLang; |
672 | 672 | |
673 | 673 | $target = $this->mOptions->getTargetLanguage(); |
674 | 674 | if ( $target !== null ) { |
— | — | @@ -3875,7 +3875,7 @@ |
3876 | 3876 | * @private |
3877 | 3877 | */ |
3878 | 3878 | function formatHeadings( $text, $origText, $isMain=true ) { |
3879 | | - global $wgMaxTocLevel, $wgContLang, $wgHtml5, $wgExperimentalHtmlIds; |
| 3879 | + global $wgMaxTocLevel, $wgHtml5, $wgExperimentalHtmlIds; |
3880 | 3880 | |
3881 | 3881 | # Inhibit editsection links if requested in the page |
3882 | 3882 | if ( isset( $this->mDoubleUnderscores['noeditsection'] ) ) { |