Please allow changing userrights by userid, not username. (action=userrights)
Thanks.
Version: 1.20.x
Severity: enhancement
Please allow changing userrights by userid, not username. (action=userrights)
Thanks.
Version: 1.20.x
Severity: enhancement
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Open | Feature | None | T29810 ID related API requests (tracking) | ||
Resolved | Anomie | T21195 Make user IDs more readily available with the API | |||
Resolved | None | T34493 API should allow change of userrights using user id |
Change 101502 had a related patch set uploaded by Legoktm:
Explicitly support user id in action=userrights
(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. ;-)
(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.
(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.
Change merged. It should be deployed with 1.23wmf8, see https://www.mediawiki.org/wiki/MediaWiki_1.23/Roadmap for the schedule.