Page MenuHomePhabricator

Allow API editing
Closed, ResolvedPublic

Description

Currently, API editing isn't possible and if you try to do it, it throws an error: "You do not have permission to edit pages in the Widget namespace.".

Special:ListGrants lists all the bot API rights. But it lacks editwidgets API right because MediaWiki extension WIdgets does not declare any grants in its extension.json.

The API right therefore cannot be granted to a bot under Special:BotPasswords.


Reported privately by @adrelanos, he can provide more details if needed.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Change 815399 had a related patch set uploaded (by Zoranzoki21; author: Zoranzoki21):

[mediawiki/extensions/Widgets@master] Add grant which will be available on Special:ListGrants

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

I am using the attached patch for 2 weeks now in production and it works great.

Could you have a look at this tiny patch please? @Yaron_Koren

Change 815399 merged by jenkins-bot:

[mediawiki/extensions/Widgets@master] Add grant which will be available on Special:ListGrants

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

Kizule moved this task from Backlog to Resolved tasks on the MediaWiki-extensions-Widgets board.
Kizule moved this task from Inbox to To deploy on the User-Kizule board.