[Mediawiki-l] alphanumeric characters only in usernames

Rob Church robchur at gmail.com
Wed May 9 04:10:50 UTC 2007


On 09/05/07, Philip Beach <beachboy4231 at gmail.com> wrote:
> In an effort to combat vandals, is there a way to limit new user names
> to alphanumeric characters only?

You could use the Username Blacklist extension
(http://www.mediawiki.org/wiki/Extension:Username_Blacklist) with an
appropriate regular expression; something like

[^a-zA-Z0-9]+

ought to do it.


Rob Church



More information about the MediaWiki-l mailing list