jenkins-bot submitted this change.
[cleanup] remove deprecated compat BasePage.getRestrictions method
Change-Id: Ia10b984125305d320454abec66bae8bc34b58afa
---
M pywikibot/page/__init__.py
1 file changed, 0 insertions(+), 8 deletions(-)
diff --git a/pywikibot/page/__init__.py b/pywikibot/page/__init__.py
index 9b8b067..36ed562 100644
--- a/pywikibot/page/__init__.py
+++ b/pywikibot/page/__init__.py
@@ -2143,14 +2143,6 @@
return '{}://{}'.format(wiki.protocol(), link)
return link
-# ####### DEPRECATED METHODS ########
-
- @deprecated('Page.protection()', since='20150725', future_warning=True)
- def getRestrictions(self): # pragma: no cover
- """DEPRECATED. Use self.protection() instead."""
- restrictions = self.protection()
- return {k: list(restrictions[k]) for k in restrictions}
-
class Page(BasePage):
To view, visit change 649406. To unsubscribe, or for help writing mail filters, visit settings.