[17:15:05] so if you have an extension that uses a config variable, say, wgExtFoo, and you set the variable in your LocalSettings.php, it will apply thoughout all the parser tests. is there a way to say "all these tests use a specific value", or do I have to set a config section on every single test? [17:24:57] inductiveload: you can use https://www.mediawiki.org/wiki/Manual:Hooks/ParserTestGlobals to adjust the defaults for parser tests, but I think if you want a collection of tests to have different settings, there's no way to set it per-file, it has to be done per test [17:25:22] ah, cool [17:25:46] only a handful of tests need non-default settings [17:50:17] legoktm: hmm, you can override the setting with a !!config section....right? [17:50:40] you should able to [17:53:46] inductiveload: maybe not. take a look at ParserTestRunner::perTestSetup() [17:55:50] oh what [17:56:01] surely that is backwards? [17:56:27] backwards? [17:56:53] would you not want to set the global defaults first then override on a per test basis? [17:57:37] otherwise setting global defaults trashes all the configs even if they set per test [17:59:16] i.e. Hooks::runner()->onParserTestGlobals( $setup ); goes first, then the per-test config modifies it on a per-test basis [18:21:10] inductiveload: I think I misremembered what ParserTestGlobals was actually for [18:51:30] legoktm: hmm, then this is probably wrong [18:51:45] https://www.mediawiki.org/w/index.php?title=Parser%20tests&diff=4792283&oldid=4773377