Last modified: 2006-05-19 17:51:08 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 5187 - Users unable to login when username contains unicode spaces; unable to change username
Users unable to login when username contains unicode spaces; unable to change...
Product: Wikimedia
Classification: Unclassified
Site requests (Other open bugs)
All All
: High major with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
: patch
Depends on:
  Show dependency treegraph
Reported: 2006-03-07 03:19 UTC by Makoto Imaizumi [Suisui]
Modified: 2006-05-19 17:51 UTC (History)
1 user (show)

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

Bypassing username validation in Special:Renameuser (1.41 KB, patch)
2006-05-19 17:11 UTC, Tietew

Description Makoto Imaizumi [Suisui] 2006-03-07 03:19:56 UTC
Several days ago, brion added new rule to username that username no longer can
include unicode spaces.

There's some username having unicode space on ja, (It's common thing in CJK names)
and a user request me to change his username without space cause he cannot login

But, renameuser doesn't accept "from uasername" with unicode space either. so I
couldn't change his name.

I agree with that there's no username with spaces anymore, but we need a way to
change them to something else who alredy have spaces in his username.

how can I solve it?

or is there a only way to wait devs do something for it?
Comment 1 Antoine "hashar" Musso (WMF) 2006-04-28 18:01:45 UTC
You have to get a sysadmin to update the database and change the unicode
space to a standard space then he will have to regenerate the password (or
the user need to ask a new password if he got an email address configured).

Sorry for the delay, i believe its fixed anyway.

Please get in touch with a sysadmin either by mail: wikitech-l on or irc://
Comment 2 Tietew 2006-05-19 17:11:15 UTC
Created attachment 1792 [details]
Bypassing username validation in Special:Renameuser

Added $validate parameter to User::newFromName defaults to true,
which can be false if username validation is not needed.

Bypass username validation of old username using above option.
Comment 3 Brion Vibber 2006-05-19 17:51:08 UTC
Applied on trunk (r14295, r14296)

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