HomePhabricator

Add ':' to $wgInvalidUsernameCharacters

Authored by Legoktm.

Description

Add ':' to $wgInvalidUsernameCharacters

This will prevent the creation of new users with a colon character
in their username. Existing accounts or system users will not be affected.

Colons themselves are not an issue, however they are used as the delimiter
for namespaces and interwikis. In a global account type system where there
are wikis with multiple languages, usernames that begin with a localized
namespace prefix will be invalid on some wikis and not others, which is
problematic. Preventing the usage of colons avoids that issue entirely.

Bug: T98757
Change-Id: I3c823325e209b2c48c1eee1fbc82a130c768cd2c

Details

Committed
bd808May 12 2015, 8:49 PM
Parents
rMW2e89500994aa: Merge "Removed executeReadyPeriodicTasks() method"
Branches
Unknown
Tags
Unknown
References
refs/changes/57/210257/3
ChangeId
I3c823325e209b2c48c1eee1fbc82a130c768cd2c