[go: up one dir, main page]

Page MenuHomePhabricator

Deploy structured wikitext mentor list to Wikimedia wikis
Closed, ResolvedPublic

Description

Background

As part of T264343: Have a special page for mentors to sign up, the Growth team is working on a sign up form for mentors. We decided to create a structured mentor list, MediaWiki:GrowthMentors.json, to serve as the new canonical location for the list of mentors, similar to what community configuration does.

Task objective

Deploy the structured mentor list to Wikimedia wikis. This has to be done carefully, because it will be difficult to go back once we do the deployment.

Deployment checklist
Prerequisites
  • Write a migration script (T310446)
  • Wait until code is ready to adequately support the structured mentor list (currently tracked under T264343)
Testing the structured mentor list
  • Temporarily allow all beta users to enroll as mentors for testing purposes (patch)
  • Make beta enwiki use structured mentor list (patch)
  • Run mwscript extensions/GrowthExperiments/maintenance/migrateWikitextMentorList.php --wiki=enwiki at beta cluster
  • Thoroughly test the structured mentor list at beta enwiki (T312102)
  • Make beta arwiki use structured mentor list (patch)
  • Run mwscript extensions/GrowthExperiments/maintenance/migrateWikitextMentorList.php --wiki=arwiki at beta cluster
  • Habib (Arabic Ambassador) tests the structured mentor list at arwiki
Migration
  • Review existing wikitext mentor lists for inconsistencies, bugs, etc. (T310906)
  • Switch beta cluster + testwiki to structured mentor list (substeps have to be done at once; beta patch, testwiki patch)
    • Set $wgGEMentorProvider = "structured" for all affected wikis
    • Run mwscript extensions/GrowthExperiments/maintenance/migrateWikitextMentorList.php --wiki=XXwiki for all affected wikis
  • Thoroughly QA behavior with the structured mentor list at those wikis; ask Ambassadors to review the interface
  • Document the new interface (project page)
  • Announce the migration to the pilot wikis, inform them about the impact (T314858)
  • Switch the pilot wikis to structured mentor list (substeps have to be done at once; point of no return; patch)
    • Set $wgGEMentorProvider = "structured" for all affected wikis
    • Run mwscript extensions/GrowthExperiments/maintenance/migrateWikitextMentorList.php --wiki=XXwiki for all affected wikis
    • arwiki: If deployed before T291564 is fixed, transfer messages from manual list manually.
  • Wait 1 week for possible issues
  • Address all raised issues
  • Announce the migration to the rest of the wikis, inform them about the impact (T314858)
  • Switch all remaining wikis to structured mentor list (substeps have to be done at once; point of no return)
    • Set $wgGEMentorProvider = "structured" for all affected wikis
    • Run mwscript extensions/GrowthExperiments/maintenance/migrateWikitextMentorList.php --wiki=XXwiki for all affected wikis
Clean up
  • Remove code supporting the wikitext-based mentor list (T321501)
Blockers
Soft-blockers

Soft blocker is a task that's nice to have, but it is reasonably easy to proceed without it.

Pilot rollout

(none)

Other wikis

Details

SubjectRepoBranchLines +/-
operations/mediawiki-configmaster+0 -1
operations/mediawiki-configmaster+1 -0
operations/mediawiki-configmaster+1 -9
operations/mediawiki-configmaster+1 -1
operations/mediawiki-configmaster+1 -0
operations/mediawiki-configmaster+1 -0
operations/mediawiki-configmaster+0 -1
operations/mediawiki-configmaster+4 -0
operations/mediawiki-configmaster+0 -1
operations/mediawiki-configmaster+4 -3
operations/mediawiki-configmaster+5 -0
operations/mediawiki-configmaster+1 -0
operations/mediawiki-configmaster+1 -0
operations/mediawiki-configmaster+1 -3
operations/mediawiki-configmaster+1 -0
operations/mediawiki-configmaster+1 -0
operations/mediawiki-configmaster+7 -0
Show related patches Customize query in gerrit

Related Objects

Event Timeline

There are a very large number of changes, so older changes are hidden. Show Older Changes

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

[operations/mediawiki-config@master] [beta] Growth: Enable structured mentor list at arwiki

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

Change 815331 merged by jenkins-bot:

[operations/mediawiki-config@master] [beta] Growth: Enable structured mentor list at arwiki

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

Mentioned in SAL (#wikimedia-releng) [2022-07-19T17:00:45Z] <urbanecm> deployment-prep: urbanecm@deployment-mwmaint02:~$ mwscript extensions/GrowthExperiments/maintenance/migrateWikitextMentorList.php --wiki=arwiki # T310905

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

[operations/mediawiki-config@master] testwiki: Growth: Switch to structured mentor list

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

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

[operations/mediawiki-config@master] Growth: Switch pilot wikis to structured mentor list

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

Change 808269 merged by jenkins-bot:

[operations/mediawiki-config@master] [beta] Growth: Switch to structured mentor list at all wikis

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

Change 819053 merged by jenkins-bot:

[operations/mediawiki-config@master] testwiki: Growth: Switch to structured mentor list

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

Mentioned in SAL (#wikimedia-operations) [2022-08-04T09:26:35Z] <urbanecm@deploy1002> Synchronized wmf-config/InitialiseSettings.php: 0614a39bf15252c95a96565dd7c986237f3d3323: testwiki: Growth: Switch to structured mentor list (T310905) (duration: 03m 38s)

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

[operations/mediawiki-config@master] testwiki: Growth: Assign enrollasmentor to *

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

Change 820392 merged by jenkins-bot:

[operations/mediawiki-config@master] testwiki: Growth: Assign enrollasmentor to *

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

Mentioned in SAL (#wikimedia-operations) [2022-08-04T09:35:31Z] <urbanecm@deploy1002> Synchronized wmf-config/InitialiseSettings.php: ddcd333015bb58a98709a5005a5db7e8519dd0a5: testwiki: Growth: Assign enrollasmentor to * (T310905) (duration: 03m 41s)

Urbanecm_WMF changed the task status from Open to In Progress.Aug 11 2022, 11:05 AM

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

[operations/mediawiki-config@master] Revert "testwiki: Growth: Assign enrollasmentor to *"

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

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

[operations/mediawiki-config@master] Revert "[beta] Temporarily allow everyone to enroll as mentor"

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

Change 826623 merged by jenkins-bot:

[operations/mediawiki-config@master] Revert "[beta] Temporarily allow everyone to enroll as mentor"

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

Change 826622 merged by jenkins-bot:

[operations/mediawiki-config@master] Revert "testwiki: Growth: Assign enrollasmentor to *"

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

Mentioned in SAL (#wikimedia-operations) [2022-08-29T07:14:38Z] <urbanecm@deploy1002> Synchronized wmf-config/InitialiseSettings.php: 88b3ce8196927d46f13d05aa8f3467992832f09d: Revert "testwiki: Growth: Assign enrollasmentor to *" (T310905, T314414) (duration: 03m 32s)

Change 819054 merged by jenkins-bot:

[operations/mediawiki-config@master] Growth: Switch pilot wikis to structured mentor list

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

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

[operations/mediawiki-config@master] Growth: Do not switch eswiki to structured mentor list

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

Change 833843 merged by jenkins-bot:

[operations/mediawiki-config@master] Growth: Do not switch eswiki to structured mentor list

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

Mentioned in SAL (#wikimedia-operations) [2022-09-21T19:04:20Z] <urbanecm@deploy1002> Synchronized wmf-config/InitialiseSettings.php: b8b2ebd3933cb891b62bb6aea01b2342c017cec8: Growth: Switch pilot wikis to structured mentor list (T310905) (duration: 03m 59s)

Structured mentor list is now deployed.

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

[operations/mediawiki-config@master] eswiki: Enable structured mentor list

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

Change 834891 merged by jenkins-bot:

[operations/mediawiki-config@master] eswiki: Enable structured mentor list

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

Mentioned in SAL (#wikimedia-operations) [2022-09-26T06:32:28Z] <urbanecm@deploy1002> Synchronized wmf-config/InitialiseSettings.php: d2d2c08fc6e0dd5c0c85fbe31f85201721871aa9: eswiki: Enable structured mentor list (T310905) (duration: 04m 30s)

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

[operations/mediawiki-config@master] arwiki: Grant enrollasmentor to editor

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

Change 835081 merged by jenkins-bot:

[operations/mediawiki-config@master] arwiki: Grant enrollasmentor to editor

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

Mentioned in SAL (#wikimedia-operations) [2022-09-26T08:47:08Z] <urbanecm@deploy1002> Synchronized wmf-config/InitialiseSettings.php: 0a5486780a0543d7fb1c637d2abe48855e753d13: arwiki: Grant enrollasmentor to editor (T310905) (duration: 03m 40s)

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

[operations/mediawiki-config@master] arwiki: Properly grant enrollasmentor to editor

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

Change 835083 merged by jenkins-bot:

[operations/mediawiki-config@master] arwiki: Properly grant enrollasmentor to editor

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

Mentioned in SAL (#wikimedia-operations) [2022-09-26T08:58:33Z] <urbanecm@deploy1002> Synchronized wmf-config/InitialiseSettings.php: 033ab75917932a6b6e1cda8cc26f5f069448e3b9: arwiki: Properly grant enrollasmentor to editor (T310905) (duration: 03m 46s)

We will take this week to observe how things are going at the pilot wikis, including Spanish Wikipedia's deployment.

We will eventually deploy to all wikis on week 42 (starting Oct 17, 2022).

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

[operations/mediawiki-config@master] [Growth] Enable structured mentor list everywhere

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

Change 849419 merged by jenkins-bot:

[operations/mediawiki-config@master] [Growth] Enable structured mentor list everywhere

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

Mentioned in SAL (#wikimedia-operations) [2022-10-26T13:23:49Z] <urbanecm@deploy1002> Finished scap: Backport for [[gerrit:849419|[Growth] Enable structured mentor list everywhere (T310905)]] (duration: 10m 28s)

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

[operations/mediawiki-config@master] kswiki: Switch to wikitext mentor provider back

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

Change 849588 merged by jenkins-bot:

[operations/mediawiki-config@master] kswiki: Switch to wikitext mentor provider back

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

Mentioned in SAL (#wikimedia-operations) [2022-10-26T14:31:12Z] <urbanecm@deploy1002> Started scap: Backport for [[gerrit:849588|kswiki: Switch to wikitext mentor provider back (T310905)]]

Mentioned in SAL (#wikimedia-operations) [2022-10-26T14:31:36Z] <urbanecm@deploy1002> urbanecm and urbanecm: Backport for [[gerrit:849588|kswiki: Switch to wikitext mentor provider back (T310905)]] synced to the testservers: mwdebug1001.eqiad.wmnet, mwdebug2001.codfw.wmnet, mwdebug2002.codfw.wmnet, mwdebug1002.eqiad.wmnet

Mentioned in SAL (#wikimedia-operations) [2022-10-26T14:35:59Z] <urbanecm@deploy1002> Finished scap: Backport for [[gerrit:849588|kswiki: Switch to wikitext mentor provider back (T310905)]] (duration: 04m 47s)

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

[operations/mediawiki-config@master] Revert "kswiki: Switch to wikitext mentor provider back"

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

Change 849626 merged by jenkins-bot:

[operations/mediawiki-config@master] Revert "kswiki: Switch to wikitext mentor provider back"

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

Mentioned in SAL (#wikimedia-operations) [2022-10-26T16:00:09Z] <urbanecm@deploy1002> Started scap: Backport for [[gerrit:849626|Revert "kswiki: Switch to wikitext mentor provider back" (T310905)]]

Mentioned in SAL (#wikimedia-operations) [2022-10-26T16:00:33Z] <urbanecm@deploy1002> urbanecm and urbanecm: Backport for [[gerrit:849626|Revert "kswiki: Switch to wikitext mentor provider back" (T310905)]] synced to the testservers: mwdebug2001.codfw.wmnet, mwdebug2002.codfw.wmnet, mwdebug1002.eqiad.wmnet, mwdebug1001.eqiad.wmnet

Mentioned in SAL (#wikimedia-operations) [2022-10-26T16:04:34Z] <urbanecm@deploy1002> Finished scap: Backport for [[gerrit:849626|Revert "kswiki: Switch to wikitext mentor provider back" (T310905)]] (duration: 04m 16s)

@Urbanecm_WMF @Trizek-WMF are there some more checkboxes to complete for this task? Should it be in QA?

Urbanecm_WMF changed the task status from In Progress to Open.Oct 31 2022, 6:55 AM

@Urbanecm_WMF @Trizek-WMF are there some more checkboxes to complete for this task? Should it be in QA?

I think it should be in "Watching", with us waiting for a while (let's say, until Nov 05) in case there is any late negative feedback from the communities that would need undeployment, and then we can Resolve it.

Not objecting resolving now if @Trizek-WMF feels that way.

The suggested deadline passed, and no negative feedback was received. Resolving, the deployment's finished.

@Urbanecm_WMF, FYI, an important number of wikis where with the old list: frwikt, sk, sq, sv, sr, te, tr, uk, vi, zh. Your script probably stopped half-way. I manually converted them. One mentor at tr.wp has been asked to clarify their status (not listed on the old list, but in the structured one).