https://bugzilla.wikimedia.org/show_bug.cgi?id=18631
Summary: English doesn't show number of categories
Product: MediaWiki
Version: 1.15-svn
Platform: All
URL: http://en.wikipedia.org/wiki/Hobart,_Tasmania
OS/Version: All
Status: NEW
Keywords: patch
Severity: minor
Priority: Normal
Component: Internationalization
AssignedTo: [email protected]
ReportedBy: [email protected]
Gentlemen, there I was scratching my head as to why English users are
deprived of knowing just how many categories there are, vs. Chinese
users.
$ cat script
for i in '' ?uselang=zh-tw
do w3m -dump http://en.wikipedia.org/wiki/Hobart,_Tasmania$i
done|grep 'Settlements established in 1803'
$ sh script
Categories: Settlements established in 1803 | Australian capital cities |
6個分類: Settlements established in 1803 | Australian capital cities |
Coastal
Note how the 6 is gone in English.
That's because you need to do:
--- MessagesEn.php (revision 50070)
+++ MessagesEn.php (working copy)
-'pagecategories' => '{{PLURAL:$1|Category|Categories}}',
+'pagecategories' => '$1 {{PLURAL:$1|Category|Categories}}',
Probably you blew it for many other strings and languages too.
Or maybe it was on purpose, "too much clutter"?
P.S. Consider adding a space after the number for all Chinese varieties,
not just MessagesYue.php.
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l