[Mediawiki-i18n] Bug in JS implementation of plural?

Roan Kattouw rkattouw at wikimedia.org
Mon Aug 25 20:42:42 UTC 2014


On Mon, Aug 25, 2014 at 12:50 PM, Jon Robson <jdlrobson at gmail.com> wrote:
> I think I found a bug and wanted to check if I'm doing it wrong, or if
> it is indeed a bug and if so if there is somewhere I can track it?
>
> {{PLURAL:$1|$3 started this topic|A|0=B|2=C|3=$3}}
>> mw.msg( "flow-topic-participants", 3 )
>> 'A'
>
> However
> {{PLURAL:$1|$3 started this topic|A|0=B|2=C|3=D}}
>> mw.msg( "flow-topic-participants", 3 )
>> 'D'
>
> Is there any workaround I can use?
>
I don't recognize the feature you are using. Was this added recently,
like in the last 2-3 years? If so, what's probably going on is that
the JS implementation of PLURAL simply predates this feature.

Roan



More information about the Mediawiki-i18n mailing list