jenkins-bot has submitted this change and it was merged.

Change subject: Remove page.QueryPage
......................................................................


Remove page.QueryPage

QueryPage is not implemented in Wikibase yet, there are no uses of
a stub class in pywikibot, and there is no novel code in this stub
that warrants keeping while we wait for the functionality to exist
in the Wikibase software.

Change-Id: I9bcdb022c7e7e4db2d24327a29531e417c16ce76
---
M pywikibot/page.py
1 file changed, 0 insertions(+), 16 deletions(-)

Approvals:
  Xqt: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/pywikibot/page.py b/pywikibot/page.py
index d35de4f..5d5114a 100644
--- a/pywikibot/page.py
+++ b/pywikibot/page.py
@@ -3149,22 +3149,6 @@
         return Claim(self.site, self.getID(), *args, **kwargs)
 
 
-class QueryPage(WikibasePage):
-
-    """
-    A Wikibase Query entity.
-
-    For future usage, not implemented yet.
-    """
-
-    def __init__(self, site, title):
-        """Constructor."""
-        WikibasePage.__init__(self, site, title, ns=122)
-        self.id = self.title(withNamespace=False).upper()
-        if not self.id.startswith(u'U'):
-            raise ValueError(u"'%s' is not a query page!" % self.title())
-
-
 class Claim(Property):
 
     """

-- 
To view, visit https://gerrit.wikimedia.org/r/154014
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I9bcdb022c7e7e4db2d24327a29531e417c16ce76
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: John Vandenberg <jay...@gmail.com>
Gerrit-Reviewer: Ladsgroup <ladsgr...@gmail.com>
Gerrit-Reviewer: Merlijn van Deen <valhall...@arctus.nl>
Gerrit-Reviewer: Xqt <i...@gno.de>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to