jenkins-bot has submitted this change and it was merged.
Change subject: [IMPR] derive wikia_family Family class from WikiaFamily ......................................................................
[IMPR] derive wikia_family Family class from WikiaFamily
- This sets scriptpath to WikiaFamily class default. - Also update version string. - remove double space in coding string
Change-Id: I2bc901e350cf5f40649d1b585d063f435f6a53e0 --- M pywikibot/families/wikia_family.py 1 file changed, 4 insertions(+), 8 deletions(-)
Approvals: Dalba: Looks good to me, approved jenkins-bot: Verified
diff --git a/pywikibot/families/wikia_family.py b/pywikibot/families/wikia_family.py index a97a5b0..07eda63 100644 --- a/pywikibot/families/wikia_family.py +++ b/pywikibot/families/wikia_family.py @@ -1,7 +1,7 @@ -# -*- coding: utf-8 -*- +# -*- coding: utf-8 -*- """Family module for Wikia.""" # -# (C) Pywikibot team, 2008-2015 +# (C) Pywikibot team, 2008-2016 # # Distributed under the terms of the MIT license. # @@ -15,7 +15,7 @@
# The Wikia Search family # user-config.py: usernames['wikia']['wikia'] = 'User name' -class Family(family.SingleSiteFamily): +class Family(family.SingleSiteFamily, family.WikiaFamily):
"""Family class for Wikia."""
@@ -25,11 +25,7 @@ @deprecated('APISite.version()') def version(self, code): """Return the version for this family.""" - return "1.19.20" - - def scriptpath(self, code): - """Return the script path for this family.""" - return '' + return '1.19.24'
def apipath(self, code): """Return the path to api.php for this family."""
pywikibot-commits@lists.wikimedia.org