Page MenuHomePhabricator

Wrong rule for mw.language.convertPlural in pt-BR: zero has to be plural
Closed, ResolvedPublic

Description

The plural rule defined for Brazilian Portuguese (in the file /resources/mediawiki.language/languages/pt-br.js, created on r75486) is incorrect, since zero should be considered plural.

The same problem was previously fixed in some other places of MW code, as you can see in the bugs/revs linked below:

  • Bug 23707 / r67049
  • Bug 25507 / r74712

Version: unspecified
Severity: normal

Details

Reference
bz29299

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:27 PM
bzimport set Reference to bz29299.

Assigning to Alolita so she can tap a JS dev for this. Also making a note in my TODOs about the need for a Language regression test plan.