Last modified: 2013-09-25 22:22:44 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 T44631, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 42631 - Plural form count incorrect when plural (or other magic word) used inside plural
Plural form count incorrect when plural (or other magic word) used inside plural
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Translate (Other open bugs)
master
All All
: Low minor (vote)
: ---
Assigned To: Niklas Laxström
https://translatewiki.net/wiki/Thread...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-12-02 19:34 UTC by Siebrand Mazeland
Modified: 2013-09-25 22:22 UTC (History)
8 users (show)

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


Attachments

Description Siebrand Mazeland 2012-12-02 19:34:11 UTC
When a language has two plural forms, and this is expressed as:

{{PLURAL:$1|Form 1|Plural {{PLURAL:$1|Form 1|Form 2}}}}, the checker counts 4 forms and marks a saved message incorrectly as fuzzy.

See URL field for report on translatewiki.net. See [1] for example.

[1] https://translatewiki.net/w/i.php?title=MediaWiki:Category-file-count/bar&action=edit
Comment 1 Siebrand Mazeland 2012-12-21 21:55:19 UTC
Setting to high. 3 or 4 threads on twn's Support page already.
Comment 2 Siebrand Mazeland 2013-03-05 09:59:52 UTC
Lowering severity. Even though there are 3 or 4 threads, there is only 1 known message that has this issue.
Comment 3 Toliño 2013-06-04 09:12:30 UTC
It's also happening with the following message:

https://translatewiki.net/w/i.php?title=MediaWiki:Logentry-student-remove/en&action=edit
Comment 4 Gerrit Notification Bot 2013-06-04 09:47:15 UTC
Related URL: https://gerrit.wikimedia.org/r/66952 (Gerrit Change Ic232bb15fb42f478eed6682dde5141948a1516d8)
Comment 5 Siebrand Mazeland 2013-06-04 10:14:26 UTC
I submitted Gerrit change #66952 as a work around. Not sure if it will actually work. I've added Niklas as a reviewer.
Comment 6 Nemo 2013-09-23 08:38:06 UTC
(In reply to comment #5)
> I submitted Gerrit change #66952 as a work around. Not sure if it will
> actually work.
> I've added Niklas as a reviewer.

It was merged but I'm not sure it solved the issue completely.
Here it counts 4 forms (rather than 3+1) but says it accepts only 2 (apart from 1= and 0=): https://translatewiki.net/w/i.php?title=MediaWiki:Twnmp-translations-translator-ranking/it&diff=5009233&oldid=5009153
I don't know if it's related.
Comment 7 Gerrit Notification Bot 2013-09-25 04:32:23 UTC
Change 85953 had a related patch set uploaded by Nikerabbit:
Fix bogus incorrect plural form warnings with pipes in submagic

https://gerrit.wikimedia.org/r/85953
Comment 8 Gerrit Notification Bot 2013-09-25 22:21:35 UTC
Change 85953 merged by jenkins-bot:
Fix bogus incorrect plural form warnings with pipes in submagic

https://gerrit.wikimedia.org/r/85953

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


Navigation
Links