r85553 fixup. When there are variants involved, the line
authorPlatonides <platonides@users.mediawiki.org>
Wed, 6 Apr 2011 21:36:07 +0000 (21:36 +0000)
committerPlatonides <platonides@users.mediawiki.org>
Wed, 6 Apr 2011 21:36:07 +0000 (21:36 +0000)
commitc878cd608fb2ea8aac76c6c266fcb283db4c8716
treea4b808c21205bb859f9de2ea63251560c636850e
parentfcbd1134c66edb5c1eb80886b6f5841d3cfed061
r85553 fixup. When there are variants involved, the line
$GLOBALS['wgContLang'] = $context->lang;
is not assigning $wgContLang the same $langObj instantiated a couple of lines above, but a different object obtained from the user code, breaking variant parsertestsw..
tests/parser/parserTest.inc
tests/phpunit/includes/parser/NewParserTest.php