Last modified: 2012-09-15 04:49:18 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T42252, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 40252 - PLURAL stopped working for Persian
PLURAL stopped working for Persian
Status: RESOLVED DUPLICATE of bug 40251
Product: MediaWiki
Classification: Unclassified
Internationalization (Other open bugs)
1.20.x
All All
: Unprioritized major (vote)
: ---
Assigned To: Nobody - You can work on this!
: i18n
Depends on:
Blocks: plural
  Show dependency treegraph
 
Reported: 2012-09-14 14:19 UTC by Huji
Modified: 2012-09-15 04:49 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Huji 2012-09-14 14:19:18 UTC
I just noticed this bug yesterday, I haven't been able to track it down. Wherever PLURAL is used, the singular form is returned all the time.

Example:

https://fa.wikipedia.org/w/index.php?title=%D8%B5%D9%81%D8%AD%D9%87%D9%94_%D8%A7%D8%B5%D9%84%DB%8C&offset=20081110135155&action=history

What you would like to see is: ۵۰ مورد قدیمی‌تر

What you see is: یک مورد قدیمی‌تر

if you use &uselang=en you see "newer 50" which is correct. But in the Persian interface, you see the Persian translation of "newer 1", which is wrong.

I double checked and made sure that the translation IS correct.

Example 2:

https://fa.wikipedia.org/wiki/%D8%B1%D8%AF%D9%87:%D9%88%DB%8C%DA%A9%DB%8C%E2%80%8C%D9%BE%D8%AF%DB%8C%D8%A7

That category contains several subcategories and several pages. However, what you see in the interface, is the Persian equivalent of "this category only contains the following page", etc.
Comment 1 Huji 2012-09-14 14:24:42 UTC
By the way, if I had to blame something, I would blame a (possible) recent change in the way messages are being sent to PLURAL, that has made it look at localized numbers and not understand them.

In ar.wp and he.wp, where they do not use localized numbers (use english numbers) this bug is not happening. Only in fa.wp and mzn.wp where localized numbers are used in the pagers, this bug exists.

https://mzn.wikipedia.org/w/index.php?title=%DA%AF%D8%AA_%D8%B5%D9%81%D8%AD%D9%87&offset=&limit=10&action=history
Comment 2 Niklas Laxström 2012-09-15 04:49:18 UTC

*** This bug has been marked as a duplicate of bug 40251 ***

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links