Xqt has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/399390 )
Change subject: [L10N] Remove battlestarwiki_family.py out of the framework ...................................................................... [L10N] Remove battlestarwiki_family.py out of the framework - de.battlestarwiki.org and en.battlestarwiki.org are no longer available but closed since this year. - Some of the en pages was ported to en.battlestarwikiclone.org but the de site is lost and available via web.archive.org. This clone can be reached via generate_family_file when needed Change-Id: Iffa70aa32c7902294f5633d25806ce256cca1649 --- M HISTORY.rst M docs/api_ref/pywikibot.families.rst D pywikibot/families/battlestarwiki_family.py M pywikibot/family.py 4 files changed, 1 insertion(+), 34 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/pywikibot/core refs/changes/90/399390/1 diff --git a/HISTORY.rst b/HISTORY.rst index 1b3b1c4..af33cac 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -4,6 +4,7 @@ Current release --------------- +* Drop battlestarwiki family file * Bugfixes and improvements * Localisation updates diff --git a/docs/api_ref/pywikibot.families.rst b/docs/api_ref/pywikibot.families.rst index 51cc605..68c2dca 100644 --- a/docs/api_ref/pywikibot.families.rst +++ b/docs/api_ref/pywikibot.families.rst @@ -9,14 +9,6 @@ Submodules ---------- -pywikibot.families.battlestarwiki_family module ------------------------------------------------ - -.. automodule:: pywikibot.families.battlestarwiki_family - :members: - :undoc-members: - :show-inheritance: - pywikibot.families.commons_family module ---------------------------------------- diff --git a/pywikibot/families/battlestarwiki_family.py b/pywikibot/families/battlestarwiki_family.py deleted file mode 100644 index 1a12f79..0000000 --- a/pywikibot/families/battlestarwiki_family.py +++ /dev/null @@ -1,25 +0,0 @@ -# -*- coding: utf-8 -*- -"""Family module for Battlestar Wiki.""" -# -# (C) Pywikibot team, 2007-2015 -# -# Distributed under the terms of the MIT license. -# -from __future__ import absolute_import, unicode_literals - -__version__ = '$Id$' - -from pywikibot import family - - -# The Battlestar Wiki family, a set of Battlestar wikis. -class Family(family.SubdomainFamily): - - """Family class for Battlestar Wiki.""" - - name = 'battlestarwiki' - domain = 'battlestarwiki.org' - - codes = ['en', 'de'] - - interwiki_removals = ['fr', 'zh', 'es', 'ms', 'tr', 'simple'] diff --git a/pywikibot/family.py b/pywikibot/family.py index 59be0f8..363c6b8 100644 --- a/pywikibot/family.py +++ b/pywikibot/family.py @@ -326,7 +326,6 @@ 'aspienetwiki': 'aspienetwiki', 'atmwiki': 'atmwiki', 'b': 'wikibooks', - 'battlestarwiki': 'battlestarwiki', 'bemi': 'bemi', 'benefitswiki': 'benefitswiki', 'betawiki': 'betawiki', -- To view, visit https://gerrit.wikimedia.org/r/399390 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Iffa70aa32c7902294f5633d25806ce256cca1649 Gerrit-PatchSet: 1 Gerrit-Project: pywikibot/core Gerrit-Branch: master Gerrit-Owner: Xqt <i...@gno.de> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits