Page MenuHomePhabricator

underscores in usernames are not recognized
Closed, DeclinedPublic

Description

When I tried to use the username I registered in wikitech.wikimedia.org (Ash_Crow), it didn't work and I had to replace the underscore with a space to be able to login on Gerrit.


Version: wmf-deployment
Severity: normal

Details

Reference
bz48774

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 1:28 AM
bzimport added a project: Gerrit.
bzimport set Reference to bz48774.
bzimport added a subscriber: Unknown Object (MLST).

AFAIK MediaWiki doesn't support underscores in usernames. It converts them to spaces.

You can use either in MW, it should be transparent.

Reopening so I remember to look at this.

Aklapper triaged this task as Lowest priority.Mar 23 2015, 6:59 PM

I wonder where it would be more interesting to handle underscores.

At LDAP level, with a patch there? In a LDAP middlware acting as proxy to only replace _ by spaces? In each or a selection of apps?

No.

And I'm actually not convinced to actually fix this. Nothing else using LDAP in our ecosystem does it.

Just go ahead and abandon that.