jenkins-bot submitted this change.
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(-)
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 change 967304. To unsubscribe, or for help writing mail filters, visit settings.