Special:Wantedcategories and Special:Mostlinkedcategories.
* (bug 3309) Allow comments when undeleting pages
* Clean up Special:Undelete a bit
-* (bug 5805) message nbytes can now use {{plural:}}
+* (bug 5805) messages nbytes, ncategories can now use {{plural:}}
* Clean up Special:Imagelist a bit
* (bug 5838) Namespace names for Nds-NL
* (bug 5749) Added Tyvan language files
}
function formatResult( $skin, $result ) {
- global $wgContLang;
+ global $wgContLang, $wgLang;
$nt = Title::makeTitle( $result->namespace, $result->title );
$text = $wgContLang->convert( $nt->getPrefixedText() );
$plink = $skin->makeKnownLink( $nt->getPrefixedText(), $text );
- $nl = wfMsg( 'ncategories', $result->value );
- $nlink = $skin->makeKnownLink( $wgContLang->specialPage( 'Categories' ), $nl, 'article=' . $nt->getPrefixedURL() );
+ $nl = wfMsgExt( 'ncategories', array( 'parsemag', 'escape' ),
+ $wgLang->formatNum( $result->value ) );
+
+ $nlink = $skin->makeKnownLink( $wgContLang->specialPage( 'Categories' ),
+ $nl, 'article=' . $nt->getPrefixedURL() );
return wfSpecialList($plink, $nlink);
}