Index: trunk/extensions/FlaggedRevs/specialpages/ConfiguredPages_body.php |
— | — | @@ -28,7 +28,7 @@ |
29 | 29 | |
30 | 30 | protected function showForm() { |
31 | 31 | global $wgOut, $wgScript; |
32 | | - $wgOut->addHTML( wfMsgExt( 'configuredpages-text', array( 'parseinline' ) ) ); |
| 32 | + $wgOut->addWikiMsg( 'configuredpages-text' ); |
33 | 33 | $fields = array(); |
34 | 34 | # Namespace selector |
35 | 35 | if ( count( FlaggedRevs::getReviewNamespaces() ) > 1 ) { |
— | — | @@ -66,7 +66,7 @@ |
67 | 67 | $wgOut->addHTML( $pager->getBody() ); |
68 | 68 | $wgOut->addHTML( $pager->getNavigationBar() ); |
69 | 69 | } else { |
70 | | - $wgOut->addHTML( wfMsgExt( 'configuredpages-none', array( 'parse' ) ) ); |
| 70 | + $wgOut->addWikiMsg( 'configuredpages-none' ); |
71 | 71 | } |
72 | 72 | # Take this opportunity to purge out expired configurations |
73 | 73 | FlaggedRevs::purgeExpiredConfigurations(); |
— | — | @@ -84,7 +84,7 @@ |
85 | 85 | 'page=' . $title->getPrefixedUrl() |
86 | 86 | ); |
87 | 87 | # Show which version is the default (stable or draft) |
88 | | - if( intval( $row->fpc_override ) ) { |
| 88 | + if ( intval( $row->fpc_override ) ) { |
89 | 89 | $default = wfMsgHtml( 'configuredpages-def-stable' ); |
90 | 90 | } else { |
91 | 91 | $default = wfMsgHtml( 'configuredpages-def-draft' ); |
— | — | @@ -100,12 +100,12 @@ |
101 | 101 | } elseif( $select === FLAGGED_VIS_LATEST ) { |
102 | 102 | $type = wfMsgHtml( 'configuredpages-prec-none' ); |
103 | 103 | } |
104 | | - if( $type ) $type = "({$type})"; |
| 104 | + if ( $type ) $type = "({$type})"; |
105 | 105 | } |
106 | 106 | # Autoreview/review restriction level |
107 | 107 | $restr = ''; |
108 | | - if( $row->fpc_level != '' ) { |
109 | | - $restr = 'autoreview='.htmlspecialchars($row->fpc_level); |
| 108 | + if ( $row->fpc_level != '' ) { |
| 109 | + $restr = 'autoreview=' . htmlspecialchars( $row->fpc_level ); |
110 | 110 | $restr = "[$restr]"; |
111 | 111 | } |
112 | 112 | # When these configuration settings expire |
Index: trunk/extensions/FlaggedRevs/specialpages/ValidationStatistics_body.php |
— | — | @@ -148,7 +148,7 @@ |
149 | 149 | '</th><th>' . wfMsgHtml( 'validationstatistics-reviews' ) . '</th></tr>'; |
150 | 150 | foreach ( $data as $userId => $reviews ) { |
151 | 151 | $reviewChart .= '<tr><td>' . htmlspecialchars( User::whois( $userId ) ) . |
152 | | - '</td><td>' . intval( $reviews ) . '</td></tr>'; |
| 152 | + '</td><td>' . $wgLang->formatNum( $reviews ) . '</td></tr>'; |
153 | 153 | } |
154 | 154 | $reviewChart .= "</table>\n"; |
155 | 155 | $wgOut->addHTML( $reviewChart ); |