Page MenuHomePhabricator

Create a function that checks if a username is a temporary user in JS
Open, Needs TriagePublic

Description

Following on T327317, which introduces a way to check if a global session user is a temporary, there is still a need to create a function in Javascript that checks if a given username is a temporary user.

AC

  • Create a function that checks if a username given is a temporary username
  • write tests for the fucntion.

Event Timeline

Change 883691 had a related patch set uploaded (by TsepoThoabala; author: TsepoThoabala):

[mediawiki/core@master] Create a function that checks if a username is a temporary user in JS

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