jenkins-bot has submitted this change and it was merged.
Change subject: Remove unused method Family.has_query_api() ......................................................................
Remove unused method Family.has_query_api()
Copied from compat by Russell Blau with commit 3ada8266b67e025a95c4f9d35a38882b84d98cc7, it was never used according to the Git history.
Moreover, the old MediaWiki query.php API to which has_query_api refers has been shut down as of 25 August, 2008.
Change-Id: I00d0a8f447b08969820841a190da725bbb00d4bc --- M pywikibot/family.py 1 file changed, 0 insertions(+), 4 deletions(-)
Approvals: John Vandenberg: Looks good to me, approved jenkins-bot: Verified
diff --git a/pywikibot/family.py b/pywikibot/family.py index 8b7ab5c..a4c5d80 100644 --- a/pywikibot/family.py +++ b/pywikibot/family.py @@ -1163,10 +1163,6 @@ def __repr__(self): return 'Family("%s")' % self.name
- def has_query_api(self, code): - """Check query.php installed in the wiki.""" - return False - def shared_image_repository(self, code): """Return the shared image repository, if any.""" return (None, None)
pywikibot-commits@lists.wikimedia.org