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'],

--
To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/967304
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.wikimedia.org/r/settings

Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: I798f3d0e847acc2fc8be28322f0cc02894dc0d43
Gerrit-Change-Number: 967304
Gerrit-PatchSet: 2
Gerrit-Owner: JJMC89 <[email protected]>
Gerrit-Reviewer: Xqt <[email protected]>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged
_______________________________________________
Pywikibot-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to