Index: trunk/phase3/includes/specials/SpecialTags.php |
— | — | @@ -49,20 +49,22 @@ |
50 | 50 | if ( in_array( $tag, $doneTags ) ) { |
51 | 51 | return ''; |
52 | 52 | } |
| 53 | + |
| 54 | + global $wgLang; |
53 | 55 | |
54 | 56 | $newRow = ''; |
55 | 57 | $newRow .= Xml::tags( 'td', null, Xml::element( 'tt', null, $tag ) ); |
56 | 58 | |
57 | 59 | $disp = ChangeTags::tagDescription( $tag ); |
58 | | - $disp .= ' (' . $sk->link( Title::makeTitle( NS_MEDIAWIKI, "Tag-$tag" ), wfMsg( 'tags-edit' ) ) . ')'; |
| 60 | + $disp .= ' (' . $sk->link( Title::makeTitle( NS_MEDIAWIKI, "Tag-$tag" ), wfMsgHtml( 'tags-edit' ) ) . ')'; |
59 | 61 | $newRow .= Xml::tags( 'td', null, $disp ); |
60 | 62 | |
61 | 63 | $desc = wfMsgExt( "tag-$tag-description", 'parseinline' ); |
62 | 64 | $desc = wfEmptyMsg( "tag-$tag-description", $desc ) ? '' : $desc; |
63 | | - $desc .= ' (' . $sk->link( Title::makeTitle( NS_MEDIAWIKI, "Tag-$tag-description" ), wfMsg( 'tags-edit' ) ) . ')'; |
| 65 | + $desc .= ' (' . $sk->link( Title::makeTitle( NS_MEDIAWIKI, "Tag-$tag-description" ), wfMsgHtml( 'tags-edit' ) ) . ')'; |
64 | 66 | $newRow .= Xml::tags( 'td', null, $desc ); |
65 | 67 | |
66 | | - $hitcount = wfMsgExt( 'tags-hitcount', array( 'parsemag' ), $hitcount ); |
| 68 | + $hitcount = wfMsgExt( 'tags-hitcount', array( 'parsemag' ), $wgLang->formatNum( $hitcount ) ); |
67 | 69 | $hitcount = $sk->link( SpecialPage::getTitleFor( 'Recentchanges' ), $hitcount, array(), array( 'tagfilter' => $tag ) ); |
68 | 70 | $newRow .= Xml::tags( 'td', null, $hitcount ); |
69 | 71 | |