r72563 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r72562‎ | r72563 | r72564 >
Date:22:42, 7 September 2010
Author:kaldari
Status:ok (Comments)
Tags:
Comment:
Actually, I'm going to change this back since I don't have a good reason to mess with it :)
Modified paths:
  • /trunk/extensions/CentralNotice/BannerLoader.php (modified) (history)

Diff [purge]

Index: trunk/extensions/CentralNotice/BannerLoader.php
@@ -128,7 +128,7 @@
129129 $oldLang = $wgLang;
130130
131131 $wgLang = Language::factory( $this->language ); // hack for {{int:...}}
132 - $out = wfMessage( $msg )->inLanguage( $this->language )->text();
 132+ $out = wfMsgExt( $msg, array( 'language' => $this->language, 'parsemag' ) );
133133
134134 // Restore global
135135 $wgLang = $oldLang;

Comments

#Comment by Catrope (talk | contribs)   18:07, 8 September 2010

Also note that this would've broken if deployed on Wikimedia because Message.php has not been deployed yet.

Status & tagging log