From 66f193da79b2bc1bb3b93f8900cc19619f514553 Mon Sep 17 00:00:00 2001 From: Platonides Date: Wed, 29 Jun 2011 13:23:51 +0000 Subject: [PATCH] $wgContLang no longer used here --- includes/parser/Parser.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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'] ) ) { -- 2.20.1