Last modified: 2011-03-13 18:04:48 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 T5516, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 3516 - Users with underscores in their usernames are unable to log in
Users with underscores in their usernames are unable to log in
Status: RESOLVED WONTFIX
Product: MediaWiki
Classification: Unclassified
User login and signup (Other open bugs)
1.5.x
All All
: Lowest major (vote)
: ---
Assigned To: Nobody - You can work on this!
:
: 19612 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-09-20 11:47 UTC by Sascha Brockmeyer
Modified: 2011-03-13 18:04 UTC (History)
1 user (show)

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


Attachments

Description Sascha Brockmeyer 2005-09-20 11:47:16 UTC
wrong Username; "_" underline are not underline 

Hi!
I have a big problem with the LogIn. Everytime users LogIn with an "_" underline in the name, cant 
LogIn. the system ignors the sign. For example the user Brockmeyer_S wants to log in and the system 
answers "User Brockmeyer S unknown" why?

And where can it changed?
Comment 1 Rob Church 2005-09-20 14:41:56 UTC
The underscore character isn't supported within usernames, as it is used to
denote spaces within page titles and so forth.
Comment 2 Sascha Brockmeyer 2005-09-21 05:10:49 UTC
But how can i change it?
Usernames must accept underlines
Comment 3 Brion Vibber 2005-09-21 05:44:29 UTC
The wiki's title normalization considers spaces and underscores 
equivalent, and usernames are a subset of page titles. If you 'need' 
underscores, this implies you are using some kind of external 
authentication system. You'll need to modify that system to work correctly 
within the wiki, or else make significant hacks to how your wiki works.
Comment 4 Sascha Brockmeyer 2005-09-21 05:46:09 UTC
but in the Version 1.4 of MediaWiki Underscores in Names works.
Comment 5 Rob Church 2005-09-21 17:52:24 UTC
Yes, and that's since been phased out in order to make the behaviour consistent
across the software. I don't see underscores in usernames being supported in a
future version. Can't you modify the authentication system you are using, as
brion proposed?
Comment 6 Sascha Brockmeyer 2005-09-22 05:08:19 UTC
No its an Global Authentication System of a company with more than 5.000
Accounts. in 4 countrys. And i dont belive that they change it for an access to
the own Wiki. 

Mh than its esayer to change the MediaWiki i ll hope
Comment 7 Rob Church 2005-09-22 11:09:32 UTC
As Brion said, you'll have to hack away at it to get it to work. Perhaps if
they're that large a company, and they want to use the software, they can use
some in-house  coders to do the modifications? Regardless, the point here is
that it is not up to us to modify the software to fit the express request of any
organisation other than the Wikimedia foundation; the software is "provided
as-is in the hopes that it will be useful" remember. And I don't see us changing
the way we handle underscores and possibly crippling our own projects. Sorry.
Comment 8 Splarka 2009-07-09 06:44:23 UTC
*** Bug 19612 has been marked as a duplicate of this bug. ***
Comment 9 Mitul Koradia 2009-07-09 06:53:55 UTC
It is ok that mediawiki is not accepting underscore. My user name with underscore and mediawiki is working fine. i just have a problem with displaying them. For eg.

My Username is: Test_Account

If i tried login using that username it works fine with our LDAP code in mediawiki but when we are creating that users if it is not in mediawiki database it store as "Test Account" (without underscore) Now if i want to by pass that logic that is replacing _ in username what needs to be done and where?

If this is not possible to modify that logic then how can we just replace back the underscore in username with space at the time of display. 

If you can help me to resolve this issue I will be thank full to you.

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


Navigation
Links