Page MenuHomePhabricator

Trying to create a user on Special:CreateAccount which is named like temp user a user exists message is shown
Closed, DeclinedPublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

  • Go to Special:CreateAccount as anon
  • Type in a existing temp user account like *Unregistered 1

What happens?:
The message "Username entered already in use" (userexists) is shown

What should have happened instead?:
I expect the message "You have not specified a valid username." (noname) which is shown when using a not existing temp user name like *Unregistered 1234
As every name similiar to temp users are invalid, it is not useful to say something exists in that pattern.

Software version (skip for WMF-hosted wikis like Wikipedia): master

Event Timeline

This is an edge case that we unfortunately can not prioritize at this point, as long as we are preventing the mimicked to tempaccount accounts to be created.

This is an edge case that we unfortunately can not prioritize at this point, as long as we are preventing the mimicked to tempaccount accounts to be created.

@OKryva-WMF, forgive me if I'm wrong; but if this is an issue that should be fixed (but just can't be worked on by Trust and Safety Product Team at the moment), shouldn't it be set to a low priority/have TSP's tag removed, rather than declining the task itself (which IIUC indicates that a patch to fix this behaviour would not be accepted even if one was uploaded to Gerrit)? Or am I misunderstanding something, and the current behaviour is intended/fine how it is? /genq

but if this is an issue that should be fixed

I would argue that we shouldn't need to fix it. No account creations could actually succeed with a username using the temporary account format, so what error message is displayed seems not particularly important.

To put it another way, all that could be done for this ticket is to either:

  • Add a custom error message to indicate you cannot create a named account using a temporary account username pattern
  • Reorder the error checks so that the invalid username check comes before the existing username check

The second option wouldn't improve the understanding of the user (i.e. being told the username is invalid without why isn't that helpful in choosing another username).

The first option could be an improvement, but I would argue that it's unlikely someone would be creating an account that has a username starting with ~2. Furthermore, this is not the intended purpose of this task because it's asking to use the invalid username check first. Therefore, if this was something to work on it's probably better handled in a new ticket?

Fair enough :) I just wanted to check, as I (possibly incorrectly) interpreted the previous comment as being a decline more due to the task not being a priority for Trust and Safety Product Team, than necessarily on the merits/desirability of the task itself. Happy to defer to you given what you've outlined above!