Page MenuHomePhabricator

Permit all lowercase usernames
Closed, ResolvedPublic

Description

MediaWiki should permit all lowercase usernames. There is [[mw:$wgCapitalLinkOverrides]], but it currently doesn't apply to User:, Special: and MediaWiki: namespaces.

Per IRC (MediaWiki-General):

<route> i've just modded 1.20.5 to permit all lowercase usernames, to do this i've removed NS_USER from the $alwaysCapitalizedNamespaces array in Namespace.php and i've removed calls to $wgContLang->ucfirst( $name ) in User.php. i've created a user and it seems to have worked as i'd expect -- is there anything i might be overlooking that could cause problems in future?

This was first allowed when the feature was implemented (r57558), then disallowed back (r57559, r58401, r60063) with unclear comments about MediaWiki crashing. This was back in 2009, though, and a lot might have changed.

The user provided the patch he used: http://pastebin.com/1C1iTbpU


Version: 1.22.0
Severity: enhancement

Details

Reference
bz48640

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 1:18 AM
bzimport set Reference to bz48640.
bzimport added a subscriber: Unknown Object (MLST).
  • This bug has been marked as a duplicate of bug 26396 ***

elliotbrown2 wrote:

Paste expired, but retrieved from google cache for anyone who comes across this and wants to use it (also linked from the merged bug, but it's fairly buried there): http://pastebin.com/JVxvhnhf