Index: trunk/extensions/FlaggedRevs/specialpages/UnreviewedPages_body.php |
— | — | @@ -111,18 +111,18 @@ |
112 | 112 | // After three days, just use days |
113 | 113 | if ( $hours > ( 3 * 24 ) ) { |
114 | 114 | $days = round( $hours / 24, 0 ); |
115 | | - $age = ' ' . wfMsgExt( 'unreviewed-days', array( 'parsemag' ), $days ); |
| 115 | + $age = ' ' . wfMsgExt( 'unreviewed-days', array( 'parsemag' ), $wgLang->formatNum( $days ) ); |
116 | 116 | // If one or more hours, use hours |
117 | 117 | } elseif ( $hours >= 1 ) { |
118 | 118 | $hours = round( $hours, 0 ); |
119 | | - $age = ' ' . wfMsgExt( 'unreviewed-hours', array( 'parsemag' ), $hours ); |
| 119 | + $age = ' ' . wfMsgExt( 'unreviewed-hours', array( 'parsemag' ), $wgLang->formatNum( $hours ) ); |
120 | 120 | } else { |
121 | 121 | $age = ' ' . wfMsg( 'unreviewed-recent' ); // hot off the press :) |
122 | 122 | } |
123 | 123 | if ( $wgUser->isAllowed( 'unwatchedpages' ) ) { |
124 | 124 | $uw = self::usersWatching( $title ); |
125 | 125 | $watching = $uw |
126 | | - ? wfMsgExt( 'unreviewed-watched', array( 'parsemag' ), $uw ) |
| 126 | + ? wfMsgExt( 'unreviewed-watched', array( 'parsemag' ), $wgLang->formatNum( $uw ) ) |
127 | 127 | : wfMsgHtml( 'unreviewed-unwatched' ); |
128 | 128 | $watching = " $watching"; // Oh-noes! |
129 | 129 | } else { |
Index: trunk/extensions/FlaggedRevs/specialpages/OldReviewedPages_body.php |
— | — | @@ -96,7 +96,7 @@ |
97 | 97 | $wgOut->addHTML( $form ); |
98 | 98 | # Add list output |
99 | 99 | $num = $pager->getNumRows(); |
100 | | - $wgOut->addHTML( wfMsgExt( 'oldreviewedpages-list', array( 'parse' ), $num ) ); |
| 100 | + $wgOut->addHTML( wfMsgExt( 'oldreviewedpages-list', array( 'parse' ), $wgLang->formatNum( $num ) ) ); |
101 | 101 | if ( $num ) { |
102 | 102 | $wgOut->addHTML( $pager->getNavigationBar() ); |
103 | 103 | $wgOut->addHTML( $pager->getBody() ); |
— | — | @@ -221,7 +221,7 @@ |
222 | 222 | if ( !$this->including() && $wgUser->isAllowed( 'unreviewedpages' ) ) { |
223 | 223 | $uw = UnreviewedPages::usersWatching( $title ); |
224 | 224 | $watching = $uw |
225 | | - ? wfMsgExt( 'oldreviewedpages-watched', 'parsemag', $uw ) |
| 225 | + ? wfMsgExt( 'oldreviewedpages-watched', 'parsemag', $wgLang->formatNum( $uw ) ) |
226 | 226 | : wfMsgHtml( 'oldreviewedpages-unwatched' ); |
227 | 227 | $watching = " {$watching}"; |
228 | 228 | } else { |
— | — | @@ -237,11 +237,11 @@ |
238 | 238 | // After three days, just use days |
239 | 239 | if ( $hours > ( 3 * 24 ) ) { |
240 | 240 | $days = round( $hours / 24, 0 ); |
241 | | - $age = wfMsgExt( 'oldreviewedpages-days', array( 'parsemag' ), $days ); |
| 241 | + $age = wfMsgExt( 'oldreviewedpages-days', array( 'parsemag' ), $wgLang->formatNum( $days ) ); |
242 | 242 | // If one or more hours, use hours |
243 | 243 | } elseif ( $hours >= 1 ) { |
244 | 244 | $hours = round( $hours, 0 ); |
245 | | - $age = wfMsgExt( 'oldreviewedpages-hours', array( 'parsemag' ), $hours ); |
| 245 | + $age = wfMsgExt( 'oldreviewedpages-hours', array( 'parsemag' ), $wgLang->formatNum( $hours ) ); |
246 | 246 | } else { |
247 | 247 | $age = wfMsg( 'oldreviewedpages-recent' ); // hot off the press :) |
248 | 248 | } |
Index: trunk/extensions/FlaggedRevs/specialpages/ProblemChanges_body.php |
— | — | @@ -197,7 +197,7 @@ |
198 | 198 | if ( !$this->including() && $wgUser->isAllowed( 'unreviewedpages' ) ) { |
199 | 199 | $uw = UnreviewedPages::usersWatching( $title ); |
200 | 200 | $watching = $uw |
201 | | - ? wfMsgExt( 'oldreviewedpages-watched', 'parsemag', $uw ) |
| 201 | + ? wfMsgExt( 'oldreviewedpages-watched', 'parsemag', $wgLang->formatNum( $uw ) ) |
202 | 202 | : wfMsgHtml( 'oldreviewedpages-unwatched' ); |
203 | 203 | $watching = " {$watching}"; |
204 | 204 | } else { |
— | — | @@ -213,11 +213,11 @@ |
214 | 214 | // After three days, just use days |
215 | 215 | if ( $hours > ( 3 * 24 ) ) { |
216 | 216 | $days = round( $hours / 24, 0 ); |
217 | | - $age = wfMsgExt( 'oldreviewedpages-days', array( 'parsemag' ), $days ); |
| 217 | + $age = wfMsgExt( 'oldreviewedpages-days', array( 'parsemag' ), $wgLang->formatNum( $days ) ); |
218 | 218 | // If one or more hours, use hours |
219 | 219 | } elseif ( $hours >= 1 ) { |
220 | 220 | $hours = round( $hours, 0 ); |
221 | | - $age = wfMsgExt( 'oldreviewedpages-hours', array( 'parsemag' ), $hours ); |
| 221 | + $age = wfMsgExt( 'oldreviewedpages-hours', array( 'parsemag' ), $wgLang->formatNum( $hours ) ); |
222 | 222 | } else { |
223 | 223 | $age = wfMsg( 'oldreviewedpages-recent' ); // hot off the press :) |
224 | 224 | } |
Index: trunk/extensions/FlaggedRevs/specialpages/ReviewedPages_body.php |
— | — | @@ -71,7 +71,7 @@ |
72 | 72 | if ( $num ) { |
73 | 73 | // Text to explain level select (if there are several levels) |
74 | 74 | if ( FlaggedRevs::qualityVersions() ) { |
75 | | - $wgOut->addHTML( wfMsgExt( 'reviewedpages-list', array( 'parse' ), $num ) ); |
| 75 | + $wgOut->addHTML( wfMsgExt( 'reviewedpages-list', array( 'parse' ), $wgLang->formatNum( $num ) ) ); |
76 | 76 | } |
77 | 77 | $wgOut->addHTML( $pager->getNavigationBar() ); |
78 | 78 | $wgOut->addHTML( $pager->getBody() ); |