jenkins-bot has submitted this change and it was merged. (
https://gerrit.wikimedia.org/r/361426 )
Change subject: Remove anarchopedia family out of the framework
......................................................................
Remove anarchopedia family out of the framework
anarchopedia is offline since weeks.
Remove it out of the scope of our framework.
Bug: T167534
Change-Id: I2d0f23221f9dd32dfea23e6a405332cd62891c8e
---
M docs/api_ref/pywikibot.families.rst
D pywikibot/families/anarchopedia_family.py
2 files changed, 0 insertions(+), 94 deletions(-)
Approvals:
XXN: Looks good to me, but someone else must approve
Framawiki: Looks good to me, but someone else must approve
jenkins-bot: Verified
Xqt: Looks good to me, approved
diff --git a/docs/api_ref/pywikibot.families.rst b/docs/api_ref/pywikibot.families.rst
index fb96513..51cc605 100644
--- a/docs/api_ref/pywikibot.families.rst
+++ b/docs/api_ref/pywikibot.families.rst
@@ -9,14 +9,6 @@
Submodules
----------
-pywikibot.families.anarchopedia_family module
----------------------------------------------
-
-.. automodule:: pywikibot.families.anarchopedia_family
- :members:
- :undoc-members:
- :show-inheritance:
-
pywikibot.families.battlestarwiki_family module
-----------------------------------------------
diff --git a/pywikibot/families/anarchopedia_family.py
b/pywikibot/families/anarchopedia_family.py
deleted file mode 100644
index acdf1ce..0000000
--- a/pywikibot/families/anarchopedia_family.py
+++ /dev/null
@@ -1,86 +0,0 @@
-# -*- coding: utf-8 -*-
-"""Family module for Anarchopedia wiki."""
-#
-# (C) Pywikibot team, 2006-2015
-#
-# Distributed under the terms of the MIT license.
-#
-from __future__ import absolute_import, unicode_literals
-
-__version__ = '$Id$'
-
-from pywikibot import family
-
-
-# The Anarchopedia family
-class Family(family.SubdomainFamily):
-
- """Family class for Anarchopedia wiki."""
-
- name = 'anarchopedia'
- domain = 'anarchopedia.org'
-
- interwiki_replacements = {
- # ISO 639-2 -> ISO 639-1 mappings
- 'ara': 'ar',
- 'chi': 'zh',
- 'dan': 'da',
- 'deu': 'de',
- 'dut': 'nl',
- 'ell': 'el',
- 'eng': 'en',
- 'epo': 'eo',
- 'fas': 'fa',
- 'fin': 'fi',
- 'fra': 'fr',
- 'ger': 'de',
- 'gre': 'el',
- 'heb': 'he',
- 'hye': 'hy',
- 'ind': 'id',
- 'ita': 'it',
- 'jpn': 'ja',
- 'kor': 'ko',
- 'lav': 'lv',
- 'lit': 'lt',
- 'nno': 'no',
- 'nob': 'no',
- 'nor': 'no',
- 'pol': 'pl',
- 'por': 'pt',
- 'rum': 'ro',
- 'rus': 'ru',
- 'spa': 'es',
- 'srp': 'sr',
- 'sqi': 'sq',
- 'swe': 'sv',
- 'tur': 'tr',
- 'zho': 'zh',
-
- # ISO 639-1 -> ISO 639-1 mappings
- 'bs': 'hr',
-
- # Non-compliant mappings
- 'bos': 'hr',
- 'nsh': 'hr',
- }
-
- def __init__(self):
- """Constructor."""
- self.languages_by_size = [
- 'ar', 'en', 'de', 'nl', 'el',
'it', 'fa', 'fi', 'fr', 'he', 'es',
- 'hy', 'id', 'meta', 'ja', 'ko',
'lv', 'lt', 'no', 'hr', 'pl', 'pt',
- 'ro', 'ru', 'hrv', 'sq', 'sr',
'sv', 'tr', 'zh', 'eo', 'da',
- ]
-
- super(Family, self).__init__()
-
- self.nocapitalize = list(self.langs.keys())
-
- def force_version(self, code):
- """Return the version for this family."""
- return '1.14'
-
- def scriptpath(self, code):
- """Return the script path for this family."""
- return ''
--
To view, visit
https://gerrit.wikimedia.org/r/361426
To unsubscribe, visit
https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I2d0f23221f9dd32dfea23e6a405332cd62891c8e
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: Xqt <info(a)gno.de>
Gerrit-Reviewer: Framawiki <framawiki(a)tools.wmflabs.org>
Gerrit-Reviewer: John Vandenberg <jayvdb(a)gmail.com>
Gerrit-Reviewer: Magul <tomasz.magulski(a)gmail.com>
Gerrit-Reviewer: XXN <dan10real(a)gmail.com>
Gerrit-Reviewer: Xqt <info(a)gno.de>
Gerrit-Reviewer: jenkins-bot <>