r113004 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r113003‎ | r113004 | r113005 >
Date:08:34, 5 March 2012
Author:nikerabbit
Status:ok
Tags:
Comment:
Ping r113002 - addWikiMsg is your friend
Modified paths:
  • /trunk/extensions/Translate/specials/SpecialMessageGroupStats.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/specials/SpecialMessageGroupStats.php
@@ -55,8 +55,8 @@
5656 global $wgRequest, $wgOut;
5757 $group = $wgRequest->getVal( 'group' );
5858 $priorityLangs = TranslateMetadata::get( $group, 'prioritylangs' );
59 - if( $priorityLangs ){
60 - $wgOut->addHTML( wfMsg('tpt-priority-languages', $priorityLangs ) );
 59+ if ( $priorityLangs ) {
 60+ $wgOut->addWikiMsg( 'tpt-priority-languages', $priorityLangs );
6161 }
6262 }
6363

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r113002Add a message in Special:MessageGroupStats if the group has priority languages.santhosh06:28, 5 March 2012

Status & tagging log