Last modified: 2010-05-15 15:59:52 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 T21612, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 19612 - how to display underscore in username.
how to display underscore in username.
Status: RESOLVED DUPLICATE of bug 3516
Product: MediaWiki
Classification: Unclassified
Interface (Other open bugs)
1.11.x
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-07-09 06:38 UTC by Mitul Koradia
Modified: 2010-05-15 15:59 UTC (History)
0 users

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


Attachments

Description Mitul Koradia 2009-07-09 06:38:39 UTC
I am using MediaWiki software version 1.11.0 and updated it to authenticate using LDAP. Now some of our users are having username with "_" underscore. MediaWiki is replacing underscore with spaces. How to display users with underscore as it is on user interface.

Is there any specific place in code from where i can ignore replacement of spaces with underscore in username.
Comment 1 Splarka 2009-07-09 06:44:23 UTC

*** This bug has been marked as a duplicate of bug 3516 ***
Comment 2 Mitul Koradia 2009-07-09 06:55:12 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