Last modified: 2013-12-16 19:30:45 UTC
Please allow changing userrights by userid, not username. (action=userrights) Thanks.
If you set the 'username' field as "#1111" where 1111 is the user id, it'll work.
Change 101502 had a related patch set uploaded by Legoktm: Explicitly support user id in action=userrights https://gerrit.wikimedia.org/r/101502
(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.
Change 101502 merged by jenkins-bot: Explicitly support user id in action=userrights https://gerrit.wikimedia.org/r/101502