Last modified: 2008-08-13 02:58:31 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 T17146, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 15146 - Special:ListUsers/XY should be used instead of Special:ListUsers?username=XY
Special:ListUsers/XY should be used instead of Special:ListUsers?username=XY
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Special pages (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-08-12 23:25 UTC by Church of emacs
Modified: 2008-08-13 02:58 UTC (History)
4 users (show)

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


Attachments

Description Church of emacs 2008-08-12 23:25:43 UTC
In analogy to "Special:Contributions/XY" and "Special:Emailuser/XY" it'd be good to use the form "Special:ListUsers/XY" instead of the more complex (and uglier) "Special:ListUsers?username=XY".
Comment 1 charitwo 2008-08-12 23:28:10 UTC
This won't work for usernames who match named groups, and it will be a little difficult to differentiate between user and group this way. Another method may be feasible, but not possible this way due to named groups.
Comment 2 Splarka 2008-08-12 23:30:28 UTC
This should be easily possible, as is done for Special:Contributions/newbies

If the parameter is lowercase and matches a rights group, assume it is the group. If it doesn't match or starts in upperacse, assume it is a username.
Comment 3 Aryeh Gregor (not reading bugmail, please e-mail directly) 2008-08-12 23:36:49 UTC
This is theoretically doable given that users can't currently have lowercase usernames, but as a long-term solution it's a bad idea (since lower-case usernames are likely to become possible at some point in the future).

However, we could easily distinguish group name URLs by using a character for those that's never going to be acceptable in a user name.  For instance, Special:Contributions/[sysop] would be unambiguous.  There are probably less ugly-looking options too.  Reopening for further consideration.
Comment 4 Fran Rogers 2008-08-13 02:45:45 UTC
Added a new syntax in 39269. Special:Listusers can now be called in three ways:

- Special:ListUsers/GROUP - if GROUP is a valid group name; the old syntax.
- Special:ListUsers/USER
- Special:ListUsers/GROUP/USER

'*' and 'user' can be used as a GROUP for all users.

Thus, a user named 'sysop' can be unambigously specified by e.g. 'Special:ListUsers/*/sysop'.
Comment 5 Fran Rogers 2008-08-13 02:58:31 UTC
Oops, there should've been an 'r' in front of that - r39269 - so you can click to see the revision in question. :)

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


Navigation
Links