Since Growth team has decided to split the current configuration in Special:EditGrowthConfig into (4) themed editor pages we will need to create valid json configuration pages for these based on the existing values on each wiki. This task is to create an script that facilitates that work.
Acceptance criteria
The script should:
- Copy all the existing configuration options located in MediaWiki:NewcomerTasks.json into MediaWiki:GrowthExperimentsSuggestedEdits.json
- Copy the existing GEInfoboxTemplates located in MediaWiki:GrowthExperimentsConfig.json to MediaWiki:GrowthExperimentsSuggestedEdits.json
- Copy the homepage related configurations from MediaWiki:GrowthExperimentsConfig.json to MediaWiki:GrowthExperimentsHomepage.json
- Copy the help panel related configurations from MediaWiki:GrowthExperimentsConfig.json to MediaWiki:GrowthExperimentsHelpPanel.json
- Copy the mentorship related configurations from MediaWiki:GrowthExperimentsConfig.json to MediaWiki:GrowthExperimentsMentorship.json
Open questions
Another wrinkle found while analyzing current EditGrowthConfig data schemas is that some information is captured with unconventional controls. An example of this are the radio buttons used for capturing Are mentorship features enabled? which are mapped to a boolean data type while the conventional control for boolean is a checkbox. Maybe this data migration and others can be considered while developing this script.No data migration is required within this script. All data will be displayed with the conventional default control.
- Do we need to preserve the history or relate the old and new pages in some way?