Index: trunk/extensions/FlaggedRevs/specialpages/UnreviewedPages_body.php |
— | — | @@ -100,7 +100,7 @@ |
101 | 101 | if ( !is_null( $size = $row->page_len ) ) { |
102 | 102 | $stxt = ( $size == 0 ) |
103 | 103 | ? wfMsgHtml( 'historyempty' ) |
104 | | - : wfMsgExt( 'historysize', array( 'parsemag' ), $wgLang->formatNum( $size ) ); |
| 104 | + : wfMsgExt( 'historysize', 'parsemag', $wgLang->formatNum( $size ) ); |
105 | 105 | $stxt = " <small>$stxt</small>"; |
106 | 106 | } |
107 | 107 | # Get how long the first unreviewed edit has been waiting... |
— | — | @@ -110,12 +110,12 @@ |
111 | 111 | $hours = ( $currentTime - $firstPendingTime ) / 3600; |
112 | 112 | // After three days, just use days |
113 | 113 | if ( $hours > ( 3 * 24 ) ) { |
114 | | - $days = $wgLang->formatNum( round( $hours / 24, 0 ) ); |
115 | | - $age = ' ' . wfMsgExt( 'unreviewed-days', array( 'parsemag' ), $wgLang->formatNum( $days ) ); |
| 114 | + $days = round( $hours / 24, 0 ); |
| 115 | + $age = ' ' . wfMsgExt( 'unreviewed-days', 'parsemag', $wgLang->formatNum( $days ) ); |
116 | 116 | // If one or more hours, use hours |
117 | 117 | } elseif ( $hours >= 1 ) { |
118 | | - $hours = $wgLang->formatNum( round( $hours, 0 ) ); |
119 | | - $age = ' ' . wfMsgExt( 'unreviewed-hours', array( 'parsemag' ), $wgLang->formatNum( $hours ) ); |
| 118 | + $hours = round( $hours, 0 ); |
| 119 | + $age = ' ' . wfMsgExt( 'unreviewed-hours', 'parsemag', $wgLang->formatNum( $hours ) ); |
120 | 120 | } else { |
121 | 121 | $age = ' ' . wfMsg( 'unreviewed-recent' ); // hot off the press :) |
122 | 122 | } |