Page MenuHomePhabricator

Prepare a maintenance script for providing default values for on-wiki config
Closed, ResolvedPublic

Description

Background

The Growth team is moving configuration to on-wiki JSON blob as part of T274520: Move Growth configuration to on-wiki JSON file. We need to be able to provide default versions of on-wiki config, depending on each wiki. The defaults will be probably determined via WIkidata, I'll file a subtask to decide that.

Requirements

Write a maintenance script that can be executed from mwmaint1002. The script will determine defaults from Wikidata, and write an initial version of the configuration file to the wiki. The edit will be attributed to a system user MediaWiki default, to make it clear the edit is a part of standard software deployment process.

The script should determine the defaults for any given wiki using Wikidata items that are available at https://www.mediawiki.org/wiki/Growth/Communities/Get_the_Growth_experiments_on_your_wiki.

Open questions

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Change 670888 had a related patch set uploaded (by Urbanecm; owner: Urbanecm):
[mediawiki/extensions/GrowthExperiments@master] WIP: Prepare a maintenance script for providing default values for on-wiki config

https://gerrit.wikimedia.org/r/670888

Change 670888 merged by jenkins-bot:
[mediawiki/extensions/GrowthExperiments@master] Prepare a maintenance script for providing default values for on-wiki config

https://gerrit.wikimedia.org/r/670888