# Ticket #10092 (new enhancement)

Opened 1 year ago

Reported by: Assigned to: rjollos rjollos normal TracHacks normal user registration check hasienda, otaku42 0.11

### Description

This ticket captures some discussion among otaku42, rjollos and hasienda regarding problems with certain usernames on t-h.o. Specifically, dev and one were pointed out to be problematic.

Some solutions were proposed:

1. Prevent some common words from being used as usernames (e.g. admin).

It was also suggested that we might increase the min length for auto-wikification.

Some thought should also be given to how we will deal with improper usernames that we don't think of beforehand and preemptively blacklist. If we can confirm that they are really spam, then we just delete the accounts, but if they are not spam, perhaps we can just immediately contact the user and help them to change their username.

## Change History

### (follow-up: ↓ 2 ) 06/13/12 21:17:48 changed by hasienda

• keywords set to user registration check.

Thanks for capturing this.

The new user procedure has seen significant changes, however I've not yet implemented the REGEXP feature (#5295), that would come close to proposal no 1. A separate blacklist would certainly be preferred for that, or a dedicated wiki page.

Not implemented is valid for the "minimum length of username" requirement, but while this is a smart idea indeed, I don't remember such a requested until now.

### (in reply to: ↑ 1 ) 06/14/12 00:16:54 changed by rjollos

The new user procedure has seen significant changes, however I've not yet implemented the REGEXP feature (#5295), that would come close to proposal no 1. A separate blacklist would certainly be preferred for that, or a dedicated wiki page.

My initial thought is, I like the idea of the dedicated wiki page, patterned after the BadContent page.

### 07/28/12 00:59:22 changed by rjollos

• cc set to hasienda, otaku42.
• owner changed from hasienda, otaku42 to rjollos.

Here are the current autowikify settings:

[autowikify]
minimum_length = 3


We could set minumum_length to 4, or add dev and one to the exclude field.

Thoughts?

### 07/28/12 14:43:35 changed by hasienda

+1 for raising the bar even to 5 characters --> minimum_length = 5

So we can delete "add", "type", "ugly" and more from the current list afterwards and forget about the words we discussed earlier too. Seems like most branch version numbers fall into the black-listed category, and I think that's fine, isn't it?

Some more candidates for the blacklist (applies to an upcoming blacklist for AccountManager as well):

From looking through current wiki page index I see, there is a lot more, especially regarding user names. But this is a different topic, not strictly related to auto-wikification.

There are just some suggestion on invalid usernames:

• less than 4 chars, possibly more - handle exceptions (well-known hacker acronyms etc.) on request to admins
• numbers-only
• numbers mixed with (common) special chars like '#', '-', '_'
• bad language - exceptions like above, if pre-existing

I've not made up my mind on Unicode names. Should we allow them at all? They may introduce a bunch of problems, but OTOH Unicode support is strong in Trac >= 0.12, so we could feel forced to fix plugins instead, as we get aware of them. Hm, the longer I think it's becoming more of a challenge (good).

### 07/28/12 15:14:07 changed by hasienda

Just started to edit a username policy proposal wiki page.

### 07/28/12 17:16:16 changed by hasienda

Status update:

Manual review of all user names (wiki pages tagged with user) beginning with [A-Za] done, stopped now - waiting for some feedback on if/how to proceed with this

### 09/10/12 02:01:56 changed by hasienda

Status update:

With REGEXP available since [11960] there are blacklisting and moderation left for implementation so far. Anyone willing to figure out the correct regular expression for no. 2 + 3 in the list of requirements?