r82263 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r82262‎ | r82263 | r82264 >
Date:17:31, 16 February 2011
Author:catrope
Status:ok
Tags:
Comment:
Fix fatal in r82258
Modified paths:
  • /trunk/phase3/includes/Skin.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Skin.php
@@ -480,7 +480,7 @@
481481 * You will only be adding bloat to the page and causing page caches to have to be purged on configuration changes.
482482 */
483483 static function makeGlobalVariablesScript( $skinName ) {
484 - global $wgTitle, $wgUser, $wgRequest, $wgOut, $wgUseAjax, $wgEnableMWSuggest;
 484+ global $wgTitle, $wgUser, $wgRequest, $wgOut, $wgUseAjax, $wgEnableMWSuggest, $wgContLang;
485485
486486 $ns = $wgTitle->getNamespace();
487487 $nsname = MWNamespace::exists( $ns ) ? MWNamespace::getCanonicalName( $ns ) : $wgTitle->getNsText();

Follow-up revisions

RevisionCommit summaryAuthorDate
r822641.17wmf1: MFT r82263catrope17:33, 16 February 2011

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r82258Per Philip Tzou, move wgUserVariant from the set of config variables to the s...catrope17:06, 16 February 2011

Status & tagging log