Index: trunk/extensions/FlaggedRevs/specialpages/ValidationStatistics_body.php |
— | — | @@ -31,15 +31,14 @@ |
32 | 32 | } |
33 | 33 | |
34 | 34 | $wgOut->addWikiText( wfMsg('validationstatistics-table') ); |
35 | | - $wgOut->addHTML( Xml::openElement( 'table', array( 'class' => 'wikitable flaggedrevs_stats_table' ) ) . |
36 | | - "<tr>\n" |
37 | | - ); |
| 35 | + $wgOut->addHTML( Xml::openElement( 'table', array( 'class' => 'wikitable flaggedrevs_stats_table' ) ) ); |
| 36 | + $wgOut->addHTML( "<tr>\n" ); |
38 | 37 | // Headings (for a positive grep result): |
39 | 38 | // validationstatistics-ns, validationstatistics-total, validationstatistics-stable, |
40 | 39 | // validationstatistics-latest, validationstatistics-synced, validationstatistics-old |
41 | 40 | $msgs = array( 'ns', 'total', 'stable', 'latest', 'synced', 'old' ); // our headings |
42 | 41 | foreach( $msgs as $msg ) { |
43 | | - $wgOut->addHTML( Xml::element( 'th', null, wfMsg( "validationstatistics-$msg" ) ) ); |
| 42 | + $wgOut->addHTML( '<tr>' . wfMsgExt("validationstatistics-$msg",array('parseinline')) . '</tr>' ); |
44 | 43 | } |
45 | 44 | $wgOut->addHTML( "</tr>\n" ); |
46 | 45 | |