Index: trunk/extensions/FlaggedRevs/specialpages/ValidationStatistics_body.php |
— | — | @@ -50,15 +50,15 @@ |
51 | 51 | |
52 | 52 | $percRev = intval( $row->total ) == 0 |
53 | 53 | ? '-' // devision by zero |
54 | | - : $wgLang->formatnum( wfMsg( 'validationstatistics-nbr', |
55 | | - sprintf( '%4.2f', 100 * intval( $row->reviewed ) / intval( $row->total ) ) ) ); |
| 54 | + : $wgLang->formatnum( wfMsgExt( 'validationstatistics-nbr', array( 'escapenoentities' ), |
| 55 | + sprintf( '%4.2f', 100 * intval( $row->reviewed ) / intval( $row->total ) ) ) ); |
56 | 56 | $percLatest = intval( $row->total ) == 0 |
57 | 57 | ? '-' // devision by zero |
58 | | - : $wgLang->formatnum( wfMsg( 'validationstatistics-nbr', |
| 58 | + : $wgLang->formatnum( wfMsgExt( 'validationstatistics-nbr', array( 'escapenoentities' ), |
59 | 59 | sprintf( '%4.2f', 100 * intval( $row->synced ) / intval( $row->total ) ) ) ); |
60 | 60 | $percSynced = intval( $row->reviewed ) == 0 |
61 | 61 | ? '-' // devision by zero |
62 | | - : $wgLang->formatnum( wfMsg( 'validationstatistics-nbr', |
| 62 | + : $wgLang->formatnum( wfMsgExt( 'validationstatistics-nbr', array( 'escapenoentities' ), |
63 | 63 | sprintf( '%4.2f', 100 * intval( $row->synced ) / intval( $row->reviewed ) ) ) ); |
64 | 64 | $outdated = intval( $row->reviewed ) - intval( $row->synced ); |
65 | 65 | $outdated = $wgLang->formatnum( max( 0, $outdated ) ); // lag between queries |
— | — | @@ -78,7 +78,7 @@ |
79 | 79 | htmlspecialchars( $wgLang->formatnum( $row->synced ) . $wgContLang->getDirMark() ) . " <i>($percLatest)</i> |
80 | 80 | </td> |
81 | 81 | <td>" . |
82 | | - htmlspecialchars( $percSynced ) . |
| 82 | + $percSynced . |
83 | 83 | "</td> |
84 | 84 | <td>" . |
85 | 85 | |