https://bugzilla.wikimedia.org/show_bug.cgi?id=37321

--- Comment #1 from Krinkle <[email protected]> 2012-06-09 15:34:31 UTC ---
I tried to implement a solution for this locally, but decided to give up
because the system simply isn't built for it, and I don't see a way for this to
happen anytime soon.

The root cause is that the helper data is written in the same property for all
languages.

I concluded that this seems more a design flaw / feature request for
mediawiki.language, not so much a lack in ResourceLoader.

The language module should be able to store logic for multiple languages
simultaneously, instead of assuming that there is only 1 language at a time.

Just like it can load multiple pieces of information in language.data the
helper methods convertPlural should be loadable for different languages at the
same time as well.

Then the unit test can simply load them all on-demand.

The language* and skin* properties are nice to conditionally load parts that
are relevant for the end user. But in this case it seems more appropriate to
have them in separate modules and be able to load them on-demand.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- 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

Reply via email to