Page MenuHomePhabricator

Turn mentorship off on all wikis where the community has not yet setup a mentorship list
Closed, ResolvedPublic

Description

With the deployment of the structured mentor list to all Wikipedias, any user at a wiki without an already existing Growth structured mentorship system can sign up to be a mentor. Then this user would be the only mentor available for all newcomers (with the risk of being overwhelmed).

To provide some security with a confirmation step, @Urbanecm_WMF and I agreed on turning mentorship off on all wikis where the community has not yet setup a mentorship list.

Communities with no existing Growth mentorship program will then have to:

  1. turn mentorship on at Special:EditGrowthConfig
  2. individually sign up at Special:EnrollAsMentor (through Special:MentorDashboard)

Event Timeline

Urbanecm_WMF closed this task as Resolved.EditedOct 19 2022, 6:57 AM

Done.

List of affected wikis:

[urbanecm@stat1005 ~/tmp]$ echo "select database_code from mentor_lists join canonical_data.wikis on domain_name=domain where auto_list='' and manual_list='';" | hive --database=urbanecm_growth > wikis_with_no_mentor_list.txt
[urbanecm@stat1005 ~/tmp]$

Making the change:

[urbanecm@mwmaint1002 ~]$ while read wiki; do
> mwscript extensions/GrowthExperiments/maintenance/changeWikiConfig.php --wiki=$wiki --summary='Disabling mentorship for wikis with no list of mentors ([[:phab:T321056]])' --json 'GEMentorshipEnabled' 'false'; done < wikis_with_no_mentor_list.txt
[urbanecm@mwmaint1002 ~]$

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

[operations/mediawiki-config@master] [growth] Turn mentorship off by default

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

Change 844428 merged by jenkins-bot:

[operations/mediawiki-config@master] [growth] Turn mentorship off by default

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

Mentioned in SAL (#wikimedia-operations) [2022-10-19T07:40:40Z] <urbanecm@deploy1002> Started scap: Backport for [[gerrit:844428|[growth] Turn mentorship off by default (T321056)]]

Mentioned in SAL (#wikimedia-operations) [2022-10-19T07:41:03Z] <urbanecm@deploy1002> urbanecm and urbanecm: Backport for [[gerrit:844428|[growth] Turn mentorship off by default (T321056)]] synced to the testservers: mwdebug2002.codfw.wmnet, mwdebug1002.eqiad.wmnet, mwdebug1001.eqiad.wmnet, mwdebug2001.codfw.wmnet

Mentioned in SAL (#wikimedia-operations) [2022-10-19T07:45:54Z] <urbanecm@deploy1002> Finished scap: Backport for [[gerrit:844428|[growth] Turn mentorship off by default (T321056)]] (duration: 05m 14s)