https://bugzilla.wikimedia.org/show_bug.cgi?id=69305
Bug ID: 69305
Summary: Userrights API broken
Product: MediaWiki
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: API
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected], [email protected]
Web browser: ---
Mobile Platform: ---
I get a userrights token
/w/api.php?action=query&list=users&format=json&usprop=rights&ususers=SeleniumEchoUser&ustoken=userrights
Using the token in the response I try to change user rights
/w/api.php?action=userrights&format=json
With post data
user=SeleniumEchoUser&add=bot&token={TOKEN}
I get an invalid token error.
What gives?
--
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l