Index: trunk/extensions/FlaggedRevs/specialpages/PendingChanges_body.php |
— | — | @@ -251,11 +251,13 @@ |
252 | 252 | // After three days, just use days |
253 | 253 | if ( $hours > ( 3 * 24 ) ) { |
254 | 254 | $days = round( $hours / 24, 0 ); |
255 | | - $age = wfMsgExt( 'pendingchanges-days', 'parsemag', $wgLang->formatNum( $days ) ); |
| 255 | + $age = wfMsgExt( 'pendingchanges-days', |
| 256 | + 'parsemag', $wgLang->formatNum( $days ) ); |
256 | 257 | // If one or more hours, use hours |
257 | 258 | } elseif ( $hours >= 1 ) { |
258 | 259 | $hours = round( $hours, 0 ); |
259 | | - $age = wfMsgExt( 'pendingchanges-hours', 'parsemag', $wgLang->formatNum( $hours ) ); |
| 260 | + $age = wfMsgExt( 'pendingchanges-hours', |
| 261 | + 'parsemag', $wgLang->formatNum( $hours ) ); |
260 | 262 | } else { |
261 | 263 | $age = wfMsg( 'pendingchanges-recent' ); // hot off the press :) |
262 | 264 | } |
Index: trunk/extensions/FlaggedRevs/specialpages/UnreviewedPages_body.php |
— | — | @@ -44,7 +44,8 @@ |
45 | 45 | protected function showForm() { |
46 | 46 | global $wgOut, $wgLang, $wgScript; |
47 | 47 | # Add explanatory text |
48 | | - $wgOut->addWikiMsg( 'unreviewedpages-list', $wgLang->formatNum( $this->pager->getNumRows() ) ); |
| 48 | + $wgOut->addWikiMsg( 'unreviewedpages-list', |
| 49 | + $wgLang->formatNum( $this->pager->getNumRows() ) ); |
49 | 50 | |
50 | 51 | # show/hide links |
51 | 52 | $showhide = array( wfMsgHtml( 'show' ), wfMsgHtml( 'hide' ) ); |
Index: trunk/extensions/FlaggedRevs/specialpages/QualityOversight_body.php |
— | — | @@ -94,8 +94,10 @@ |
95 | 95 | * @returns array |
96 | 96 | */ |
97 | 97 | private function getActions() { |
98 | | - $actions = array( 'approve' => 1, 'approve2' => 1, 'approve-a' => 1, 'approve-i' => 1, |
99 | | - 'approve-ia' => 1, 'approve2-i' => 1, 'unapprove' => 1, 'unapprove2' => 1 ); |
| 98 | + $actions = array( |
| 99 | + 'approve' => 1, 'approve2' => 1, 'approve-a' => 1, 'approve-i' => 1, |
| 100 | + 'approve-ia' => 1, 'approve2-i' => 1, 'unapprove' => 1, 'unapprove2' => 1 |
| 101 | + ); |
100 | 102 | if ( $this->level === 0 ) { // checked revisions |
101 | 103 | $actions['approve2'] = 0; |
102 | 104 | $actions['approve2-i'] = 0; |
Index: trunk/extensions/FlaggedRevs/specialpages/ValidationStatistics_body.php |
— | — | @@ -98,20 +98,23 @@ |
99 | 99 | ? '-' // devision by zero |
100 | 100 | : wfMsg( 'parentheses', |
101 | 101 | wfMsgExt( 'percent', array( 'escapenoentities' ), |
102 | | - $wgLang->formatnum( sprintf( '%4.2f', 100 * intval( $row->reviewed ) / intval( $row->total ) ) ) |
| 102 | + $wgLang->formatnum( sprintf( '%4.2f', |
| 103 | + 100 * intval( $row->reviewed ) / intval( $row->total ) ) ) |
103 | 104 | ) |
104 | 105 | ); |
105 | 106 | $percLatest = intval( $row->total ) == 0 |
106 | 107 | ? '-' // devision by zero |
107 | 108 | : wfMsg( 'parentheses', |
108 | 109 | wfMsgExt( 'percent', array( 'escapenoentities' ), |
109 | | - $wgLang->formatnum( sprintf( '%4.2f', 100 * intval( $row->synced ) / intval( $row->total ) ) ) |
| 110 | + $wgLang->formatnum( sprintf( '%4.2f', |
| 111 | + 100 * intval( $row->synced ) / intval( $row->total ) ) ) |
110 | 112 | ) |
111 | 113 | ); |
112 | 114 | $percSynced = intval( $row->reviewed ) == 0 |
113 | 115 | ? '-' // devision by zero |
114 | 116 | : wfMsgExt( 'percent', array( 'escapenoentities' ), |
115 | | - $wgLang->formatnum( sprintf( '%4.2f', 100 * intval( $row->synced ) / intval( $row->reviewed ) ) ) |
| 117 | + $wgLang->formatnum( sprintf( '%4.2f', |
| 118 | + 100 * intval( $row->synced ) / intval( $row->reviewed ) ) ) |
116 | 119 | ); |
117 | 120 | $outdated = intval( $row->reviewed ) - intval( $row->synced ); |
118 | 121 | $outdated = $wgLang->formatnum( max( 0, $outdated ) ); // lag between queries |
Index: trunk/extensions/FlaggedRevs/specialpages/ProblemChanges_body.php |
— | — | @@ -227,11 +227,13 @@ |
228 | 228 | // After three days, just use days |
229 | 229 | if ( $hours > ( 3 * 24 ) ) { |
230 | 230 | $days = round( $hours / 24, 0 ); |
231 | | - $age = wfMsgExt( 'pendingchanges-days', 'parsemag', $wgLang->formatNum( $days ) ); |
| 231 | + $age = wfMsgExt( 'pendingchanges-days', |
| 232 | + 'parsemag', $wgLang->formatNum( $days ) ); |
232 | 233 | // If one or more hours, use hours |
233 | 234 | } elseif ( $hours >= 1 ) { |
234 | 235 | $hours = round( $hours, 0 ); |
235 | | - $age = wfMsgExt( 'pendingchanges-hours', 'parsemag', $wgLang->formatNum( $hours ) ); |
| 236 | + $age = wfMsgExt( 'pendingchanges-hours', |
| 237 | + 'parsemag', $wgLang->formatNum( $hours ) ); |
236 | 238 | } else { |
237 | 239 | $age = wfMsg( 'pendingchanges-recent' ); // hot off the press :) |
238 | 240 | } |