Last modified: 2006-05-19 17:51:08 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 T7187, the corresponding Phabricator task for complete and up-to-date bug report information.
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...
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
Site requests (Other open bugs)
unspecified
All All
: High major with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
: patch
Depends on:
Blocks:
  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: ---


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

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
now.

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
http://mail.wikimedia.org/ or irc://irc.freenode.net/wikimedia-tech
Comment 2 Tietew 2006-05-19 17:11:15 UTC
Created attachment 1792 [details]
Bypassing username validation in Special:Renameuser

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

extensions/Renameuser/SpecialRenameuser.php:
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.


Navigation
Links