Page MenuHomePhabricator

Mentor dashboard: Ensure temporary accounts are not listed in Mentee overview.
Closed, ResolvedPublic

Description

User story & summary:

As a Mentor, I want to only see regular account holders in the Mentee overview, so that I can support active mentees rather than temporary accounts.

Background & research:

This task is important because temporary account holders will not have access to Growth features like mentorship.

Acceptance Criteria:

Given I'm a Mentor,
When I view the Mentor dashboard's Mentee overview,
Then I don't see temporary accounts listed

Event Timeline

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

[mediawiki/core@master] TempUserConfig: Add getMatchPattern

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

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

[mediawiki/extensions/GrowthExperiments@master] Mentee overview: Exclude temporary accounts

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

Change 944908 merged by jenkins-bot:

[mediawiki/core@master] TempUserConfig: Add getMatchPattern

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

Change 944909 merged by jenkins-bot:

[mediawiki/extensions/GrowthExperiments@master] Mentee overview: Exclude temporary accounts

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

Etonkovidova added subscribers: Urbanecm, Etonkovidova.

Checked in betalabs

  • there was only one case when a temp user has a mentor:

https://de.wikipedia.beta.wmflabs.org/w/api.php?action=query&format=xml&list=growthmentormentee&gemmmentor=Dom_walden
The user account *Unregistered 2505 was created before the fix; currently mentors cannot claim temp users as mentees.

  • when a mentor attempts to claim a temp user as a mentee on Special:ClaimMentee form
    • a temp user name is not recognized (the correct behavior)
    • a mentor is able to click on 'Submit' button (Submit button is always active)
    • the generic messages "There are problems with some of your input." and "This value is required." are displayed.

The 'Submit' button should not be active if there is no valid input. For example, Preferences-Notifications Mute users features doesn't Submit active when non-exisiting usernames are entered. Filed as T345019: [minor] Special:ClaimMentee - improvements for handling invalid input . @Urbanecm - please take a look at the task; it's more like suggestions than a bug report.