Page MenuHomePhabricator

Disallow entering a temporary user name for mute email preferences
Closed, ResolvedPublic

Description

Background

Special:Preferences allows muting emails from specific users:

image.png (86×909 px, 12 KB)

Temporary users do not have access to email, but they can still be added to the list of users to mute. (For comparison, Special:Mute/<TempUserName> doesn't allow muting emails from temp users.)

Solution

Following T332030: Update user name widgets config to accept or deny temporary user names, configure this input to disallow temporary user names.

Event Timeline

Mimurawil removed Mimurawil as the assignee of this task.
Mimurawil subscribed.
Mimurawil changed the task status from Open to In Progress.Jul 18 2024, 11:46 PM
Mimurawil claimed this task.

Change #1063245 had a related patch set uploaded (by Amdrel; author: Amdrel):

[mediawiki/core@master] Disallow entering a temporary user for mute email preferences

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

Change #1063245 merged by jenkins-bot:

[mediawiki/core@master] Disallow entering a temporary user for mute email preferences

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

Djackson-ctr subscribed.

QA has been completed, and the new code change is functioning as expected (users will not be able to save Temporary Usernames for Mute Email Preferences (For Example: the text field for Prohibit these users from emailing me will not allow Temporary Usernames to be saved).