jenkins-bot has submitted this change and it was merged.
Change subject: Update families and versions for Pywikibot (update from core) remove gentoo-wiki and some other dead families from family folder ......................................................................
Update families and versions for Pywikibot (update from core) remove gentoo-wiki and some other dead families from family folder
Change-Id: I14efda6bd3f92f18afb7dddf6ed8227e2b179d6d --- M families/battlestarwiki_family.py D families/fon_family.py D families/gentoo_family.py D families/oldwikivoyage_family.py M families/omegawiki_family.py M families/osm_family.py D families/southernapproach_family.py M families/species_family.py M families/wikitravel_family.py M maintenance/wikimedia_sites.py 10 files changed, 6 insertions(+), 302 deletions(-)
Approvals: John Vandenberg: Looks good to me, but someone else must approve Xqt: Looks good to me, approved jenkins-bot: Verified
diff --git a/families/battlestarwiki_family.py b/families/battlestarwiki_family.py index 229dfff..23e40ed 100644 --- a/families/battlestarwiki_family.py +++ b/families/battlestarwiki_family.py @@ -61,4 +61,4 @@ return '%s.battlestarwiki.org' % code
def version(self, code): - return "1.15.0" + return "1.16.4" diff --git a/families/fon_family.py b/families/fon_family.py deleted file mode 100644 index 6a8dec0..0000000 --- a/families/fon_family.py +++ /dev/null @@ -1,42 +0,0 @@ -# -*- coding: utf-8 -*- -__version__ = '$Id$' - -import family - - -# The official Beta Wiki. -class Family(family.Family): - - def __init__(self): - - family.Family.__init__(self) - self.name = 'fon' - - self.langs = { - 'en': None, - } - - self.namespaces[4] = { - '_default': u'FON Wiki Beta', - } - - self.namespaces[5] = { - '_default': u'FON Wiki Beta talk', - } - - self.namespaces[6] = { - '_default': u'Image', - } - - self.namespaces[7] = { - '_default': u'Image talk', - } - - def hostname(self, code): - return 'wiki.fon.com' - - def scriptpath(self, code): - return '/mediawiki' - - def version(self, code): - return "1.15.1" diff --git a/families/gentoo_family.py b/families/gentoo_family.py deleted file mode 100644 index c35da2e..0000000 --- a/families/gentoo_family.py +++ /dev/null @@ -1,88 +0,0 @@ -# -*- coding: utf-8 -*- - -import family - -__version__ = '$Id$' - - -# An inofficial Gentoo wiki project. -# Ask for permission at http://gentoo-wiki.com/Help:Bots before running a bot. -# Be very careful, and set a long throttle: "until we see it is good one edit -# ever minute and one page fetch every 30 seconds, maybe a *bit* faster later". -class Family(family.Family): - - def __init__(self): - family.Family.__init__(self) - self.name = 'gentoo' - - self.languages_by_size = [ - 'en', 'ru', 'de', 'fr', 'tr', 'es', 'scratch', 'cs', 'nl', 'fi', - ] - for l in self.languages_by_size: - self.langs[l] = '%s.gentoo-wiki.com' % l - - self.namespaces[4] = { - '_default': u'Gentoo Linux Wiki', - } - self.namespaces[5] = { - '_default': u'Gentoo Linux Wiki talk', - 'cs': u'Gentoo Linux Wiki diskuse', - 'de': u'Gentoo Linux Wiki Diskussion', - 'es': u'Gentoo Linux Wiki Discusión', - 'fi': u'Keskustelu Gentoo Linux Wikistä', - 'fr': u'Discussion Gentoo Linux Wiki', - 'nl': u'Overleg Gentoo Linux Wiki', - 'ru': u'Обсуждение Gentoo Linux Wiki', - 'tr': u'Gentoo Linux Wiki tartışma', - } - self.namespaces[90] = { - '_default': u'Thread', - } - self.namespaces[91] = { - '_default': u'Thread talk', - } - self.namespaces[92] = { - '_default': u'Summary', - } - self.namespaces[93] = { - '_default': u'Summary talk', - } - self.namespaces[100] = { - '_default': u'Index', - 'tr': u'Icerik', - } - self.namespaces[101] = { - '_default': u'Index Talk', - 'tr': u'Icerik Talk', - } - self.namespaces[102] = { - '_default': u'Ebuild', - } - self.namespaces[103] = { - '_default': u'Ebuild Talk', - } - self.namespaces[104] = { - '_default': u'News', - 'tr': u'Haberler', - } - self.namespaces[105] = { - '_default': u'News Talk', - 'tr': u'Haberler Talk', - } - self.namespaces[106] = { - '_default': u'Man', - } - self.namespaces[107] = { - '_default': u'Man Talk', - } - self.namespaces[110] = { - '_default': u'Ucpt', - } - self.namespaces[111] = { - '_default': u'Ucpt talk', - } - - self.known_families.pop('gentoo-wiki') - - def version(self, code): - return "1.16alpha" diff --git a/families/oldwikivoyage_family.py b/families/oldwikivoyage_family.py deleted file mode 100644 index 0857cdd..0000000 --- a/families/oldwikivoyage_family.py +++ /dev/null @@ -1,139 +0,0 @@ -# -*- coding: utf-8 -*- -import family - -__version__ = '$Id$' - - -#Family file for the original wikivoyage -class Family(family.Family): - def __init__(self): - family.Family.__init__(self) - self.name = 'oldwikivoyage' - self.langs = { - 'de': u'www.wikivoyage-old.org', - 'en': u'en.wikivoyage-old.org', - 'fr': u'fr.wikivoyage-old.org', - 'it': u'www.wikivoyage-old.org', - 'nl': u'nl.wikivoyage-old.org', - 'ru': u'ru.wikivoyage-old.org', - 'shared': u'www.wikivoyage-old.org', - 'sv': u'sv.wikivoyage-old.org', - 'wts': u'wts.wikivoyage-old.org', - } - - self.namespaces[1] = self.namespaces.get(1, {}) - self.namespaces[1][u'fr'] = [u'Discuter'] - self.namespaces[2] = self.namespaces.get(2, {}) - self.namespaces[2][u'ru'] = [u'\u0423\u0447\u0430\u0441\u0442\u043d\u0438\u0446\u0430'] - self.namespaces[3] = self.namespaces.get(3, {}) - self.namespaces[3][u'ru'] = [u'\u041e\u0431\u0441\u0443\u0436\u0434\u0435\u043d\u0438\u0435 \u0443\u0447\u0430\u0441\u0442\u043d\u0438\u0446\u044b'] - self.namespaces[3][u'fr'] = [u'Discussion Utilisateur'] - self.namespaces[4] = self.namespaces.get(4, {}) - self.namespaces[4][u'ru'] = [u'Wikivoyage'] - self.namespaces[4][u'fr'] = [u'Wikivoyage'] - self.namespaces[4][u'wts'] = [u'Wikivoyage'] - self.namespaces[4][u'nl'] = [u'Wikivoyage'] - self.namespaces[4]['de'] = [u'Wikivoyage', u'WV'] - self.namespaces[4]['it'] = [u'Wikivoyage'] - self.namespaces[4][u'sv'] = [u'Wikivoyage'] - self.namespaces[4][u'en'] = [u'Wikivoyage'] - self.namespaces[4][u'shared'] = [u'Wikivoyage'] - self.namespaces[5] = self.namespaces.get(5, {}) - self.namespaces[5][u'ru'] = [u'\u041e\u0431\u0441\u0443\u0436\u0434\u0435\u043d\u0438\u0435 Wikivoyage'] - self.namespaces[5][u'fr'] = [u'Discussion Wikivoyage'] - self.namespaces[5][u'wts'] = [u'Wikivoyage talk'] - self.namespaces[5][u'nl'] = [u'Overleg Wikivoyage'] - self.namespaces[5]['de'] = [u'Wikivoyage Diskussion', u'WV talk'] - self.namespaces[5]['it'] = [u'Discussioni Wikivoyage'] - self.namespaces[5][u'sv'] = [u'Wikivoyagediskussion'] - self.namespaces[5][u'en'] = [u'Wikivoyage talk'] - self.namespaces[5][u'shared'] = [u'Wikivoyage talk'] - self.namespaces[6] = self.namespaces.get(6, {}) - self.namespaces[6][u'ru'] = [u'Image', u'\u0418\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435'] - self.namespaces[6][u'fr'] = [u'Image'] - self.namespaces[6][u'wts'] = [u'Image'] - self.namespaces[6][u'nl'] = [u'Image', u'Afbeelding'] - self.namespaces[6]['de'] = [u'Bild'] - self.namespaces[6]['it'] = [u'Immagine'] - self.namespaces[6][u'sv'] = [u'Image', u'Bild'] - self.namespaces[6][u'en'] = [u'Image'] - self.namespaces[6][u'shared'] = [u'Image'] - self.namespaces[7] = self.namespaces.get(7, {}) - self.namespaces[7][u'ru'] = [u'Image talk', u'\u041e\u0431\u0441\u0443\u0436\u0434\u0435\u043d\u0438\u0435 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f'] - self.namespaces[7][u'fr'] = [u'Image talk', u'Discussion Fichier', u'Discussion Image'] - self.namespaces[7][u'wts'] = [u'Image talk'] - self.namespaces[7][u'nl'] = [u'Image talk', u'Overleg afbeelding'] - self.namespaces[7]['de'] = [u'Bild Diskussion'] - self.namespaces[7]['it'] = [u'Discussioni immagine'] - self.namespaces[7][u'sv'] = [u'Image talk', u'Bilddiskussion'] - self.namespaces[7][u'en'] = [u'Image talk'] - self.namespaces[7][u'shared'] = [u'Image talk'] - self.namespaces[9] = self.namespaces.get(9, {}) - self.namespaces[9][u'sv'] = [u'MediaWiki diskussion'] - self.namespaces[11] = self.namespaces.get(11, {}) - self.namespaces[11][u'fr'] = [u'Discussion Mod\xe8le'] - self.namespaces[13] = self.namespaces.get(13, {}) - self.namespaces[13][u'fr'] = [u'Discussion Aide'] - self.namespaces[13][u'sv'] = [u'Hj\xe4lp diskussion'] - self.namespaces[15] = self.namespaces.get(15, {}) - self.namespaces[15][u'fr'] = [u'Discussion Cat\xe9gorie'] - self.namespaces[200] = self.namespaces.get(200, {}) - self.namespaces[200][u'wts'] = [u'WtTech'] - self.namespaces[201] = self.namespaces.get(201, {}) - self.namespaces[201][u'wts'] = [u'WtTech Talk'] - self.namespaces[100] = self.namespaces.get(100, {}) - self.namespaces[100]['de'] = [u'Portal'] - self.namespaces[100]['it'] = [u'Portale'] - self.namespaces[101] = self.namespaces.get(101, {}) - self.namespaces[101]['de'] = [u'Portal Diskussion'] - self.namespaces[101]['it'] = [u'Discussioni portale'] - self.namespaces[102] = self.namespaces.get(102, {}) - self.namespaces[102]['de'] = [u'Wahl'] - self.namespaces[102]['it'] = [u'Elezione'] - self.namespaces[103] = self.namespaces.get(103, {}) - self.namespaces[103]['de'] = [u'Wahl Diskussion'] - self.namespaces[103]['it'] = [u'Discussioni elezione'] - self.namespaces[104] = self.namespaces.get(104, {}) - self.namespaces[104]['de'] = [u'Thema', u'T'] - self.namespaces[104]['it'] = [u'Tematica'] - self.namespaces[105] = self.namespaces.get(105, {}) - self.namespaces[105]['de'] = [u'Thema Diskussion', u'T talk'] - self.namespaces[105]['it'] = [u'Discussioni tematica'] - self.namespaces[106] = self.namespaces.get(106, {}) - self.namespaces[106]['de'] = [u'News'] - self.namespaces[106]['it'] = [u'Notizie'] - self.namespaces[107] = self.namespaces.get(107, {}) - self.namespaces[107]['de'] = [u'News Diskussion'] - self.namespaces[107]['it'] = [u'Discussioni notizie'] - self.namespaces[-2] = self.namespaces.get(-2, {}) - self.namespaces[-2]['de'] = [u'Media'] - - - def scriptpath(self, code): - return { - 'de': u'/w/de', - 'en': u'/w', - 'fr': u'/w', - 'it': u'/w/it', - 'nl': u'/w', - 'ru': u'/w', - 'shared': u'/w/shared', - 'sv': u'/w', - 'wts': u'/w', - }[code] - - def version(self, code): - return { - 'de': u'1.13.1', - 'en': u'1.19.1', - 'fr': u'1.19.1', - 'it': u'1.13.1', - 'nl': u'1.19.1', - 'ru': u'1.19.1', - 'sv': u'1.19.1', - 'shared': u'1.13.1', - 'wts': u'1.19.1', - }[code] - - def shared_image_repository(self, code): - return ('shared', 'oldwikivoyage') diff --git a/families/omegawiki_family.py b/families/omegawiki_family.py index eaf0c2c..c8cabc4 100644 --- a/families/omegawiki_family.py +++ b/families/omegawiki_family.py @@ -71,7 +71,7 @@ return 'www.omegawiki.org'
def version(self, code): - return "1.16alpha" + return "1.22.6"
def scriptpath(self, code): return '' diff --git a/families/osm_family.py b/families/osm_family.py index a77c05b..ca7f7e0 100644 --- a/families/osm_family.py +++ b/families/osm_family.py @@ -71,4 +71,4 @@ }
def version(self, code): - return "1.16.2" + return "1.22.7" diff --git a/families/southernapproach_family.py b/families/southernapproach_family.py deleted file mode 100644 index 4e5b17b..0000000 --- a/families/southernapproach_family.py +++ /dev/null @@ -1,25 +0,0 @@ -# -*- coding: utf-8 -*- -__version__ = '$Id$' - -import family - - -# ZRHwiki, formerly known as SouthernApproachWiki, a wiki about Zürich Airport. -class Family(family.Family): - def __init__(self): - family.Family.__init__(self) - self.name = 'southernapproach' - self.langs = { - 'de': 'www.zrhwiki.ch', - } - - # Most namespaces are inherited from family.Family. - self.namespaces[4] = { - '_default': [u'ZRHwiki', self.namespaces[4]['_default']], - } - self.namespaces[5] = { - '_default': [u'ZRHwiki Diskussion', self.namespaces[5]['_default']], - } - - def version(self, code): - return "1.17alpha" diff --git a/families/species_family.py b/families/species_family.py index d2b41af..86abbe1 100644 --- a/families/species_family.py +++ b/families/species_family.py @@ -22,4 +22,3 @@ }
self.interwiki_forward = 'wikipedia' - diff --git a/families/wikitravel_family.py b/families/wikitravel_family.py index fca5eb8..cb8ab57 100644 --- a/families/wikitravel_family.py +++ b/families/wikitravel_family.py @@ -488,5 +488,5 @@ return site
def version(self, code): - return "1.11.2" + return "1.22.2"
diff --git a/maintenance/wikimedia_sites.py b/maintenance/wikimedia_sites.py index 8d11ded..9a4fcd8 100644 --- a/maintenance/wikimedia_sites.py +++ b/maintenance/wikimedia_sites.py @@ -4,8 +4,8 @@ against the language lists """ # -# (C) xqt, 2009-2013 -# (C) Pywikipedia bot team, 2008-2013 +# (C) xqt, 2009-2014 +# (C) Pywikibot team, 2008-2013 # # Distributed under the terms of the MIT license. # @@ -25,7 +25,6 @@
familiesDict = { 'anarchopedia': 'anarchopedias', - 'gentoo': 'gentoo', 'wikibooks': 'wikibooks', 'wikinews': 'wikinews', 'wikipedia': 'wikipedias',