Add ':' to $wgInvalidUsernameCharacters
authorKunal Mehta <legoktm@gmail.com>
Tue, 12 May 2015 00:59:07 +0000 (17:59 -0700)
committerBryanDavis <bdavis@wikimedia.org>
Tue, 12 May 2015 20:49:45 +0000 (20:49 +0000)
commit9aa5cd1b1c619a89687d4e6441f5220b50670072
tree7842b84dc6fa46ee9217187232c8a0ea355c6054
parent2e89500994aa26f54c64b817ace7db23f1236f83
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
RELEASE-NOTES-1.26
includes/DefaultSettings.php