Last modified: 2014-11-03 03:51:44 UTC
generate_family_file.py does not add support for https $ python ./generate_family_file.py https://wikiapiary.com/wiki/Main_Page wikiapiary Generating family file from https://wikiapiary.com/wiki/Main_Page ================================== api url: https://wikiapiary.com/w/api.php MediaWiki version: 1.23.6 ================================== Determining other languages... Loading wikis... * en... in cache Writing pywikibot/families/wikiapiary_family.py... $ cat pywikibot/families/wikiapiary_family.py # -*- coding: utf-8 -*- """ This family file was auto-generated by $Id: 185033971c163ea46b2b1904773b8c407069a4d0 $ Configuration parameters: url = https://wikiapiary.com/wiki/Main_Page name = wikiapiary Please do not commit this to the Git repository! """ from pywikibot import family class Family(family.Family): def __init__(self): family.Family.__init__(self) self.name = 'wikiapiary' self.langs = { 'en': 'wikiapiary.com', } def scriptpath(self, code): return { 'en': '/w', }[code] def version(self, code): return { 'en': u'1.23.6', }[code]