r85100 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r85099‎ | r85100 | r85101 >
Date:23:23, 31 March 2011
Author:purodha
Status:ok
Tags:
Comment:
Modified paths:
  • /trunk/phase3/includes/specials/SpecialUserrights.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/specials/SpecialUserrights.php
@@ -431,12 +431,12 @@
432432 $grouplist = '';
433433 $count = count( $list );
434434 if( $count > 0 ) {
435 - $grouplist = wfMsgHtml( 'userrights-groupsmember', $count);
 435+ $grouplist = wfMessage( 'userrights-groupsmember', $count)->parse();
436436 $grouplist = '<p>' . $grouplist . ' ' . $wgLang->listToText( $list ) . "</p>\n";
437437 }
438438 $count = count( $autolist );
439439 if( $count > 0 ) {
440 - $autogrouplistintro = wfMsgHtml( 'userrights-groupsmember-auto', $count);
 440+ $autogrouplistintro = wfMessage( 'userrights-groupsmember-auto', $count)->parse();
441441 $grouplist .= '<p>' . $autogrouplistintro . ' ' . $wgLang->listToText( $autolist ) . "</p>\n";
442442 }
443443 $wgOut->addHTML(

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r85007Add optional parameter $1 for PLURAL use to messages userrights-groupsmember ...purodha13:52, 30 March 2011

Status & tagging log