Page MenuHomePhabricator

Check for invalid usernames
Closed, DuplicatePublic

Description

We discovered User:Ff02::3 (https://meta.wikimedia.org/wiki/Special:CentralAuth/Ff02::3) exists today. We should do a check to see if there are any other "IPv6 users" in our database (registered before T39884 was fixed).

Cf. T2323.

Event Timeline

Legoktm raised the priority of this task from to Needs Triage.
Legoktm updated the task description. (Show Details)
Legoktm subscribed.
Legoktm renamed this task from Check for IPv6 usernames to Check for invalid usernames.Feb 13 2015, 9:33 PM
Legoktm claimed this task.
Legoktm set Security to None.

Running a script across all wikis to look for invalid usernames...

gerritbot subscribed.

Change 190565 had a related patch set uploaded (by Legoktm):
Add checkInvalidUsernames.php script

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

Patch-For-Review

Found 218 invalid usernames, some amusing like ~~~~ and other obvious attack accounts that are probably suppressed. Need to figure out what to do with them...

This looks like the same issue as T5507, which was filed by Ævar (shows how old this issue is).

Why check for canonical username instead of User::isValidUserName()?

In T89495#1038580, @TTO wrote:

This looks like the same issue as T5507, which was filed by Ævar (shows how old this issue is).

Indeed. The problem arises every time a new pattern is made invalid or normalised.

Change 190565 abandoned by Legoktm:
Add checkInvalidUsernames.php script

Reason:
I forgot to abandon this, it's a dupe of checkUsernames.php which is already in core

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

  NODES
Note 1
Project 3
USERS 2