Wikisage, the free encyclopedia of the second generation, is digital heritage

MediaWiki talk:Usernameblacklist: Difference between revisions

From Wikisage
Jump to navigation Jump to search
(Very short usernames)
 
 
Line 6: Line 6:
* ^.{,2}$
* ^.{,2}$
The '^' and '$' are placeholders for the start and end of the username (in general of the text to be matched). [[User:Erik Warmelink|Erik Warmelink]] 02:59, 17 August 2008 (UTC)
The '^' and '$' are placeholders for the start and end of the username (in general of the text to be matched). [[User:Erik Warmelink|Erik Warmelink]] 02:59, 17 August 2008 (UTC)
:Yes, I know the first blocks everything. :)
:I'll test your suggestion, thanks. [[User:Guido den Broeder|Guido den Broeder]] 12:08, 17 August 2008 (UTC)

Latest revision as of 12:08, 17 August 2008

Very short usernames

Hi, Guido, on nl.wikisage.org you added

  • .{1,2}

but as far as I know PHP regexps that regexp will block all usernames containing 1 or 2 characters (and most usernames will contain at least one character). As an uninformed guess I would try

  • ^.{,2}$

The '^' and '$' are placeholders for the start and end of the username (in general of the text to be matched). Erik Warmelink 02:59, 17 August 2008 (UTC)

Yes, I know the first blocks everything. :)
I'll test your suggestion, thanks. Guido den Broeder 12:08, 17 August 2008 (UTC)