Index: trunk/phase3/includes/specials/SpecialTags.php |
— | — | @@ -13,10 +13,10 @@ |
14 | 14 | global $wgOut, $wgUser, $wgMessageCache; |
15 | 15 | |
16 | 16 | $wgMessageCache->loadAllMessages(); |
17 | | - |
| 17 | + |
18 | 18 | $sk = $wgUser->getSkin(); |
19 | 19 | $wgOut->setPageTitle( wfMsg( 'tags-title' ) ); |
20 | | - $wgOut->addWikiMsg( 'tags-intro' ); |
| 20 | + $wgOut->wrapWikiMsg( "<div class='mw-tags-intro'>\n$1</div>", 'tags-intro' ); |
21 | 21 | |
22 | 22 | // Write the headers |
23 | 23 | $html = ''; |
— | — | @@ -36,9 +36,7 @@ |
37 | 37 | $html .= $this->doTagRow( $tag, 0 ); |
38 | 38 | } |
39 | 39 | |
40 | | - $html = "<table style='width: 80%'><tbody>$html</tbody></table>"; |
41 | | - |
42 | | - $wgOut->addHTML( $html ); |
| 40 | + $wgOut->addHTML( Xml::tags( 'table', array( 'style' => 'width: 80%', 'class' => 'mw-tags-table' ), $html ) ); |
43 | 41 | } |
44 | 42 | |
45 | 43 | function doTagRow( $tag, $hitcount ) { |