Index: trunk/phase3/includes/SpecialMostimages.php |
— | — | @@ -45,7 +45,8 @@ |
46 | 46 | |
47 | 47 | $plink = $skin->makeKnownLink( $nt->getPrefixedText(), $text ); |
48 | 48 | |
49 | | - $nl = wfMsg( 'nlinks', $wgLang->formatNum ( $result->value ) ); |
| 49 | + $nl = wfMsgExt( 'nlinks', array( 'parsemag', 'escape'), |
| 50 | + $wgLang->formatNum ( $result->value ) ); |
50 | 51 | $nlink = $skin->makeKnownLink( $nt->getPrefixedText() . '#filelinks', $nl ); |
51 | 52 | |
52 | 53 | return wfSpecialList($plink, $nlink); |
Index: trunk/phase3/includes/SpecialMostlinked.php |
— | — | @@ -80,8 +80,9 @@ |
81 | 81 | global $wgLang; |
82 | 82 | $title = Title::makeTitleSafe( $result->namespace, $result->title ); |
83 | 83 | $link = $skin->makeLinkObj( $title ); |
84 | | - $wlh = $this->makeWlhLink( $title, wfMsgHtml( 'nlinks', |
85 | | - $wgLang->formatNum( $result->value ) ), $skin ); |
| 84 | + $wlh = $this->makeWlhLink( $title, |
| 85 | + wfMsgExt( 'nlinks', array( 'parsemag', 'escape'), |
| 86 | + $wgLang->formatNum( $result->value ) ), $skin ); |
86 | 87 | return wfSpecialList( $link, $wlh ); |
87 | 88 | } |
88 | 89 | } |
Index: trunk/phase3/includes/SpecialWantedpages.php |
— | — | @@ -92,8 +92,9 @@ |
93 | 93 | |
94 | 94 | # Make a link to "what links here" if it's required |
95 | 95 | $wlhLink = $this->nlinks |
96 | | - ? $this->makeWlhLink( $title, $skin, wfMsgHtml( 'nlinks', |
97 | | - $wgLang->formatNum( $result->value ) ) ) |
| 96 | + ? $this->makeWlhLink( $title, $skin, |
| 97 | + wfMsgExt( 'nlinks', array( 'parsemag', 'escape'), |
| 98 | + $wgLang->formatNum( $result->value ) ) ) |
98 | 99 | : null; |
99 | 100 | |
100 | 101 | return wfSpecialList($pageLink, $wlhLink); |
Index: trunk/phase3/languages/Messages.php |
— | — | @@ -946,7 +946,7 @@ |
947 | 947 | 'mostcategories' => 'Articles with the most categories', |
948 | 948 | 'mostimages' => 'Most linked to images', |
949 | 949 | 'mostrevisions' => 'Articles with the most revisions', |
950 | | -'nlinks' => '$1 links', |
| 950 | +'nlinks' => '$1 {{plural:$1|link|links}}', |
951 | 951 | 'members' => '$1 members', |
952 | 952 | 'allpages' => 'All pages', |
953 | 953 | 'prefixindex' => 'Prefix index', |