I’m sure I’m doing something daft, but I can’t figure it out…
I’m making the same API call on Commons of meta=userinfo&uiprop=rights|groups
via
- the ApiSandbox (like this);
- and the mediawiki/oauthclient library (with this consumer).
The groups
returned by both is the same, but the rights
are not.
Specifically, I’m trying to set a file’s caption with 'action=wbsetlabel&language=en&id=M123&value=Blah
etc. but am getting:
You do not have the permissions needed to carry out this action.
The action you have requested is limited to users in the group: *.
Even though *
is definitely listed in my groups (in API calls from either place).
Can someone tell me what I’m doing wrong?