https://bugzilla.wikimedia.org/show_bug.cgi?id=70617
Bartosz Dziewoński <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #5 from Bartosz Dziewoński <[email protected]> --- The patch that caused this (e16ca154f47b0d95060c9f7663c74fa11f848c09) was trying to solve the issue that {{PLURAL:N|1=a|2=b}} is not parsed as [['1', 'a'], ['2', 'b']], but rather ['1=a', '2=b'], which becomes a problem when '1=a' gets parsed and we can't un-parse it to pull out the number, and therefore parse the explicit plural forms. It solved that by "flattening" nodes that are jQuery objects to HTML, which broke things for the normal case. The best way to do this would be to extend the parser to support explicit parameters (good luck doing that, heh). A less bad way (than the current) would be to move the DOM object stringification to mw.language.convertPlural() and only do it when necessary (should be easy-ish). Gilles, do you want to look into this? -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
