r43962 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r43961‎ | r43962 | r43963 >
Date:02:01, 26 November 2008
Author:brion
Status:ok
Tags:
Comment:
fix sitenotice/lang overrides
Modified paths:
  • /trunk/extensions/CentralNotice/SpecialNoticeText.php (modified) (history)

Diff [purge]

Index: trunk/extensions/CentralNotice/SpecialNoticeText.php
@@ -163,8 +163,8 @@
164164 $old['wgSitename'] = $GLOBALS['wgSitename'];
165165 $old['wgLang'] = $GLOBALS['wgLang'];
166166
167 - $wgSitename = $this->projectName();
168 - $wgLang = Language::factory( $this->language ); // hack for {{int:...}}
 167+ $GLOBALS['wgSitename'] = $this->projectName();
 168+ $GLOBALS['wgLang'] = Language::factory( $this->language ); // hack for {{int:...}}
169169
170170 $options = array(
171171 'language' => $this->language,

Status & tagging log