jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/550039 )
Change subject: Create family file for foundation wiki ......................................................................
Create family file for foundation wiki
Bug: T237888 Change-Id: I58552265916491402ff861928c7d8741572f3ea7 --- A pywikibot/families/foundation_family.py 1 file changed, 21 insertions(+), 0 deletions(-)
Approvals: Zhuyifei1999: Looks good to me, approved jenkins-bot: Verified
diff --git a/pywikibot/families/foundation_family.py b/pywikibot/families/foundation_family.py new file mode 100644 index 0000000..14ef42e --- /dev/null +++ b/pywikibot/families/foundation_family.py @@ -0,0 +1,21 @@ +# -*- coding: utf-8 -*- +"""Family module for Foundation wiki.""" +# +# (C) Pywikibot team, 2019 +# +# Distributed under the terms of the MIT license. +# +from __future__ import absolute_import, division, unicode_literals + +from pywikibot import family + + +# The Foundation family +class Family(family.WikimediaFamily, family.SingleSiteFamily): + + """Family class for Foundation wiki.""" + + name = 'foundation' + domain = 'foundation.wikimedia.org' + + interwiki_forward = 'wmf'
pywikibot-commits@lists.wikimedia.org