jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/967304 )
Change subject: remove check for purge right from APISite.purgepages ......................................................................
remove check for purge right from APISite.purgepages
The right has not been checked by MediaWiki since 2016.
Bug: T349348 Change-Id: I798f3d0e847acc2fc8be28322f0cc02894dc0d43 --- M pywikibot/site/_apisite.py 1 file changed, 12 insertions(+), 1 deletion(-)
Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
diff --git a/pywikibot/site/_apisite.py b/pywikibot/site/_apisite.py index ba3e8ca..ba185c0 100644 --- a/pywikibot/site/_apisite.py +++ b/pywikibot/site/_apisite.py @@ -2736,7 +2736,6 @@ unwatch_s = 'unwatched' if unwatch else 'watched' return all(unwatch_s in r for r in results['watch'])
- @need_right('purge') def purgepages( self, pages: List['pywikibot.page.BasePage'],
pywikibot-commits@lists.wikimedia.org