r50863 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r50862‎ | r50863 | r50864 >
Date:17:52, 21 May 2009
Author:siebrand
Status:ok
Tags:
Comment:
(bug 13456) categoriespagetext supports PLURAL
Modified paths:
  • /trunk/phase3/RELEASE-NOTES (modified) (history)
  • /trunk/phase3/includes/specials/SpecialCategories.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesEn.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/specials/SpecialCategories.php
@@ -16,7 +16,7 @@
1717 $cap->doQuery();
1818 $wgOut->addHTML(
1919 XML::openElement( 'div', array('class' => 'mw-spcontent') ) .
20 - wfMsgExt( 'categoriespagetext', array( 'parse' ) ) .
 20+ wfMsgExt( 'categoriespagetext', array( 'parse' ), $cap->getNumRows() ) .
2121 $cap->getStartForm( $from ) .
2222 $cap->getNavigationBar() .
2323 '<ul>' . $cap->getBody() . '</ul>' .
Index: trunk/phase3/languages/messages/MessagesEn.php
@@ -2241,7 +2241,7 @@
22422242 # Special:Categories
22432243 'categories' => 'Categories',
22442244 'categories-summary' => '', # do not translate or duplicate this message to other languages
2245 -'categoriespagetext' => 'The following categories contain pages or media.
 2245+'categoriespagetext' => 'The following {{PLURAL:$1|category contains|categories contain}} pages or media.
22462246 [[Special:UnusedCategories|Unused categories]] are not shown here.
22472247 Also see [[Special:WantedCategories|wanted categories]].',
22482248 'categoriesfrom' => 'Display categories starting at:',
Index: trunk/phase3/RELEASE-NOTES
@@ -65,6 +65,7 @@
6666 * (bug 18849) Implement Japanese and North Korean calendars
6767 * (bug 5755) Introduce {{CURRENTMONTH1}} and {{LOCALMONTH1}} to display the
6868 month number without the leading zero
 69+* (bug 13456) categoriespagetext supports PLURAL
6970
7071 === Bug fixes in 1.16 ===
7172

Status & tagging log