Last modified: 2011-08-19 19:13:01 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 T25601, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 23601 - Special:GlobalUsers doesn't properly normalize underscores in usernames
Special:GlobalUsers doesn't properly normalize underscores in usernames
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
CentralAuth (Other open bugs)
unspecified
All All
: Normal minor (vote)
: ---
Assigned To: Nobody - You can work on this!
http://meta.wikimedia.org/w/index.php...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-05-19 23:17 UTC by Ilmari Karonen
Modified: 2011-08-19 19:13 UTC (History)
2 users (show)

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


Attachments

Description Ilmari Karonen 2010-05-19 23:17:43 UTC
If a username with underscores is passed to Special:GlobalUsers, the corresponding user won't be shown in the list.  However, the form on the results page will show the username correctly normalized, and clicking the submit button again will produce the expected output.

The immediate issue could be fixed by adding an extra normalization step, e.g. using Title::makeTitleSafe() like Special:ListUsers does.  However, the actual underlying problem is that the way the GlobalUsersPager class extends UsersPager is messed up and needlessly (and sometimes incorrectly) reimplements much of the parent class's functionality.  Simply removing some of the redundant code and instead reusing the existing features of the parent class would fix this bug as well as various other inconsistencies (such as bug 19131, I suspect).
Comment 1 Bugmeister Bot 2011-08-19 19:13:01 UTC
Unassigning default assignments. http://article.gmane.org/gmane.science.linguistics.wikipedia.technical/54734

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


Navigation
Links