r84390 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r84389‎ | r84390 | r84391 >
Date:15:38, 20 March 2011
Author:aaron
Status:ok
Tags:
Comment:
Replaced "array( 'parsemag' )" with "'parsemag'" in some cases
Modified paths:
  • /trunk/extensions/FlaggedRevs/specialpages/ProblemChanges_body.php (modified) (history)
  • /trunk/extensions/FlaggedRevs/specialpages/ReviewedPages_body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/FlaggedRevs/specialpages/ProblemChanges_body.php
@@ -214,11 +214,11 @@
215215 // After three days, just use days
216216 if ( $hours > ( 3 * 24 ) ) {
217217 $days = round( $hours / 24, 0 );
218 - $age = wfMsgExt( 'pendingchanges-days', array( 'parsemag' ), $wgLang->formatNum( $days ) );
 218+ $age = wfMsgExt( 'pendingchanges-days', 'parsemag', $wgLang->formatNum( $days ) );
219219 // If one or more hours, use hours
220220 } elseif ( $hours >= 1 ) {
221221 $hours = round( $hours, 0 );
222 - $age = wfMsgExt( 'pendingchanges-hours', array( 'parsemag' ), $wgLang->formatNum( $hours ) );
 222+ $age = wfMsgExt( 'pendingchanges-hours', 'parsemag', $wgLang->formatNum( $hours ) );
223223 } else {
224224 $age = wfMsg( 'pendingchanges-recent' ); // hot off the press :)
225225 }
Index: trunk/extensions/FlaggedRevs/specialpages/ReviewedPages_body.php
@@ -92,7 +92,7 @@
9393 if ( $size == 0 )
9494 $stxt = ' <small>' . wfMsgHtml( 'historyempty' ) . '</small>';
9595 else
96 - $stxt = ' <small>' . wfMsgExt( 'historysize', array( 'parsemag' ),
 96+ $stxt = ' <small>' . wfMsgExt( 'historysize', 'parsemag',
9797 $wgLang->formatNum( $size ) ) . '</small>';
9898 }
9999

Status & tagging log