Adding an article during a parser test like:
!! article
Template:test
!! text
Test
!! endarticle
will not create "Template:test" but "Template:Test", even if $wgCapitalLinks was set to false before (using the new 'ParserTestGlobals' hook).
Apparently, since the following change ParserTest::addArticle() temporarily changes the global during parser tests article creation (to work around another issue?):
https://www.mediawiki.org/w/index.php?title=Special:Code/MediaWiki/71511&path=#c33010
Anyhow, it might be nice to be able use:
!! article
Template:test
!! config
wgCapitalLinks=false
!! text
Test
!! endarticle
to create the article with certain globals set to specific values. The code above should create the article with the lower "s" instead of "S". Also, $wgCapitalLinks should not be ignored by ParserTest::addArticle() anymore.