Page MenuHomePhabricator

When structured mentor list is enabled, Special:QuitMentorship does not let mentors with no mentees to quit
Closed, ResolvedPublic

Description

The Growth-Team is working on a structured mentor list as part of T264343. One of this project's consequences is that non-admin mentors will not be able to edit the mentor list directly anymore, as it is stored in NS_MEDIAWIKI as MediaWiki:GrowthMentors.json. Instead, they use Growth team-prepared interfaces to change their mentorship aspects, such as introduction message, number of mentees they want to be assigned to or enrolling/quitting.

When structured mentor list is enabled (as of writing, only the case for beta enwiki, cf. T312102), Special:QuitMentorship does not let mentors with no mentees to quit (it says "You currently don't have any mentees."). Since mentors cannot take their name off the mentor list directly, Special:QuitMentorship should not take the number of mentees into effect.

Originally reported by @KStoller-WMF in T312102#8058414.

Acceptance criteria
  • When the structured mentor list is enabled, mentors with no mentees assigned are able to quit via Special:QuitMentorship

Event Timeline

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

Release blocker for T264343.

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

[mediawiki/extensions/GrowthExperiments@master] QuitMentorship: Do not check if a mentor has mentees with structured list

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

Change 812040 merged by jenkins-bot:

[mediawiki/extensions/GrowthExperiments@master] QuitMentorship: Do not check if a mentor has mentees with structured list

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

Checked in betalabs - works as expected. The production (checked on testwiki wmf.22) doesn't have the structured mentor list.

Checked in betalabs - works as expected. The production (checked on testwiki wmf.22) doesn't have the structured mentor list.

Thanks. That's expected (for now), until the deployment (T310905) passes the testwiki step.

Etonkovidova updated the task description. (Show Details)

Checked in testwiki wmf.23 - works as expected.