Index: trunk/phase3/includes/SpecialMostcategories.php |
— | — | @@ -40,16 +40,19 @@ |
41 | 41 | } |
42 | 42 | |
43 | 43 | function formatResult( $skin, $result ) { |
44 | | - global $wgContLang; |
| 44 | + global $wgContLang, $wgLang; |
45 | 45 | |
46 | 46 | $nt = Title::makeTitle( $result->namespace, $result->title ); |
47 | 47 | $text = $wgContLang->convert( $nt->getPrefixedText() ); |
48 | 48 | |
49 | 49 | $plink = $skin->makeKnownLink( $nt->getPrefixedText(), $text ); |
50 | 50 | |
51 | | - $nl = wfMsg( 'ncategories', $result->value ); |
52 | | - $nlink = $skin->makeKnownLink( $wgContLang->specialPage( 'Categories' ), $nl, 'article=' . $nt->getPrefixedURL() ); |
| 51 | + $nl = wfMsgExt( 'ncategories', array( 'parsemag', 'escape' ), |
| 52 | + $wgLang->formatNum( $result->value ) ); |
53 | 53 | |
| 54 | + $nlink = $skin->makeKnownLink( $wgContLang->specialPage( 'Categories' ), |
| 55 | + $nl, 'article=' . $nt->getPrefixedURL() ); |
| 56 | + |
54 | 57 | return wfSpecialList($plink, $nlink); |
55 | 58 | } |
56 | 59 | } |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -212,7 +212,7 @@ |
213 | 213 | Special:Wantedcategories and Special:Mostlinkedcategories. |
214 | 214 | * (bug 3309) Allow comments when undeleting pages |
215 | 215 | * Clean up Special:Undelete a bit |
216 | | -* (bug 5805) message nbytes can now use {{plural:}} |
| 216 | +* (bug 5805) messages nbytes, ncategories can now use {{plural:}} |
217 | 217 | * Clean up Special:Imagelist a bit |
218 | 218 | * (bug 5838) Namespace names for Nds-NL |
219 | 219 | * (bug 5749) Added Tyvan language files |