Last modified: 2014-11-20 07:52:32 UTC
Created attachment 16112 [details] Currently enabled/installed stuff 118) ResourcesTest::testMissingDependencies The module 'schema.UniversalLanguageSelector' required by 'ext.uls.eventlogger' must exist Failed asserting that an array contains 'schema.UniversalLanguageSelector'. /srv/vagrant/mediawiki/tests/phpunit/structure/ResourcesTest.php:72 /srv/vagrant/mediawiki/tests/phpunit/MediaWikiTestCase.php:133 /srv/vagrant/mediawiki/tests/phpunit/MediaWikiPHPUnitCommand.php:42 /srv/vagrant/mediawiki/tests/phpunit/phpunit.php:160
Since we are adding ext.uls.eventlogger conditionally this only shows up in the tests. ContentTranslation has the same issue btw.
Conditionally based on what? If it unconditionally registeres modules that depend on modules that only exist conditionally, that sounds like a bug that is not limited to a test suite, but a genuine bug. Alternatively, it sounds like maybe a dependency isn't installed there (EventLogging?)
EventLogging is optional dependency. ext.uls.eventlogger is declared unconditionally but only added if event logging is enabled. schema.UniversalLanguageSelector is added conditionally if EventLogging is present, as it depends on that extension.