Page MenuHomePhabricator

Claim mentee sends notification to users without access to mentorship
Closed, ResolvedPublicBUG REPORT

Description

found when checking T301981

Steps to reproduce:

  1. A user opts out from Mentorship on Special:Homepage (or doesn't have Mentorship module)
  2. If a mentor claims such users via Special:ClaimMentee, the users will receive a notification about changed mentor.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
kostajh changed the subtype of this task from "Task" to "Bug Report".Apr 27 2023, 7:44 AM
kostajh added subscribers: Trizek-WMF, kostajh.

Seems like we'd want to fix this as it would be confusing to the mentee; moving to current sprint.

@KStoller-WMF @Trizek-WMF @Urbanecm_WMF should we disallow claiming users as mentees if they opted out of mentorship? Or should we allow mentors to override this?

We should not allow mentors to claim mentees who voluntarily opt-out mentorship.

OTOH, we should turn Growth features on for newcomers who claimed while they are in a control group or a similar exclusion group.

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

[mediawiki/extensions/GrowthExperiments@master] ChangeMentor: Do not allow opted-out users to be claimed

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

We should not allow mentors to claim mentees who voluntarily opt-out mentorship.

Agreed -- uploaded a patch.

OTOH, we should turn Growth features on for newcomers who claimed while they are in a control group or a similar exclusion group.

That should be already happening (when the module is disabled by us, rather than by the user). The only case when we don't enable anything is when the claimed user has no Homepage at all (when we do change the mentor, but do not send any notification).

Urbanecm_WMF changed the task status from Open to In Progress.May 2 2023, 6:22 PM
Urbanecm_WMF claimed this task.
Urbanecm_WMF triaged this task as Medium priority.

Change 914378 merged by jenkins-bot:

[mediawiki/extensions/GrowthExperiments@master] ChangeMentor: Do not allow opted-out users to be claimed

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

Urbanecm_WMF changed the task status from In Progress to Open.May 3 2023, 7:55 PM
Urbanecm_WMF moved this task from Code Review to QA on the Growth-Team (Sprint 0 (Growth Team)) board.

Checked in testwiki wmf.8- the issue is fixed.

  • a mentee opts out from Mentorship
  • a mentor attempts to claim that mentee via Special:ClaimMentee, the warning will appear: "Zilant171 opted out of mentorship"

Screen Shot 2023-05-15 at 3.08.19 PM.png (772×1 px, 102 KB)