Page MenuHomePhabricator

Incorrect number of plural forms recognised when there are links in the forms
Closed, ResolvedPublic

Description

$1 {{PLURAL:$1|[[Special:ConfirmAccounts|открытое письмо подтверждено]]|[[Special:ConfirmAccounts|открытых писем подтверждены]]|[[Special:ConfirmAccounts|открытых письма подтверждены]]}}. '''Обратите ваше внимание!'''

Expected are 3 plural forms, but the current parser recognises 6:

Warnings about incomplete translations: {{PLURAL:}} was given 6 forms but 3 forms are supported (excluding 0= and 1= forms).

This leads for false positive fuzzy markings.

Niklas said: I should probably just used the actual plural parser code to fix this.


Version: master
Severity: normal

Details

Reference
bz59241

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 2:17 AM
bzimport set Reference to bz59241.

Change 105615 had a related patch set uploaded by Nikerabbit:
Fix the plural form checker false positives for good

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

Change 105615 merged by jenkins-bot:
Fix the plural form checker false positives for good

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