Page MenuHomePhabricator

Streamline the deployment process of Growth features, by automatically prefill the Community configuration page
Closed, ResolvedPublic

Description

The Growth team recently released a community configuration system. The idea here is to help more wikis to get the tools by streamlining the deployment.

A first step is to check if it is feasible to prefill the Community configuration page using a script. The idea would be to

  1. populate the Configuration page,
  2. let the communities to update them
  3. let them turn the features on when ready.

Questions

  • How communities can turn the features on? And off? Under which conditions?
  • Is it possible to check if minimum of links is not reached, so that the features (or a given module) aren't deployed? The idea is to avoid communities where the tools would be empty.

List of items

Help panel
Help pages

TaskLabelLink
Manual of styleHow to write a good articleQ4994848
Help:EditingHow to edit a pageQ151637 or https://www.mediawiki.org/wiki/Special:MyLanguage/Help:VisualEditor/User_guide
Inserting images (using the visual editor)How to insert imagesQ27919584 or https://www.mediawiki.org/wiki/Special:MyLanguage/Help:VisualEditor/User_guide#Images
Inserting references (using the visual editor)How to insert referencesQ24238629 or https://www.mediawiki.org/wiki/Special:MyLanguage/Help:VisualEditor/User_guide#Editing_references
Article WizardHow to create an articleQ10968373

Mentorship module (optional)

  • Signature list: Q14339834
  • Manual list of mentors (rarely used for new communities, but worth having it in the script anyway): Q100973200

Suggested edits

TaskTask descriptionMaintenance templatesLearn more
Copyedit articleFix spelling, grammar and toneQ6292692, Q6706206, Q6931087, Q7656698, Q6931386Q10953805
Add LinksAdd links between articlesQ13107723, Q5849007, Q5621858Q27919580 or Q75275496, or https://www.mediawiki.org/wiki/Special:MyLanguage/Help:VisualEditor/User_guide#Editing_links
Update articleBring existing articles up-to-dateQ5617874, Q14337093Q4664141
Add ReferencesFind sources for existing articlesQ5962027, Q6192879Q79951 or Q642335
Expand articleExpand stubs to become sourced articlesQ5529697, Q5623589, Q5866533Q10973854 or Q4663261

Event Timeline

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

Assuming this is on the roadmap since it has an assignee.

Change 697675 had a related patch set uploaded (by Urbanecm; author: Urbanecm):

[mediawiki/extensions/GrowthExperiments@master] initWikiConfig.php: Use same link ID for help panel links as community configuration would

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

Change 697676 had a related patch set uploaded (by Urbanecm; author: Urbanecm):

[mediawiki/extensions/GrowthExperiments@master] initWikiConfig.php: Use links to MW.org as fallbacks to Wikidata

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

Assuming this is on the roadmap since it has an assignee.

Yup! Working on this was mentioned in this week's planning mail. Moving to sprint. The (technical) goal here is to make initWikiConfig.php to generate config via the WD items and fallbacks mentioned here.

T284149: Deploy Growth features on Slovak Wikipedia will be used as a first test for this script. No rush though: no deployment date has been set for this wiki.

Change 697827 had a related patch set uploaded (by Urbanecm; author: Urbanecm):

[mediawiki/extensions/GrowthExperiments@master] Add mentor-related QIDs to initWikiConfig.php

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

T284149: Deploy Growth features on Slovak Wikipedia will be used as a first test for this script. No rush though: no deployment date has been set for this wiki.

Looking forward for that! As of now, there are two things that needs to happen:

  • the three patches above need to be merged
  • I need to write a fourth patch that will add suggested edit configuration-related QIDs to that script

Change 697675 merged by jenkins-bot:

[mediawiki/extensions/GrowthExperiments@master] initWikiConfig.php: Use same link ID for help panel links as community configuration would

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

Change 697676 merged by jenkins-bot:

[mediawiki/extensions/GrowthExperiments@master] initWikiConfig.php: Use links to MW.org as fallbacks to Wikidata

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

Change 697827 abandoned by Urbanecm:

[mediawiki/extensions/GrowthExperiments@master] Add mentor-related QIDs to initWikiConfig.php

Reason:

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

This needs to happen before Slovak Wikipedia deployment (which will be used to try this process out).

Change 698527 had a related patch set uploaded (by Urbanecm; author: Urbanecm):

[mediawiki/extensions/GrowthExperiments@wmf/1.37.0-wmf.7] initWikiConfig.php: Use same link ID for help panel links as community configuration would

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

Change 698549 had a related patch set uploaded (by Urbanecm; author: Urbanecm):

[mediawiki/extensions/GrowthExperiments@wmf/1.37.0-wmf.7] initWikiConfig.php: Use links to MW.org as fallbacks to Wikidata

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

Change 698527 merged by jenkins-bot:

[mediawiki/extensions/GrowthExperiments@wmf/1.37.0-wmf.7] initWikiConfig.php: Use same link ID for help panel links as community configuration would

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

Change 698549 merged by jenkins-bot:

[mediawiki/extensions/GrowthExperiments@wmf/1.37.0-wmf.7] initWikiConfig.php: Use links to MW.org as fallbacks to Wikidata

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

Mentioned in SAL (#wikimedia-operations) [2021-06-07T18:20:18Z] <urbanecm@deploy1002> Synchronized php-1.37.0-wmf.7/extensions/GrowthExperiments/maintenance/initWikiConfig.php: 7089728: b2482fb: initWikiConfig GE backports (T284072) (duration: 00m 58s)

Change 698605 had a related patch set uploaded (by Urbanecm; author: Urbanecm):

[mediawiki/extensions/GrowthExperiments@master] initWikiConfig.php: Prepare the script to handle both config files

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

Change 698606 had a related patch set uploaded (by Urbanecm; author: Urbanecm):

[mediawiki/extensions/GrowthExperiments@master] initWikiConfig.php: Add support for suggested edits configuration

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

https://www.mediawiki.org/wiki/Growth/Communities/Get_the_Growth_experiments_on_your_wiki has been updated to reflect this new system. It includes the list of Wikidata items we use.

Change 698977 had a related patch set uploaded (by Urbanecm; author: Urbanecm):

[mediawiki/extensions/GrowthExperiments@master] initWikiConfig.php: Use Q4966605 for article wizard

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

Change 698605 merged by jenkins-bot:

[mediawiki/extensions/GrowthExperiments@master] initWikiConfig.php: Prepare the script to handle both config files

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

Change 698606 merged by jenkins-bot:

[mediawiki/extensions/GrowthExperiments@master] initWikiConfig.php: Add support for suggested edits configuration

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

Change 698977 merged by jenkins-bot:

[mediawiki/extensions/GrowthExperiments@master] initWikiConfig.php: Use Q4966605 for article wizard

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

@Trizek-WMF Is there anything else I can do here? Or can we close this as Resolved?

Thank you for the ping @Urbanecm_WMF. I think we are good to close this task; so far the new deployment process has proven being super effective.