Last modified: 2013-12-17 09:42:35 UTC
jquery.tablesorter.test.js is using the mediawiki.language.months module, but that is always loaded in the content language That means some tests (for complex date parsing) gets broken, when $wgLanguageCode is not 'en'.
Same thing as bug 34093?
No, that bug is about the transform tables, this bug is about the month names. The test contains wgMonthNames, but since Gerrit change #55496 the module mediawiki.language.months is used for building the regex instead of the config var, that means the test needs also adjust, because the regex cannot match against the given test data. But I have no idea to force the load of a module in a other language inside of a QUnit test.
Ughhh. I'm afraid you can't do that. I'd just overwrite the values in mw.language.months.* from the test runner to English ones (or fix the tests not to depend on that). (Disclaimer: haven't looked at the code.)