Community configuration 2.0 moves MediaWiki configuration to be on-wiki. From time to time, the Foundation (generically: the site operator) needs to perform a configuration change on one or more wikis. Rather than using a personal wiki account to do such a change, there should be a maintenance script that supports this sort of change. As an example, see maintenance/changeWikiConfig.php in GrowthExperiments.
This script is also useful in case of site-reliability issues caused by CommunityConfiguration (so that there is a way to edit the config, independent of the web UI).
Acceptance Criteria
- A maintenance script exists that allows sysadmins to change community configuration-handled values. This script allows to replace a certain store in bulk, or to manipulate with individual variables only.
- The maintenance script is usable even when the currently-stored configuration is not valid, or when attempts to retrieve the configuration result in a fatal crash.
Open Questions
- Should the script avoid using the CommunityConfiguration services as they could be unusable in a breakage situation? (from T365243)