Setting $wgContLang without changing $wgLanguageCode accordingly is a very bad idea.
authorAlexandre Emsenhuber <ialex.wiki@gmail.com>
Sat, 20 Oct 2012 16:15:18 +0000 (18:15 +0200)
committerAlexandre Emsenhuber <ialex.wiki@gmail.com>
Sat, 20 Oct 2012 16:15:18 +0000 (18:15 +0200)
commit2b0edc83e91dbba6b250386eac0c78b7d8c7c4f4
tree14b9168465e77b3736195457698279cc45c06b26
parent4728e613832a731db7fcb1b5abf841dc0e805ab1
Setting $wgContLang without changing $wgLanguageCode accordingly is a very bad idea.

This caused about 200 exceptions "MWException: Error in MediaWikiLangTestCase::setUp(): $wgLanguageCode ('fr') is different from $wgContLang->getCode() (en)" on my installation.

Change-Id: I2987db68e22b27d8d36cdae118356fd7612e56a4
tests/phpunit/includes/BlockTest.php