r91070 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r91069‎ | r91070 | r91071 >
Date:13:23, 29 June 2011
Author:platonides
Status:ok
Tags:
Comment:
$wgContLang no longer used here
Modified paths:
  • /trunk/phase3/includes/parser/Parser.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/parser/Parser.php
@@ -667,7 +667,7 @@
668668 * @return Language
669669 */
670670 function getFunctionLang() {
671 - global $wgLang, $wgContLang;
 671+ global $wgLang;
672672
673673 $target = $this->mOptions->getTargetLanguage();
674674 if ( $target !== null ) {
@@ -3875,7 +3875,7 @@
38763876 * @private
38773877 */
38783878 function formatHeadings( $text, $origText, $isMain=true ) {
3879 - global $wgMaxTocLevel, $wgContLang, $wgHtml5, $wgExperimentalHtmlIds;
 3879+ global $wgMaxTocLevel, $wgHtml5, $wgExperimentalHtmlIds;
38803880
38813881 # Inhibit editsection links if requested in the page
38823882 if ( isset( $this->mDoubleUnderscores['noeditsection'] ) ) {

Status & tagging log