Page MenuHomePhabricator

Bot unable to edit extended semi-protected page on frwiki (due to missing editprotected grant)
Closed, InvalidPublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

  • Use a bot account on frwiki
  • try to edit an extended semi-protected page (example: [[fr:Wikipédia:Demande de protection de page]])

What happens?:
Edit fails with error (Pywikibot error below).

pywikibot.exceptions.LockedPageError: Page [[fr:Wikipédia:Demande de protection de page]] is locked.
CRITICAL: Exiting due to uncaught exception LockedPageError: Page [[fr:Wikipédia:Demande de protection de page]] is locked.

What should have happened instead?:
Bot should be able to edit (editextendedsemiprotected is listed as a Bot right in [[fr:Special:ListGroupRights]]).

Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):

Other information (browser name/version, screenshots, etc.):

Event Timeline

Reedy subscribed.

Just noting the page protection has only recently expired

https://fr.wikipedia.org/w/index.php?title=Sp%C3%A9cial:Journal&type=protect&page=Wikip%C3%A9dia%3ADemande+de+protection+de+page

19:07, 5 September 2024 Lomita talk contribs protected Wikipédia:Demande de protection de page [Edit=Allow only autopatrollers] (expires 19:07, 5 October 2024) [Move=Allow only autopatrollers] (expires 19:07, 5 October 2024) (Vandalisme récurrent) (hist) (thank)

Indeed, sorry for the bad example, my bot should be able to edit it again. However, the bug still exists.

Does the BotPassword or OAuth consumer you are using have the editprotected grant?

This OAuth consumer doesn't have it.

Does the BotPassword or OAuth consumer you are using have the editprotected grant?

This OAuth consumer doesn't have it.

Indeed, it was the problem… Thanks for your help.

Aklapper renamed this task from Bot unable to edit extended semi-protected page on frwiki to Bot unable to edit extended semi-protected page on frwiki (due to missing editprotected grant).Oct 7 2024, 7:36 AM