$plink = $skin->makeKnownLink( $nt->getPrefixedText(), $text );
- $nl = wfMsg( 'nlinks', $wgLang->formatNum ( $result->value ) );
+ $nl = wfMsgExt( 'nlinks', array( 'parsemag', 'escape'),
+ $wgLang->formatNum ( $result->value ) );
$nlink = $skin->makeKnownLink( $nt->getPrefixedText() . '#filelinks', $nl );
return wfSpecialList($plink, $nlink);
global $wgLang;
$title = Title::makeTitleSafe( $result->namespace, $result->title );
$link = $skin->makeLinkObj( $title );
- $wlh = $this->makeWlhLink( $title, wfMsgHtml( 'nlinks',
- $wgLang->formatNum( $result->value ) ), $skin );
+ $wlh = $this->makeWlhLink( $title,
+ wfMsgExt( 'nlinks', array( 'parsemag', 'escape'),
+ $wgLang->formatNum( $result->value ) ), $skin );
return wfSpecialList( $link, $wlh );
}
}
# Make a link to "what links here" if it's required
$wlhLink = $this->nlinks
- ? $this->makeWlhLink( $title, $skin, wfMsgHtml( 'nlinks',
- $wgLang->formatNum( $result->value ) ) )
+ ? $this->makeWlhLink( $title, $skin,
+ wfMsgExt( 'nlinks', array( 'parsemag', 'escape'),
+ $wgLang->formatNum( $result->value ) ) )
: null;
return wfSpecialList($pageLink, $wlhLink);
'mostcategories' => 'Articles with the most categories',
'mostimages' => 'Most linked to images',
'mostrevisions' => 'Articles with the most revisions',
-'nlinks' => '$1 links',
+'nlinks' => '$1 {{plural:$1|link|links}}',
'members' => '$1 members',
'allpages' => 'All pages',
'prefixindex' => 'Prefix index',