(Somewhat related to T223602: Define variant Wikimedia production config in compiled, static files)
It'd be nice to have a file, in JSON or YAML format, that contains the list of enabled extensions/skins.
Use cases:
- a maintenance script like manageExtension that could be used with e.g. php maintenance/run.php manageExtension --enable=GrowthExperiments,DiscussionTools or php maintenance/run.php manageExtension --disable=Flow. Slightly lowers the barrier to entry for less technical users in needing to work with LocalSettings.php
- MediaWiki could consult this file to load extensions/skins; wfLoadExtension() or wfLoadSkin() in Localsettings.php could still work of course
- phpunit tooling could consult the file to skip over non-enabled extensions (T90875#7991774)