r40970 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r40969‎ | r40970 | r40971 >
Date:01:43, 18 September 2008
Author:demon
Status:old
Tags:
Comment:
*facepalm* Helps to actually parse the msg...
Modified paths:
  • /trunk/extensions/WhiteList/SpecialWhitelistEdit_body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/WhiteList/SpecialWhitelistEdit_body.php
@@ -606,7 +606,7 @@
607607 $wgOut->addHtml('<div class="NavFrame" style="padding:0px;border-style:none;">');
608608 $wgOut->addHtml('<div class="NavHead" style="background: #ffffff; text-align: left; font-size:100%;">');
609609 # this is a hack to make the [show]/[hide] always appear after the text
610 - $wgOut->addWikiText("$headertext" . wfMsg('whitelistnummatches', $num_matches) . "&nbsp;<font color='#ffffff'>[show]</font>&nbsp;</div>");
 610+ $wgOut->addWikiText("$headertext" . wfMsgExt('whitelistnummatches', array( 'parsemag' ), array( $num_matches ) ) . "&nbsp;<font color='#ffffff'>[show]</font>&nbsp;</div>");
611611 $wgOut->addHtml('<div class="NavContent" style="display:none; font-size:normal; text-align:left">');
612612
613613 foreach ($wildcard_match as $pageid)

Status & tagging log