Last modified: 2013-06-26 04:22:09 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T48974, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 46974 - User names always begin with an uppercase letter, even if not registered as such.
User names always begin with an uppercase letter, even if not registered as s...
Status: RESOLVED WONTFIX
Product: MediaWiki
Classification: Unclassified
User login and signup (Other open bugs)
1.22.0
All All
: Low minor (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-04-06 21:45 UTC by JA_Harrison
Modified: 2013-06-26 04:22 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
2 pictures show entered text and result (130.18 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2013-04-06 21:45 UTC, JA_Harrison
Details

Description JA_Harrison 2013-04-06 21:45:18 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.
Comment 1 Alex Monk 2013-04-06 22:03:38 UTC
I'm tempted to say feature, not bug.
Comment 2 Betacommand 2013-04-06 22:22:13 UTC
setting $wgCapitalLinks = false can fix this, otherwise you will run into conflicts between username/page name constraints
Comment 3 db [inactive,noenotif] 2013-04-20 08:00:45 UTC
No, user namespace is enforced to be in upper case, see MWNamespace::$alwaysCapitalizedNamespaces = array( NS_SPECIAL, NS_USER, NS_MEDIAWIKI );
Comment 4 spage 2013-06-26 04:22:09 UTC
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.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links