Last modified: 2013-12-16 19:30:45 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 T34493, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 32493 - API should allow change of userrights using user id
API should allow change of userrights using user id
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
1.20.x
All All
: Low enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
: easy
Depends on:
Blocks: 19195
  Show dependency treegraph
 
Reported: 2011-11-19 16:16 UTC by Umherirrender
Modified: 2013-12-16 19:30 UTC (History)
9 users (show)

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


Attachments

Description Umherirrender 2011-11-19 16:16:48 UTC
Please allow changing userrights by userid, not username. (action=userrights)

Thanks.
Comment 1 Kunal Mehta (Legoktm) 2013-12-14 20:41:48 UTC
If you set the 'username' field as "#1111" where 1111 is the user id, it'll work.
Comment 2 Gerrit Notification Bot 2013-12-14 20:48:55 UTC
Change 101502 had a related patch set uploaded by Legoktm:
Explicitly support user id in action=userrights

https://gerrit.wikimedia.org/r/101502
Comment 3 MZMcBride 2013-12-14 20:50:38 UTC
(In reply to comment #1)

But I imagine the request here is to add a userid parameter to action=userrights, which you seem to have understood. ;-)
Comment 4 Umherirrender 2013-12-14 20:54:17 UTC
(In reply to comment #1)
> If you set the 'username' field as "#1111" where 1111 is the user id, it'll
> work.

Than this needs documentation for the parameter on api.php
It is a possible way to avoid a new parameter.
Comment 5 MZMcBride 2013-12-14 20:56:01 UTC
(In reply to comment #4)
> Than this needs documentation for the parameter on api.php
> It is a possible way to avoid a new parameter.

It probably makes more sense to deprecate the "#<userid>" trick, maybe.
Comment 6 Brad Jorsch 2013-12-16 19:28:14 UTC
Change merged. It should be deployed with 1.23wmf8, see https://www.mediawiki.org/wiki/MediaWiki_1.23/Roadmap for the schedule.
Comment 7 Gerrit Notification Bot 2013-12-16 19:30:45 UTC
Change 101502 merged by jenkins-bot:
Explicitly support user id in action=userrights

https://gerrit.wikimedia.org/r/101502

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


Navigation
Links