Last modified: 2012-12-09 12:32:33 UTC
Steps to reproduce: * Set $wgLanguageCode to something other than en in your LocalSettings (yes, parserTests will change to use the English messages) * Remove 'my_wiki-parsertest_:messages:en' from your "normal" objectcache, eg. DELETE FROM objectcache WHERE keyname = 'my_wiki-parsertest_:messages:en'; (it is loaded from there before the parsertests switches tables) Run he parser tests The following parser tests set its own MediaWiki article, and will fail. * Bad images - basic functionality... * Bad images - bug 16039: text after bad image disappears... * <ref> with custom group link.. However, changing $wgLanguageCode to en, and running fixes it for as long as the cache is saved. Seems that it isn't saved, there's something wrong with its cache...
Parser tests should clear the message cache before every test, otherwise the messages added by tests are not picked up.
All tests that use the i18n system should rebuild L10n cache for the languages that they will be using. Needs some thought, but is probably doable. Any volunteers?