== Background
Minerva ships various styles that improve templates for mobile-devices and the night mode theme. We want to start using these on Vector 2022.
== User story
As an interface admin I want to benefit from styles shipped by the WMF to reduce the amount of work I have to do to maintain my wiki.
== Requirements
[] A new ResourceLoader module exists in WikimediaMessages.
[] The module should be associated with a dynamic module SiteAdminHelperModule.php that is inspired by SkinModule in core and allows site admins to disable style packages via a MediaWiki message. This will be done by the message wikimedia-styles-exclude which by default is empty but accepts a pipe separated list of feature names to disable.
[] The initial version should contain two features - night-theme which will contain all skin night mode styles and night-theme-mainpage which will contain styles for the main page.
[] The module can be enabled for any skin via a configuration flag.
[] By default the module is enabled for nobody (this allows us to migrate this bit by bit)
== QA steps
To be tested by a developer.
[] No visual changes expected on Pixel.
[] Initially the module should not be loaded by any skins (deployment will come later)
[] If I edit MediaWiki:wikimedia-styles-exclude and change it to "night-theme|night-theme-mainpage" it should disable all the styles.
== Communication criteria - does this need an announcement or discussion?
Not yet.