Page MenuHomePhabricator

Special:ClaimMentee suggests temporary account usernames in the "Mentee's username" field
Closed, ResolvedPublic

Description

The Special:ClaimMentee page will suggest temporary account usernames in the dropdown form for the "Mentee's username" user multi-select. It should not suggest temporary accounts as they cannot be claimed as a mentee.

Steps to replicate the issue
  1. Enable temporary accounts on your wiki
  2. Create a temporary account by making an edit while logged out
  3. Log into an account which has rights to be a mentor
  4. Open Special:ClaimMentee
  5. Type ~ into the username field

What happens:
The username dropdown field suggests a temporary account username

What should have happened instead:
No temporary accounts should be suggested in the dropdown field

Event Timeline

Change #1090527 had a related patch set uploaded (by Michael Große; author: Michael Große):

[mediawiki/extensions/GrowthExperiments@master] Don't show temp accounts on Special:ClaimMentee

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

Urbanecm_WMF subscribed.

Thanks @Dreamy_Jazz for noticing this and thanks @Michael for the quick fix. Moving to QA!

Change #1090527 merged by jenkins-bot:

[mediawiki/extensions/GrowthExperiments@master] Don't show temp accounts on Special:ClaimMentee

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

For comparison:

before the fixafter the fix
enwiki beta
Screen Shot 2024-11-12 at 12.58.59 PM.png (1,944×1,328 px, 237 KB)
Screen Shot 2024-11-12 at 9.45.06 PM.png (2,096×764 px, 93 KB)
testwiki wmf.2
Screen Shot 2024-11-12 at 12.56.45 PM.png (2,138×1,310 px, 240 KB)
testwiki wmf.4 {F57722805}