Last modified: 2013-06-26 04:22:09 UTC
Created attachment 12045 [details] 2 pictures show entered text and result When creating a new account and entering a new user name with no upper case letters, the result when the account is created will be an account with an upper case first letter of the account name. Example: entered username: david wright resulting account: David wright The new account name is displayed on the Welcome page. See attachment of the creating of an account and the result.
I'm tempted to say feature, not bug.
setting $wgCapitalLinks = false can fix this, otherwise you will run into conflicts between username/page name constraints
No, user namespace is enforced to be in upper case, see MWNamespace::$alwaysCapitalizedNamespaces = array( NS_SPECIAL, NS_USER, NS_MEDIAWIKI );
Each username is also a page in the User: namespace. As other commenters point out, you can change the capitalization rules for some namespaces, but this comment in includes/Namespace.php before that code is pretty definitive: * These namespaces should always be first-letter capitalized, now and * forevermore. Historically, they could've probably been lowercased too, * but some things are just too ingrained now. :) You can use lowercase [[User:david wright]] in wiki text and it will resolve fine, but when MediaWiki presents your username it'll use David wright. This is an unexpected fact of MediaWik that some wikis try to explain it in a blizzard of rules and guidelines about usernames. Perhaps the create account form could show the username you'll actually get ("David") as you type. So this bug is valid, but I'm being honest and marking WONTFIX.