John Vandenberg has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/236003

Change subject: Remove unnecessary overrides path() and apipath()
......................................................................

Remove unnecessary overrides path() and apipath()

The base class implements these methods using scriptpath()

Change-Id: I3fe70d235e7912073504d8b512119f080dcfef77
---
M pywikibot/families/anarchopedia_family.py
1 file changed, 0 insertions(+), 8 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/pywikibot/core 
refs/changes/03/236003/1

diff --git a/pywikibot/families/anarchopedia_family.py 
b/pywikibot/families/anarchopedia_family.py
index f67914d..311fdb8 100644
--- a/pywikibot/families/anarchopedia_family.py
+++ b/pywikibot/families/anarchopedia_family.py
@@ -81,11 +81,3 @@
     def scriptpath(self, code):
         """Return the script path for this family."""
         return ''
-
-    def path(self, code):
-        """Return the path to index.php for this family."""
-        return '/index.php'
-
-    def apipath(self, code):
-        """Return the path to api.php for this family."""
-        return '/api.php'

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I3fe70d235e7912073504d8b512119f080dcfef77
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: John Vandenberg <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to