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

Jon Robson jdlrobson at gmail.com
Mon Aug 25 19:50:48 UTC 2014

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'

{{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?

More information about the Mediawiki-i18n mailing list