Revision: 5859
Author: russblau
Date: 2008-08-28 19:05:43 +0000 (Thu, 28 Aug 2008)
Log Message:
-----------
delete files for families running earlier than 1.13 software (if a wiki upgrades later,
its family file can be copied back here)
Removed Paths:
-------------
branches/rewrite/pywikibot/families/anarchopedia_family.py
branches/rewrite/pywikibot/families/battlestarwiki_family.py
branches/rewrite/pywikibot/families/botwiki_family.py
branches/rewrite/pywikibot/families/freeciv_family.py
branches/rewrite/pywikibot/families/krefeldwiki_family.py
branches/rewrite/pywikibot/families/mac_wikicities_family.py
branches/rewrite/pywikibot/families/memoryalpha_family.py
branches/rewrite/pywikibot/families/omegawiki_family.py
branches/rewrite/pywikibot/families/pakanto_family.py
branches/rewrite/pywikibot/families/southernapproach_family.py
branches/rewrite/pywikibot/families/supertux_family.py
branches/rewrite/pywikibot/families/uncyclopedia_family.py
branches/rewrite/pywikibot/families/wesolve_family.py
branches/rewrite/pywikibot/families/wikia_family.py
Deleted: branches/rewrite/pywikibot/families/anarchopedia_family.py
===================================================================
--- branches/rewrite/pywikibot/families/anarchopedia_family.py 2008-08-28 11:35:51 UTC
(rev 5858)
+++ branches/rewrite/pywikibot/families/anarchopedia_family.py 2008-08-28 19:05:43 UTC
(rev 5859)
@@ -1,122 +0,0 @@
-# -*- coding: utf-8 -*-
-from pywikibot import family
-
-# The Anarchopedia family
-
-class Family(family.Family):
- def __init__(self):
- family.Family.__init__(self)
- self.name = 'anarchopedia'
-
- langs = [
- 'ara', 'bos', 'chi', 'dan', 'deu',
'dut', 'ell', 'eng', 'epo', 'fra',
- 'ind', 'ita', 'jpn', 'lit', 'nno',
'nsh', 'nor', 'pol', 'por', 'rum',
- 'rus', 'spa', 'srp', 'swe',
- ]
- for lang in langs:
- self.langs[lang] = '%s.anarchopedia.org' % lang
-
- interface_lang = {
- 'ara': 'ar',
- 'bos': 'sr',
- 'chi': 'zh',
- 'dan': 'da',
- 'deu': 'de',
- 'dut': 'nl',
- 'ell': 'el',
- 'eng': 'en',
- 'epo': 'en',
- 'fra': 'fr',
- 'hrv': 'sr',
- 'ind': 'id',
- 'ita': 'it',
- 'jpn': 'ja',
- 'lit': 'lit',
- 'nno': 'nn',
- 'nor': 'no',
- 'nsh': 'sr',
- 'pol': 'pl',
- 'por': 'pt',
- 'rum': 'ro',
- 'rus': 'ru',
- 'spa': 'es',
- 'srp': 'sr',
- 'swe': 'sv',
- }
- copy = [-2, -1, 1, 2, 3, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]
- for code, interface in interface_lang.items():
- for ns in copy:
- if self.namespaces[ns].has_key(interface):
- self.namespaces[ns][code] = self.namespaces[ns][interface]
-
- self.namespaces[4] = {
- '_default': [u'Anarchopedia',
self.namespaces[4]['_default']],
- 'ara': u'أنارشوبيديا',
- 'chi': u'安那其百科',
- 'ell': u'Αναρχοπαίδεια',
- 'jpn': u'アナーキォペディア',
- 'rum': u'Anarhopedia',
- }
- self.namespaces[5] = {
- '_default': [u'Anarchopedia talk',
self.namespaces[5]['_default']],
- 'ara': u'نقاش أنارشوبيديا',
- 'bos': u'Разговор о Anarchopedia',
- 'chi': u'安那其百科 talk',
- 'dan': u'Anarchopedia-diskussion',
- 'deu': u'Anarchopedia Diskussion',
- 'dut': u'Overleg Anarchopedia',
- 'ell': u'Αναρχοπαίδεια συζήτηση',
- 'fra': u'Discussion Anarchopedia',
- 'ind': u'Pembicaraan Anarchopedia',
- 'ita': u'Discussioni Anarchopedia',
- 'jpn': u'アナーキォペディア‐ノート',
- 'nno': u'Anarchopedia-diskusjon',
- 'nsh': u'Разговор о Anarchopedia',
- 'nor': u'Anarchopedia-diskusjon',
- 'pol': u'Dyskusja Anarchopedia',
- 'por': u'Anarchopedia Discussão',
- 'rum': u'Discuţie Anarhopedia',
- 'rus': u'Обсуждение Anarchopedia',
- 'spa': u'Anarchopedia Discusión',
- 'srp': u'Разговор о Anarchopedia',
- 'swe': u'Anarchopediadiskussion',
- }
-
- self.nocapitalize = self.langs.keys()
-
- self.obsolete = {
- 'ar': 'ara',
- 'bs': 'bos',
- 'zh': 'chi',
- 'da': 'dan',
- 'de': 'deu',
- 'ger': 'deu',
- 'nl': 'dut',
- 'el': 'ell',
- 'gre': 'ell',
- 'en': 'eng',
- 'eo': 'epo',
- 'fr': 'fra',
- 'id': 'ind',
- 'it': 'ita',
- 'ja': 'jpn',
- 'lt': 'lit',
- 'no': 'nor',
- 'nn': 'nno',
- 'sh': 'nsh',
- 'pl': 'pol',
- 'pt': 'por',
- 'ro': 'rum',
- 'ru': 'rus',
- 'es': 'spa',
- 'sr': 'srp',
- 'hrv': 'srp',
- 'hr': 'srp',
- 'sv': 'swe',
- }
-
- def version(self, code):
- return "1.12alpha"
-
- def scriptpath(self, code):
- return ''
Deleted: branches/rewrite/pywikibot/families/battlestarwiki_family.py
===================================================================
--- branches/rewrite/pywikibot/families/battlestarwiki_family.py 2008-08-28 11:35:51 UTC
(rev 5858)
+++ branches/rewrite/pywikibot/families/battlestarwiki_family.py 2008-08-28 19:05:43 UTC
(rev 5859)
@@ -1,57 +0,0 @@
-# -*- coding: utf-8 -*-
-from pywikibot import family
-
-# The Battlestar Wiki family, a set of Battlestar wikis.
-#
http://battlestarwiki.org/
-
-class Family(family.Family):
- def __init__(self):
- family.Family.__init__(self)
- self.name = 'battlestarwiki'
-
- self.langs = {
- 'de': None,
- 'en': None,
- 'es': None,
- 'fr': None,
- 'tr': None,
- 'zh': None,
- }
-
- # Most namespaces are inherited from family.
-
- self.namespaces[4] = {
- '_default': u'Battlestar Wiki',
- }
- self.namespaces[5] = {
- '_default': u'Battlestar Wiki talk',
- 'de': u'Battlestar Wiki Diskussion',
- 'es': u'Battlestar Wiki Discusión',
- 'fr': u'Discussion Battlestar Wiki',
- 'tr': u'Battlestar Wiki tartışma',
- }
-
- # Custom namespaces that a needed
-
- self.namespaces[100] = { '_default': u'Portal', }
- self.namespaces[101] = { '_default': u'Portal talk', }
- self.namespaces[102] = { '_default': u'Sources', }
- self.namespaces[103] = { '_default': u'Sources talk', }
- self.namespaces[104] = { '_default': u'Quotes', }
- self.namespaces[105] = { '_default': u'Quotes talk', }
- self.namespaces[106] = { '_default': u'Podcast', }
- self.namespaces[107] = { '_default': u'Podcast talk', }
-
- # A few selected big languages for things that we do not want to loop over
- # all languages. This is only needed by the titletranslate.py module, so
- # if you carefully avoid the options, you could get away without these
- # for another wiki family.
- self.languages_by_size = ['en', 'de']
-
- alphabetic = ['de', 'en', 'es', 'fr',
'tr', 'zh']
-
- def hostname(self,code):
- return '%s.battlestarwiki.org' % code
-
- def version(self, code):
- return "1.9"
Deleted: branches/rewrite/pywikibot/families/botwiki_family.py
===================================================================
--- branches/rewrite/pywikibot/families/botwiki_family.py 2008-08-28 11:35:51 UTC (rev
5858)
+++ branches/rewrite/pywikibot/families/botwiki_family.py 2008-08-28 19:05:43 UTC (rev
5859)
@@ -1,66 +0,0 @@
-# -*- coding: utf-8 -*-
-
-from pywikibot import family
-
-# Bot wiki - the (semi-)official pywikipedia wiki
-
-class Family(family.Family):
- def __init__(self):
- family.Family.__init__(self)
-
- self.name = 'botwiki'
-
- self.langs = {
- 'botwiki': 'botwiki.sno.cc',
- }
- self.namespaces[4] = {
- 'botwiki': [u'Botwiki'],
- }
- self.namespaces[5] = {
- 'botwiki': [u'Botwiki talk'],
- }
- self.namespaces[100] = {
- 'botwiki': [u'Manual'],
- }
- self.namespaces[101] = {
- 'botwiki': [u'Manual talk'],
- }
- self.namespaces[102] = {
- 'botwiki': [u'Python'],
- }
- self.namespaces[103] = {
- 'botwiki': [u'Python talk'],
- }
- self.namespaces[104] = {
- 'botwiki': [u'Php'],
- }
- self.namespaces[105] = {
- 'botwiki': [u'Php talk'],
- }
- self.namespaces[106] = {
- 'botwiki': [u'Perl'],
- }
- self.namespaces[107] = {
- 'botwiki': [u'Perl talk'],
- }
- self.namespaces[108] = {
- 'botwiki': [u'AWB'],
- }
- self.namespaces[109] = {
- 'botwiki': [u'AWB talk'],
- }
- self.namespaces[110] = {
- 'botwiki': [u'IRC'],
- }
- self.namespaces[111] = {
- 'botwiki': [u'IRC talk'],
- }
- self.namespaces[112] = {
- 'botwiki': [u'Other'],
- }
- self.namespaces[113] = {
- 'botwiki': [u'Other talk'],
- }
-
- def version(self, code):
- return "1.11.0"
Deleted: branches/rewrite/pywikibot/families/freeciv_family.py
===================================================================
--- branches/rewrite/pywikibot/families/freeciv_family.py 2008-08-28 11:35:51 UTC (rev
5858)
+++ branches/rewrite/pywikibot/families/freeciv_family.py 2008-08-28 19:05:43 UTC (rev
5859)
@@ -1,56 +0,0 @@
-# -*- coding: utf-8 -*-
-
-__version__ = '$Id$'
-
-from pywikibot import family
-
-# The project wiki of Freeciv, an open source strategy game.
-
-class Family(family.Family):
-
- def __init__(self):
- family.Family.__init__(self)
- self.name = 'freeciv'
- self.langs = {
- 'da': 'da.freeciv.wikia.com',
- 'de': 'de.freeciv.wikia.com',
- 'en': 'freeciv.wikia.com',
- 'es': 'es.freeciv.wikia.com',
- 'fi': 'fi.freeciv.wikia.com',
- 'fr': 'fr.freeciv.wikia.com',
- }
-
- self.namespaces[4] = {
- '_default': u'Freeciv',
- 'fi': u'FreeCiv wiki Suomalaisille',
- }
-
- self.namespaces[5] = {
- '_default': u'Freeciv talk',
- 'da': u'Freeciv-diskussion',
- 'de': u'Freeciv Diskussion',
- 'es': u'Freeciv Discusión',
- 'fi': u'Keskustelu FreeCiv wiki Suomalaisillesta',
- 'fr': u'Discussion Freeciv',
- }
-
- self.namespaces[8]['fi'] = u'Järjestelmäviesti'
-
- self.namespaces[9]['da'] = u'MediaWiki-diskussion'
- self.namespaces[9]['fi'] = u'Keskustelu järjestelmäviestistä'
-
- self.namespaces[110] = {
- '_default': u'Forum',
- 'fi': u'Foorumi',
- }
-
- self.namespaces[111] = {
- '_default': u'Forum talk',
- 'fi': u'Keskustelu foorumista',
- }
-
- def scriptpath(self, code):
- return ''
-
- def version(self, code):
- return "1.10alpha"
Deleted: branches/rewrite/pywikibot/families/krefeldwiki_family.py
===================================================================
--- branches/rewrite/pywikibot/families/krefeldwiki_family.py 2008-08-28 11:35:51 UTC (rev
5858)
+++ branches/rewrite/pywikibot/families/krefeldwiki_family.py 2008-08-28 19:05:43 UTC (rev
5859)
@@ -1,64 +0,0 @@
-# -*- coding: utf-8 -*-
-
-from pywikibot import family
-
-# The city wiki of Krefeld, Germany, Europe.
-
-class Family(family.Family):
-
- def __init__(self):
- family.Family.__init__(self)
- self.name = 'krefeldwiki'
-
- self.langs = {
- 'de': 'krefeldwiki.de',
- }
-
- self.namespaces[4] = {
- '_default': [u'Krefeld Wiki',
self.namespaces[4]['_default']],
- }
-
- self.namespaces[5] = {
- '_default': [u'Krefeld Wiki Diskussion',
self.namespaces[5]['_default']],
- }
-
- self.namespaces[106] = {
- '_default': [u'Formular', 'Form'],
- }
-
- self.namespaces[107] = {
- '_default': [u'Formular Diskussion', 'Form talk'],
- }
-
- self.namespaces[110] = {
- '_default': [u'Relation', 'Relation'],
- }
-
- self.namespaces[111] = {
- '_default': [u'Relation Diskussion', 'Relation
talk'],
- }
-
- self.namespaces[112] = {
- '_default': [u'Attribut', 'Attribut'],
- }
-
- self.namespaces[113] = {
- '_default': [u'Attribut Diskussion', 'Attribut
talk'],
- }
-
- self.namespaces[114] = {
- '_default': [u'Datentyp', 'Data type'],
- }
-
- self.namespaces[115] = {
- '_default': [u'Datentyp Diskussion', 'Data type
talk'],
- }
-
- def version(self, code):
- return "1.10.1"
-
- def scriptpath(self, code):
- return '/w'
-
- def path(self, code):
- return '%s/index.php5' % self.scriptpath(code)
Deleted: branches/rewrite/pywikibot/families/mac_wikicities_family.py
===================================================================
--- branches/rewrite/pywikibot/families/mac_wikicities_family.py 2008-08-28 11:35:51 UTC
(rev 5858)
+++ branches/rewrite/pywikibot/families/mac_wikicities_family.py 2008-08-28 19:05:43 UTC
(rev 5859)
@@ -1,54 +0,0 @@
-# -*- coding: utf-8 -*-
-from pywikibot import family
-import config
-
-class Family(family.Family):
- def __init__(self):
- family.Family.__init__(self)
- self.name = 'mac.wikia'
-
- self.langs = {
- 'de':'de.mac.wikia.com',
- 'en':'mac.wikia.com',
- 'es':'es.mac.wikia.com',
- 'fr':'fr.mac.wikia.com',
- 'id':'id.mac.wikia.com',
- 'it':'it.mac.wikia.com',
- 'zh':'zh.mac.wikia.com',
- }
-
- # Most namespaces are inherited from family.Family.
- self.namespaces[4] = {
- '_default': [u'WikiMac',
self.namespaces[4]['_default']],
- 'id': u'Indonesia Macintosh Society',
- 'zh': u'维基麦',
- }
- self.namespaces[5] = {
- '_default': [u'WikiMac talk',
self.namespaces[5]['_default']],
- 'de': u'WikiMac Diskussion',
- 'es': u'WikiMac Discusión',
- 'fr': u'Discussion WikiMac',
- 'id': u'Pembicaraan Indonesia Macintosh Society',
- 'it': u'Discussioni WikiMac',
- 'zh': u'维基麦 talk',
- }
-
- self.namespaces[110] = {
- '_default': u'Forum',
- }
- self.namespaces[111] = {
- '_default': u'Forum talk',
- }
- # A few selected big languages for things that we do not want to loop over
- # all languages. This is only needed by the titletranslate.py module, so
- # if you carefully avoid the options, you could get away without these
- # for another wikimedia family.
-
- self.languages_by_size = ['en','de']
-
- def version(self, code):
- return "1.10alpha"
-
- def scriptpath(self, code):
- return ''
-
Deleted: branches/rewrite/pywikibot/families/memoryalpha_family.py
===================================================================
--- branches/rewrite/pywikibot/families/memoryalpha_family.py 2008-08-28 11:35:51 UTC (rev
5858)
+++ branches/rewrite/pywikibot/families/memoryalpha_family.py 2008-08-28 19:05:43 UTC (rev
5859)
@@ -1,64 +0,0 @@
-# -*- coding: utf-8 -*-
-from pywikibot import family
-
-# The Memory Alpha family, a set of StarTrek wikis.
-
-class Family(family.Family):
- def __init__(self):
- family.Family.__init__(self)
- self.name = 'memoryalpha'
-
- self.langs = {
- 'de': None,
- 'en': None,
- 'eo': None,
- 'es': None,
- 'fr': None,
- 'nl': None,
- 'pl': None,
- 'sv': None,
- }
-
- # Override defaults
- self.namespaces[2]['pl'] = u'Użytkownik'
- self.namespaces[3]['pl'] = u'Dyskusja użytkownika'
-
- # Most namespaces are inherited from family.Family.
-
- self.namespaces[4] = {
- '_default': u'Memory Alpha',
- }
- self.namespaces[5] = {
- '_default': u'Memory Alpha talk',
- 'de': u'Memory Alpha Diskussion',
- 'eo': u'Memory Alpha diskuto',
- 'es': u'Memory Alpha Discusión',
- 'fr': u'Discussion Memory Alpha',
- 'nl': u'Overleg Memory Alpha',
- 'pl': u'Dyskusja Memory Alpha',
- 'sv': u'Memory Alphadiskussion',
- }
- self.namespaces[100] = {
- '_default': u'Forum',
- }
- self.namespaces[101] = {
- '_default': u'Forum talk',
- 'de': u'Forum Diskussion',
- }
-
- # A few selected big languages for things that we do not want to loop over
- # all languages. This is only needed by the titletranslate.py module, so
- # if you carefully avoid the options, you could get away without these
- # for another wiki family.
- self.languages_by_size = ['en', 'de', 'es', 'nl',
'sv', 'fr', 'eo', 'pl']
-
- alphabetic = ['de', 'en', 'es', 'eo',
'fr', 'nl', 'pl', 'sv']
-
- def hostname(self,code):
- return 'www.memory-alpha.org'
-
- def scriptpath(self, code):
- return '/%s' % code
-
- def version(self, code):
- return "1.12alpha"
Deleted: branches/rewrite/pywikibot/families/omegawiki_family.py
===================================================================
--- branches/rewrite/pywikibot/families/omegawiki_family.py 2008-08-28 11:35:51 UTC (rev
5858)
+++ branches/rewrite/pywikibot/families/omegawiki_family.py 2008-08-28 19:05:43 UTC (rev
5859)
@@ -1,79 +0,0 @@
-# -*- coding: utf-8 -*-
-
-__version__ = '$Id$'
-
-from pywikibot import family
-
-# Omegawiki, the Ultimate online dictionary
-
-class Family(family.Family):
-
- def __init__(self):
- family.Family.__init__(self)
- self.name = 'omegawiki'
- self.langs = {
- 'en': 'omegawiki.org',
- }
- self.namespaces[4] = {
- '_default': [u'OmegaWiki'],
- }
- self.namespaces[5] = {
- '_default': [u'OmegaWiki talk'],
- }
- self.namespaces[6] = {
- '_default': [u'File'],
- }
- self.namespaces[7] = {
- '_default': [u'File talk'],
- }
- self.namespaces[16] = {
- '_default': [u'Expression'],
- }
- self.namespaces[17] = {
- '_default': [u'Expression talk'],
- }
- self.namespaces[18] = {
- '_default': [u'Collection'],
- }
- self.namespaces[19] = {
- '_default': [u'Collection talk'],
- }
- self.namespaces[20] = {
- '_default': [u'Relation'],
- }
- self.namespaces[21] = {
- '_default': [u'Relation talk'],
- }
- self.namespaces[22] = {
- '_default': [u'Portal'],
- }
- self.namespaces[23] = {
- '_default': [u'Portal talk'],
- }
- self.namespaces[24] = {
- '_default': [u'DefinedMeaning'],
- }
- self.namespaces[25] = {
- '_default': [u'DefinedMeaning talk'],
- }
- self.namespaces[26] = {
- '_default': [u'Search'],
- }
- self.namespaces[27] = {
- '_default': [u'Search talk'],
- }
- self.namespaces[28] = {
- '_default': [u'NeedsTranslationTo'],
- }
- self.namespaces[29] = {
- '_default': [u'NeedsTranslationTo talk'],
- }
-
- # On most Wikipedias page names must start with a capital letter, but some
- # languages don't use this.
-
- self.nocapitalize = self.langs.keys()
-
- def version(self, code):
- return "1.10alpha"
-
Deleted: branches/rewrite/pywikibot/families/pakanto_family.py
===================================================================
--- branches/rewrite/pywikibot/families/pakanto_family.py 2008-08-28 11:35:51 UTC (rev
5858)
+++ branches/rewrite/pywikibot/families/pakanto_family.py 2008-08-28 19:05:43 UTC (rev
5859)
@@ -1,29 +0,0 @@
-# -*- coding: utf-8 -*-
-
-__version__ = '$Id$'
-
-from pywikibot import family
-
-# The Pakanto wiki, a project to maintain Linux package descriptions
-
-class Family(family.Family):
-
- def __init__(self):
- family.Family.__init__(self)
- self.name = 'pakanto'
- self.langs = {
- 'pakanto': 'www.pakanto.org',
- }
- self.namespaces[4] = {
- '_default': [u'Pakanto',
self.namespaces[4]['_default']],
- }
- self.namespaces[5] = {
- '_default': [u'Pakanto talk',
self.namespaces[5]['_default']],
- }
-
- def scriptpath(self, code):
- return ''
-
- def version(self, code):
- return "1.11alpha"
-
Deleted: branches/rewrite/pywikibot/families/southernapproach_family.py
===================================================================
--- branches/rewrite/pywikibot/families/southernapproach_family.py 2008-08-28 11:35:51 UTC
(rev 5858)
+++ branches/rewrite/pywikibot/families/southernapproach_family.py 2008-08-28 19:05:43 UTC
(rev 5859)
@@ -1,23 +0,0 @@
-# -*- coding: utf-8 -*-
-from pywikibot import family
-import config
-
-# 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.12alpha"
Deleted: branches/rewrite/pywikibot/families/supertux_family.py
===================================================================
--- branches/rewrite/pywikibot/families/supertux_family.py 2008-08-28 11:35:51 UTC (rev
5858)
+++ branches/rewrite/pywikibot/families/supertux_family.py 2008-08-28 19:05:43 UTC (rev
5859)
@@ -1,28 +0,0 @@
-# -*- coding: utf-8 -*-
-
-__version__ = '$Id$'
-
-from pywikibot import family
-
-# The project wiki of SuperTux, an open source arcade game.
-
-class Family(family.Family):
-
- def __init__(self):
- family.Family.__init__(self)
- self.name = 'supertux'
- self.langs = {
- 'en': 'supertux.lethargik.org',
- }
- self.namespaces[4] = {
- '_default': [u'SuperTux',
self.namespaces[4]['_default']],
- }
- self.namespaces[5] = {
- '_default': [u'SuperTux talk',
self.namespaces[5]['_default']],
- }
-
- def scriptpath(self, code):
- return '/wiki'
-
- def version(self, code):
- return "1.11.1"
Deleted: branches/rewrite/pywikibot/families/uncyclopedia_family.py
===================================================================
--- branches/rewrite/pywikibot/families/uncyclopedia_family.py 2008-08-28 11:35:51 UTC
(rev 5858)
+++ branches/rewrite/pywikibot/families/uncyclopedia_family.py 2008-08-28 19:05:43 UTC
(rev 5859)
@@ -1,789 +0,0 @@
-# -*- coding: utf-8 -*-
-from pywikibot import family
-
-#
-# uncyclopedia_family.py March 21, 2008 for pywikipediabot
-#
-# The Uncyclomedia family, assorted encyclopedi.as from the Uncyclopedia series.
-# This file contains a full set of (currently) fifty languages, excluding forks,
-# redirects and mirrors.
-#
-# Note that some of the wikia in this set are known to have badly incomplete,
-# missing or incorrect interwiki maps. Do *not* attempt to invoke interwiki.py
-# on Uncyclopedia-related wikis unless you have verified availability of
-# links for all language pairs that you will plan to use as interwikis.
-#
-
-class Family(family.Family):
- def __init__(self):
- family.Family.__init__(self)
- self.name = 'uncyclopedia'
-
- self.langs = {
- 'ar': 'beidipedia.wikia.com',
- 'ast':'nunyepedia.wikia.com',
- 'bn': 'bn.uncyc.org',
- 'bg': 'bg.oxypedia.net',
- 'bs': 'bs.neciklopedija.org',
- 'ca': 'valenciclopedia.wikia.com',
- 'common': 'commons.uncyclomedia.org',
- 'cs': 'necyklopedie.wikia.com',
- 'cy': 'cy.uncyclopedia.org.uk',
- 'da': 'spademanns.wikia.com',
- 'de': 'de.uncyclopedia.org',
- 'el': 'frikipaideia.wikia.com',
- 'en': 'uncyclopedia.org',
- 'eo': 'neciklopedio.wikia.com',
- 'es': 'inciclopedia.wikia.com',
- 'et': 'ebatsuklopeedia.org',
- 'fa': 'fa.uncyc.org',
- 'fi': 'hikipedia.info',
- 'fr': 'desencyclopedie.wikia.com',
- 'got':'unsaiklopedia.org',
- 'he': 'eincyclopedia.wikia.com',
- 'hr': 'hr.neciklopedija.org',
- 'hu': 'unciklopedia.org',
- 'id': 'tolololpedia.wikia.com',
- 'info': 'uncyclopedia.info',
- 'it': 'nonciclopedia.wikia.com',
- 'ja': 'ansaikuropedia.org',
- 'jv': 'ndhablek.wikia.com',
- 'ko': 'uncyclopedia.kr',
- 'la': 'uncapaedia.wikia.com',
- 'lb': 'kengencyclopedia.org',
- 'lt': 'juokopedija.org',
- 'lv': 'lv.neciklopedija.org',
- 'meta': 'meta.uncyclomedia.org',
- 'mg': 'hatsiklopedia.org',
- 'mk': 'mk.neciklopedija.org',
- 'nl': 'oncyclopedia.net',
- 'nn': 'ikkepedia.org',
- 'no': 'ikkepedia.org',
- 'pl': 'nonsensopedia.wikia.com',
- 'pt': 'desciclopedia.ws',
- 'ro': 'uncyclopedia.ro',
- 'ru': 'absurdopedia.wikia.com',
- 'sk': 'necyklopedia.wikia.com',
- 'sl': 'butalopedija.org',
- 'sr': 'sr.neciklopedija.org',
- 'su': 'su.goblogpedia.wikia.com',
- 'sv': 'psyklopedin.org',
- 'th': 'th.uncyclopedia.info',
- 'tr': 'yansiklopedi.org',
- 'uk': 'inciklopedia.org',
- 'yi': 'keinziklopedie.wikia.com',
- 'zh-hk': 'uncyclopedia.hk',
- 'zh-tw':'uncyclopedia.tw',
- 'zh': 'zh.uncyclopedia.wikia.com',
- }
-
- #
- # project namespaces & custom namespace lists
- #
-
- self.namespaces[-2]['ar'] = u'ملف'
- self.namespaces[-2]['bs'] = u'Medija'
- self.namespaces[-2]['he'] = u'מדיה'
- self.namespaces[-2]['hu'] = u'Media'
- self.namespaces[-2]['th'] = u'สื่อ'
- self.namespaces[-2]['zh-hk'] = u'媒體'
- self.namespaces[-2]['zh-tw'] = u'媒體'
-
- self.namespaces[-1]['bs'] = u'Posebno'
- self.namespaces[-1]['ja'] = u'Special'
- self.namespaces[-1]['jv'] = u'Astamiwa'
- self.namespaces[-1]['lb'] = u'Spezial'
- self.namespaces[-1]['zh-hk'] = u'特殊'
- self.namespaces[-1]['zh-tw'] = u'特殊'
-
- self.namespaces[1]['ast'] = u'Discusión'
- self.namespaces[1]['bs'] = u'Razgovor'
- self.namespaces[1]['id'] = u'Pembicaraan'
- self.namespaces[1]['ja'] = u'Talk'
- self.namespaces[1]['jv'] = u'Dhiskusi'
- self.namespaces[1]['lb'] = u'Diskussioun'
- self.namespaces[1]['lv'] = u'Diskusija'
- self.namespaces[1]['mg'] = u'Discuter'
- self.namespaces[1]['th'] = u'พูดคุย'
- self.namespaces[1]['zh-hk'] = u'討論'
- self.namespaces[1]['zh-tw'] = u'討論'
-
- self.namespaces[2]['bs'] = u'Korisnik'
- self.namespaces[2]['jv'] = u'Panganggo'
- self.namespaces[2]['lb'] = u'Benotzer'
- self.namespaces[2]['lv'] = u'Lietotājs'
- self.namespaces[2]['mg'] = u'Utilisateur'
- self.namespaces[2]['pl'] = u'Użytkownik'
- self.namespaces[2]['zh-hk'] = u'用戶'
- self.namespaces[2]['zh-tw'] = u'用戶'
-
- self.namespaces[3]['ast'] = u'Usuariu discusión'
- self.namespaces[3]['bs'] = u'Razgovor sa korisnikom'
- self.namespaces[3]['da'] = u'Brugerdiskussion'
- self.namespaces[3]['hu'] = u'User talk'
- self.namespaces[3]['id'] = u'Pembicaraan Pengguna'
- self.namespaces[3]['jv'] = u'Dhiskusi Panganggo'
- self.namespaces[3]['lb'] = u'Benotzer Diskussioun'
- self.namespaces[3]['lv'] = u'Lietotāja diskusija'
- self.namespaces[3]['mg'] = u'Discussion Utilisateur'
- self.namespaces[3]['mk'] = u'Разговор со корисник'
- self.namespaces[3]['pl'] = u'Dyskusja użytkownika'
- self.namespaces[3]['th'] = u'คุยกับผู้ใช้'
- self.namespaces[3]['zh-hk'] = u'用戶討論'
- self.namespaces[3]['zh-tw'] = u'用戶討論'
-
- self.namespaces[4]['ar'] = u'بيضيپيديا'
- self.namespaces[4]['ast'] = u'Nunyepedia'
- self.namespaces[4]['bg'] = u'Oxypedia'
- self.namespaces[4]['bn'] = u'Uncyclopedia'
- self.namespaces[4]['bs'] = u'Neciklopedija'
- self.namespaces[4]['ca'] = u'Valenciclopèdia'
- self.namespaces[4]['common'] = u'UnCommons'
- self.namespaces[4]['cs'] = u'Necyklopedie'
- self.namespaces[4]['cy'] = u'Celwyddoniadur'
- self.namespaces[4]['da'] = u'Spademanns Leksikon'
- self.namespaces[4]['de'] = u'Uncyclopedia'
- self.namespaces[4]['el'] = u'Φρικηπαίδεια'
- self.namespaces[4]['en'] = u'Uncyclopedia'
- self.namespaces[4]['eo'] = u'Neciklopedio'
- self.namespaces[4]['es'] = u'Inciclopedia'
- self.namespaces[4]['et'] = u'Ebatsüklopeedia'
- self.namespaces[4]['fa'] = u'Uncyclopedia'
- self.namespaces[4]['fi'] = u'Hikipedia'
- self.namespaces[4]['fr'] = u'Désencyclopédie'
- self.namespaces[4]['got'] = u'Unsaiklopedia'
- self.namespaces[4]['he'] = u'איןציקלופדיה'
- self.namespaces[4]['hr'] = u'Neciklopedija'
- self.namespaces[4]['hu'] = u'Unciklopédia'
- self.namespaces[4]['id'] = u'Tolololpedia'
- self.namespaces[4]['info'] = u'Uncyclopaedia'
- self.namespaces[4]['it'] = u'Nonciclopedia'
- self.namespaces[4]['ja'] = u'Uncyclopedia'
- self.namespaces[4]['jv'] = u'Ndhablek'
- self.namespaces[4]['ko'] = u'백괴사전'
- self.namespaces[4]['la'] = u'Uncapaedia'
- self.namespaces[4]['lb'] = u'Kengencyclopedia'
- self.namespaces[4]['lt'] = u'Juokopediją'
- self.namespaces[4]['lv'] = u'Neciklopēdija'
- self.namespaces[4]['meta'] = u'UnMeta'
- self.namespaces[4]['mg'] = u'Hatsiklopedia'
- self.namespaces[4]['mk'] = u'Нециклопедий'
- self.namespaces[4]['nl'] = u'Oncyclopedie'
- self.namespaces[4]['nn'] = u'Ikkepedia'
- self.namespaces[4]['no'] = u'Ikkepedia'
- self.namespaces[4]['pl'] = u'Nonsensopedia'
- self.namespaces[4]['pt'] = u'Desciclopédia'
- self.namespaces[4]['ro'] = u'Unciclopedie'
- self.namespaces[4]['ru'] = u'Абсурдопедия'
- self.namespaces[4]['sk'] = u'Necyklopédia'
- self.namespaces[4]['sl'] = u'Butalopedija'
- self.namespaces[4]['sr'] = u'Нециклопедија'
- self.namespaces[4]['su'] = u'Goblogpedia Wiki'
- self.namespaces[4]['sv'] = u'Psyklopedin'
- self.namespaces[4]['th'] = u'ไร้สาระนุกรม'
- self.namespaces[4]['tr'] = u'Yansiklopedi'
- self.namespaces[4]['uk'] = u'Інциклопедія'
- self.namespaces[4]['yi'] = u'קיינציקלאָפעדיע'
- self.namespaces[4]['zh'] = u'伪基百科'
- self.namespaces[4]['zh-hk'] = u'偽基百科'
- self.namespaces[4]['zh-tw'] = u'偽基百科'
-
- self.namespaces[5]['ar'] = u'نقاش بيضيپيديا'
- self.namespaces[5]['ast'] = u'Nunyepedia discusión'
- self.namespaces[5]['bg'] = u'Oxypedia беседа'
- self.namespaces[5]['bn'] = u'Uncyclopedia আলাপ'
- self.namespaces[5]['bs'] = u'Razgovor s Neciklopedija'
- self.namespaces[5]['ca'] = u'Valenciclopèdia Discussió'
- self.namespaces[5]['common'] = u'UnCommon talk'
- self.namespaces[5]['cs'] = u'Necyklopedie diskuse'
- self.namespaces[5]['cy'] = u'Sgwrs Celwyddoniadur'
- self.namespaces[5]['da'] = u'Spademanns Leksikon-diskussion'
- self.namespaces[5]['de'] = u'Uncyclopedia Diskussion'
- self.namespaces[5]['el'] = u'Φρικηπαίδεια συζήτηση'
- self.namespaces[5]['en'] = u'Uncyclopedia talk'
- self.namespaces[5]['eo'] = u'Neciklopedio diskuto'
- self.namespaces[5]['es'] = u'Inciclopedia Discusión'
- self.namespaces[5]['et'] = u'Ebatsüklopeedia arutelu'
- self.namespaces[5]['fa'] = u'بحث Uncyclopedia'
- self.namespaces[5]['fi'] = u'Keskustelu Hikipediasta'
- self.namespaces[5]['fr'] = u'Discussion Désencyclopédie'
- self.namespaces[5]['got'] = u'Unsaiklopedia talk'
- self.namespaces[5]['he'] = u'שיחת איןציקלופדיה'
- self.namespaces[5]['hr'] = u'Razgovor Neciklopedija'
- self.namespaces[5]['hu'] = u'Unciklopédia vita'
- self.namespaces[5]['id'] = u'Pembicaraan Tolololpedia'
- self.namespaces[5]['info'] = u'Uncyclopædia talk'
- self.namespaces[5]['it'] = u'Discussioni Nonciclopedia'
- self.namespaces[5]['ja'] = u'Uncyclopedia talk'
- self.namespaces[5]['jv'] = u'Dhiskusi Ndhablek'
- self.namespaces[5]['ko'] = u'백괴사전토론'
- self.namespaces[5]['la'] = u'Disputatio Uncapaediae'
- self.namespaces[5]['lb'] = u'Kengencyclopedia Diskussioun'
- self.namespaces[5]['lt'] = u'Juokopediją aptarimas'
- self.namespaces[5]['lv'] = u'Neciklopēdija diskusija'
- self.namespaces[5]['meta'] = u'UnMeta talk'
- self.namespaces[5]['mg'] = u'Discussion Hatsiklopedia'
- self.namespaces[5]['mk'] = u'Разговор за Нециклопедий'
- self.namespaces[5]['nl'] = u'Overleg Oncyclopedie'
- self.namespaces[5]['nn'] = u'Ikkepedia-diskusjon'
- self.namespaces[5]['no'] = u'Ikkepedia-diskusjon'
- self.namespaces[5]['pl'] = u'Dyskusja Nonsensopedia'
- self.namespaces[5]['pt'] = u'Desciclopédia Discussão'
- self.namespaces[5]['ro'] = u'Discuţie Unciclopedie'
- self.namespaces[5]['ru'] = u'Обсуждение Абсурдопедии'
- self.namespaces[5]['sk'] = u'Diskusia k Necyklopédia'
- self.namespaces[5]['sl'] = u'Pogovor o Butalopedija'
- self.namespaces[5]['sr'] = u'Разговор о Нециклопедија'
- self.namespaces[5]['su'] = u'Obrolan Goblogpedia Wiki'
- self.namespaces[5]['sv'] = u'Psyklopedindiskussion'
- self.namespaces[5]['th'] = u'คุยเรื่องไร้สาระนุกรม'
- self.namespaces[5]['tr'] = u'Yansiklopedi tartışma'
- self.namespaces[5]['uk'] = u'Обговорення Інциклопедії'
- self.namespaces[5]['yi'] = u'קיינציקלאָפעדיע רעדן'
- self.namespaces[5]['zh'] = u'伪基百科 talk'
- self.namespaces[5]['zh-hk'] = u'偽基百科討論'
- self.namespaces[5]['zh-tw'] = u'偽基百科討論'
-
- self.namespaces[6]['ast'] = u'Imaxen'
- self.namespaces[6]['bs'] = u'Slika'
- self.namespaces[6]['id'] = u'Berkas'
- self.namespaces[6]['info'] = u'File'
- self.namespaces[6]['ja'] = u'Image'
- self.namespaces[6]['jv'] = u'Gambar'
- self.namespaces[6]['lb'] = u'Bild'
- self.namespaces[6]['lv'] = u'Attēls'
- self.namespaces[6]['zh-hk'] = u'圖像'
- self.namespaces[6]['zh-tw'] = u'圖像'
-
- self.namespaces[7]['ast'] = u'Imaxen discusión'
- self.namespaces[7]['bs'] = u'Razgovor o slici'
- self.namespaces[7]['da'] = u'Billeddiskussion'
- self.namespaces[7]['hu'] = u'Kep vita'
- self.namespaces[7]['id'] = u'Pembicaraan Berkas'
- self.namespaces[7]['info'] = u'File talk'
- self.namespaces[7]['jv'] = u'Dhiskusi Gambar'
- self.namespaces[7]['lb'] = u'Bild Diskussioun'
- self.namespaces[7]['lv'] = u'Attēla diskusija'
- self.namespaces[7]['mg'] = u'Discussion Image'
- self.namespaces[7]['mk'] = u'Разговор за слика'
- self.namespaces[7]['th'] = u'คุยเรื่องภาพ'
- self.namespaces[7]['zh-hk'] = u'圖像討論'
- self.namespaces[7]['zh-tw'] = u'圖像討論'
-
- self.namespaces[8]['bs'] = u'MedijaViki'
- self.namespaces[8]['fi'] = u'MediaWiki'
- self.namespaces[8]['cy'] = u'MediaWici'
- self.namespaces[8]['he'] = u'מדיה ויקי'
- self.namespaces[8]['lb'] = u'MediaWiki'
- self.namespaces[8]['th'] = u'มีเดียวิกิ'
- self.namespaces[8]['zh-hk'] = u'媒體偽基'
- self.namespaces[8]['zh-tw'] = u'媒體偽基'
-
- self.namespaces[9]['ast'] = u'MediaWiki discusión'
- self.namespaces[9]['bn'] = u'MediaWiki আলাপ'
- self.namespaces[9]['bs'] = u'Razgovor o MedijaVikiju'
- self.namespaces[9]['cy'] = u'Sgwrs MediaWici'
- self.namespaces[9]['da'] = u'MediaWiki-diskussion'
- self.namespaces[9]['fi'] = u'Keskustelu MediaWiki'
- self.namespaces[9]['he'] = u'שיחת מדיה ויקי'
- self.namespaces[9]['hu'] = u'MediaWiki talk'
- self.namespaces[9]['jv'] = u'Dhiskusi MediaWiki'
- self.namespaces[9]['ko'] = u'MediaWiki토론'
- self.namespaces[9]['lb'] = u'MediaWiki Diskussioun'
- self.namespaces[9]['lv'] = u'MediaWiki diskusija'
- self.namespaces[9]['mg'] = u'Discussion MediaWiki'
- self.namespaces[9]['mk'] = u'Разговор за МедијаВики'
- self.namespaces[9]['sv'] = u'MediaWiki diskussion'
- self.namespaces[9]['th'] = u'คุยเรื่องมีเดียวิกิ'
- self.namespaces[9]['zh-hk'] = u'媒體偽基討論'
- self.namespaces[9]['zh-tw'] = u'媒體偽基討論'
-
- self.namespaces[10]['ast'] = u'Plantilla'
- self.namespaces[10]['bs'] = u'Šablon'
- self.namespaces[10]['ca'] = u'Plantilla'
- self.namespaces[10]['jv'] = u'Cithakan'
- self.namespaces[10]['ko'] = u'틀'
- self.namespaces[10]['lb'] = u'Schabloun'
- self.namespaces[10]['lv'] = u'Veidne'
- self.namespaces[10]['mg'] = u'Modèle'
- self.namespaces[10]['mk'] = u'Шаблон'
- self.namespaces[10]['th'] = u'แม่แบบ'
- self.namespaces[10]['zh-hk'] = u'範本'
- self.namespaces[10]['zh-tw'] = u'範本'
-
- self.namespaces[11]['ar'] = u'نقاش قالب'
- self.namespaces[11]['ast'] = u'Plantilla discusión'
- self.namespaces[11]['bs'] = u'Razgovor o šablonu'
- self.namespaces[11]['ca'] = u'Plantilla Discussió'
- self.namespaces[11]['da'] = u'Skabelondiskussion'
- self.namespaces[11]['jv'] = u'Dhiskusi Cithakan'
- self.namespaces[11]['ko'] = u'틀토론'
- self.namespaces[11]['lb'] = u'Schabloun Diskussioun'
- self.namespaces[11]['lv'] = u'Veidnes diskusija'
- self.namespaces[11]['mg'] = u'Discussion Modèle'
- self.namespaces[11]['mk'] = u'Разговор за шаблон'
- self.namespaces[11]['th'] = u'คุยเรื่องแม่แบบ'
- self.namespaces[11]['zh-hk'] = u'範本討論'
- self.namespaces[11]['zh-tw'] = u'範本討論'
-
- self.namespaces[12]['ast'] = u'Ayuda'
- self.namespaces[12]['bs'] = u'Pomoć'
- self.namespaces[12]['cy'] = u'Cymorth'
- self.namespaces[12]['jv'] = u'Pitulung'
- self.namespaces[12]['lb'] = u'Hëllef'
- self.namespaces[12]['lv'] = u'Palīdzība'
- self.namespaces[12]['mg'] = u'Aide'
- self.namespaces[12]['th'] = u'วิธีใช้'
- self.namespaces[12]['zh-hk'] = u'協助'
- self.namespaces[12]['zh-tw'] = u'協助'
-
- self.namespaces[13]['ast'] = u'Ayuda discusión'
- self.namespaces[13]['bs'] = u'Razgovor o pomoći'
- self.namespaces[13]['cy'] = u'Sgwrs Cymorth'
- self.namespaces[13]['da'] = u'Hjælp-diskussion'
- self.namespaces[13]['jv'] = u'Dhiskusi Pitulung'
- self.namespaces[13]['lb'] = u'Hëllef Diskussioun'
- self.namespaces[13]['lv'] = u'Palīdzības diskusija'
- self.namespaces[13]['mg'] = u'Discussion Aide'
- self.namespaces[13]['mk'] = u'Разговор за помош'
- self.namespaces[13]['sv'] = u'Hjälpdiskussion'
- self.namespaces[13]['th'] = u'คุยเรื่องวิธีใช้'
- self.namespaces[13]['zh-hk'] = u'協助討論'
- self.namespaces[13]['zh-tw'] = u'協助討論'
-
- self.namespaces[14]['bs'] = u'Kategorija'
- self.namespaces[14]['cy'] = u'Categori'
- self.namespaces[14]['jv'] = u'Kategori'
- self.namespaces[14]['lb'] = u'Kategorie'
- self.namespaces[14]['lv'] = u'Kategorija'
- self.namespaces[14]['mg'] = u'Catégorie'
- self.namespaces[14]['th'] = u'หมวดหมู่'
- self.namespaces[14]['zh-hk'] = u'分類'
- self.namespaces[14]['zh-tw'] = u'分類'
-
- self.namespaces[15]['ast'] = u'Categoría discusión'
- self.namespaces[15]['bg'] = u'Категория беседа'
- self.namespaces[15]['bs'] = u'Razgovor o kategoriji'
- self.namespaces[15]['cy'] = u'Sgwrs Categori'
- self.namespaces[15]['da'] = u'Kategoridiskussion'
- self.namespaces[15]['jv'] = u'Dhiskusi Kategori'
- self.namespaces[15]['lb'] = u'Kategorie Diskussioun'
- self.namespaces[15]['lv'] = u'Kategorijas diskusija'
- self.namespaces[15]['mg'] = u'Discussion Catégorie'
- self.namespaces[15]['mk'] = u'Разговор за категорија'
- self.namespaces[15]['th'] = u'คุยเรื่องหมวดหมู่'
- self.namespaces[15]['zh-hk'] = u'分類討論'
- self.namespaces[15]['zh-tw'] = u'分類討論'
-
- self.namespaces[16] = {
- 'fi': u'Foorumi',
- 'got': u'Forum',
- 'info': u'Game',
-# 'ko': u'漢字',
- 'meta': u'UnSource',
- 'nl': u'Portaal',
- 'pt': u'Esplanada',
- 'th': u'อันไซโคลพีเดีย',
- 'zh-hk': u'偽基新聞',
- 'zh-tw': u'偽基新聞'
- }
-
- self.namespaces[17] = {
- 'fi': u'Keskustelu foorumista',
- 'got': u'Forum gawaurdja',
- 'info': u'Game talk',
-# 'ko': u'討論',
- 'meta': u'UnSource talk',
- 'nl': u'Overleg portaal',
- 'pt': u'Esplanada Discussão',
- 'th': u'คุยเรื่องอันไซโคลพีเดีย',
- 'zh-hk': u'偽基新聞討論',
- 'zh-tw': u'偽基新聞討論'
- }
-
- self.namespaces[18] = {
- '_default': '',
- 'fi': u'Hikinews',
- 'got': u'𐌰𐍂𐌼𐌰𐌹𐍉',
-# 'ko': u'백괴나라',
- 'meta': u'UnSpecies',
- 'nl': u'OnNieuws',
- 'pt': u'Fatos',
- 'th': u'ไร้ข่าว',
- 'zh-hk': u'偽基辭典',
- 'zh-tw': u'偽基辭典'
- }
-
- self.namespaces[19] = {
- '_default': '',
- 'fi': u'Keskustelu Hikinewseistä',
- 'got': u'𐌰𐍂𐌼𐌰𐌹𐍉 𐌲𐌰𐍅𐌰𐌿𐍂𐌳𐌾𐌰',
-# 'ko': u'백괴나라토론',
- 'meta': u'UnSpecies talk',
- 'nl': u'Overleg OnNieuws',
- 'pt': u'Fatos Discussão',
- 'th': u'คุยเรื่องไร้ข่าว',
- 'zh-hk': u'偽基辭典討論',
- 'zh-tw': u'偽基辭典討論'
- }
-
- self.namespaces[20] = {
- '_default': '',
- 'fi': u'Hiktionary',
- 'got': u'𐍆𐌰𐌹𐌰𐌽𐍅𐌰𐌿𐍂𐌳𐌰𐌱𐍉𐌺𐌰',
- 'meta': u'Namespace',
- 'nl': u'Onwoordenboek',
- 'pt': u'Forum',
- 'th': u'ไร้วิทยาลัย',
- 'zh-hk': u'動漫遊戲',
- 'zh-tw': u'動漫遊戲'
- }
-
- self.namespaces[21] = {
- '_default': '',
- 'fi': u'Keskustelu Hiktionarysta',
- 'got': u'𐍆𐌰𐌹𐌰𐌽𐍅𐌰𐌿𐍂𐌳𐌰𐌱𐍉𐌺𐌰 𐌲𐌰𐍅𐌰𐌿𐍂𐌳𐌾𐌰',
- 'meta': u'Namespace talk',
- 'nl': u'Overleg Onwoordenboek',
- 'pt': u'Forum Discussão',
- 'th': u'คุยเรื่องไร้วิทยาลัย',
- 'zh-hk': u'動漫遊戲討論',
- 'zh-tw': u'動漫遊戲討論'
- }
-
- self.namespaces[22] = {
- 'fi': u'Hikikirjasto',
- 'nl': u'OnBoeken',
- 'th': u'ไร้พจนานุกรม',
- 'zh-hk': u'春心蕩漾',
- 'zh-tw': u'春心蕩漾'
- }
-
- self.namespaces[23] = {
- 'fi': u'Keskustelu hikikirjasta',
- 'nl': u'Overleg OnBoeken',
- 'th': u'คุยเรื่องไร้พจนานุกรม',
- 'zh-hk': u'春心蕩漾討論',
- 'zh-tw': u'春心蕩漾討論'
- }
-
- self.namespaces[24] = {
- 'fi': u'Hikisitaatit',
- 'th': u'ไร้ชีวประวัติ',
- 'zh-hk': u'主題展館',
- 'zh-tw': u'主題展館'
- }
-
- self.namespaces[25] = {
- 'fi': u'Keskustelu hikisitaatista',
- 'th': u'คุยเรื่องไร้ชีวประวัติ',
- 'zh-hk': u'主題展館討論',
- 'zh-tw': u'主題展館討論'
- }
-
- self.namespaces[26] = {
- 'fi': u'Hömppäpedia',
- 'th': u'สภาน้ำชา',
- 'zh-hk': u'論壇',
- 'zh-tw': u'論壇'
- }
-
- self.namespaces[27] = {
- 'fi': u'Höpinä hömpästä',
- 'th': u'คุยเรื่องสภาน้ำชา',
- 'zh-hk': u'論壇討論',
- 'zh-tw': u'論壇討論'
- }
-
- self.namespaces[28] = {
- 'fi': u'Hikipeli',
- 'nl': u'Ongerijmd',
- 'th': u'บอร์ด',
- 'zh-hk': u'詞意分道',
- 'zh-tw': u'詞意分道'
- }
-
- self.namespaces[29] = {
- 'fi': u'Hihitys Hikipelistä',
- 'th': u'คุยเรื่องบอร์ด',
- 'zh-hk': u'詞意分道討論',
- 'zh-tw': u'詞意分道討論'
- }
-
- self.namespaces[30] = {
- 'pt': u'Deslivros',
- 'th': u'ไร้ซอร์ซ',
- 'zh-hk': u'臺語',
- 'zh-tw': u'臺語'
- }
-
- self.namespaces[31] = {
- 'pt': u'Deslivros Discussão',
- 'th': u'คุยเรื่องไร้ซอร์ซ',
- 'zh-hk': u'臺語討論',
- 'zh-tw': u'臺語討論'
- }
-
- self.namespaces[32] = {
- 'ja': u'Portal',
- 'pt': u'Desentrevistas',
- 'th': u'ไร้คำคม',
- 'zh-hk': u'香港語',
- 'zh-tw': u'香港語'
- }
-
- self.namespaces[33] = {
- 'ja': u'Portal talk',
- 'pt': u'Desentrevistas Discussão',
- 'th': u'คุยเรื่องไร้คำคม',
- 'zh-hk': u'香港語討論',
- 'zh-tw': u'香港語討論'
- }
-
- self.namespaces[34] = {
- 'th': u'ไร้ภาพ',
- 'zh-hk': u'書面語',
- 'zh-tw': u'書面語'
- }
-
- self.namespaces[35] = {
- 'th': u'คุยเรื่องไร้ภาพ',
- 'zh-hk': u'書面語討論',
- 'zh-tw': u'書面語討論'
- }
-
- self.namespaces[36] = {
- 'zh-hk': u'偽基書籍',
- 'zh-tw': u'偽基書籍'
- }
-
- self.namespaces[37] = {
- 'zh-hk': u'偽基書籍討論',
- 'zh-tw': u'偽基書籍討論'
- }
-
- self.namespaces[100] = {
- 'de': u'UnNews',
- 'nn': u'Ikkenytt',
- 'no': u'Ikkenytt',
- 'pl': u'Cytaty',
- 'sv': u'PsykNyheter',
- 'tr': u'YanSözlük'
- }
-
- self.namespaces[101] = {
- 'de': u'UnNews Diskussion',
- 'nn': u'Ikkenytt-diskusjon',
- 'no': u'Ikkenytt-diskusjon',
- 'pl': u'Dyskusja cytatów',
- 'sv': u'PsykNyheter diskussion',
- 'tr': u'YanSözlük tartışma'
- }
-
- self.namespaces[102] = {
- 'de': u'Undictionary',
- 'en': u'UnNews',
- 'ja': u'UnNews',
- 'nn': u'Ikktionary',
- 'no': u'Ikktionary',
- 'pl': u'NonNews',
- 'sv': u'Forum',
- 'tr': u'YanHaber',
- }
-
- self.namespaces[103] = {
- 'de': u'Undictionary Diskussion',
- 'en': u'UnNews talk',
- 'ja': u'UnNews talk',
- 'nn': u'Ikktionary-diskusjon',
- 'no': u'Ikktionary-diskusjon',
- 'pl': u'Dyskusja NonNews',
- 'sv': u'Forumdiskussion',
- 'tr': u'YanHaber tartışma'
- }
-
- self.namespaces[104] = {
- 'de': u'UnBooks',
- 'en': u'Undictionary',
- 'pl': u'Nonźródła',
- 'sv': u'Psyktionary'
- }
-
- self.namespaces[105] = {
- 'de': u'UnBooks Diskussion',
- 'en': u'Undictionary talk',
- 'pl': u'Dyskusja nonźródeł',
- 'sv': u'Psyktionary diskussion'
- }
-
- self.namespaces[106] = {
- '_default':'',
- 'en': u'Game',
- 'ja': u'Game',
- 'pl': u'Słownik',
- 'pt': u'Desnotícias',
- 'sv': u'PsykCitat'
- }
-
- self.namespaces[107] = {
- 'en': u'Game talk',
- 'ja': u'Game talk',
- 'pl': u'Dyskusja słownika',
- 'pt': u'Desnotícias Discussão',
- 'sv': u'PsykCitat diskussion'
- }
-
- self.namespaces[108] = {
- 'en': u'Babel',
- 'pl': u'Gra',
- 'pt': u'Jogo',
- 'sv': u'Spel'
- }
-
- self.namespaces[109] = {
- 'en': u'Babel talk',
- 'pl': u'Dyskusja gry',
- 'pt': u'Jogo Discussão',
- 'sv': u'Speldiskussion'
- }
-
- self.namespaces[110] = {
- 'ar': u'Forum',
- 'ast': u'Forum',
- 'ca': u'Forum',
- 'cs': u'Forum',
- 'da': u'Forum',
- 'de': u'Forum',
- 'el': u'Forum',
- 'en': u'Forum',
- 'eo': u'Forum',
- 'es': u'Forum',
- 'fr': u'Forum',
- 'he': u'Forum',
- 'id': u'Forum',
- 'it': u'Forum',
- 'ja': u'Forum',
- 'jv': u'Forum',
- 'la': u'Forum',
- 'nn': u'Forum',
- 'no': u'Forum',
- 'pl': u'Forum',
- 'pt': u'Descionário',
- 'ru': u'Форум',
- 'sk': u'Forum',
- 'su': u'Forum',
- 'sv': u'PsykBöcker',
- 'tr': u'Astroloji',
- 'yi': u'Forum',
- 'zh': u'Forum'
- }
-
- self.namespaces[111] = {
- 'ar': u'Forum talk',
- 'ast': u'Forum talk',
- 'ca': u'Forum talk',
- 'cs': u'Forum talk',
- 'da': u'Forumdiskussion',
- 'de': u'Forum talk',
- 'el': u'Forum talk',
- 'en': u'Forum talk',
- 'eo': u'Forum talk',
- 'es': u'Forum talk',
- 'fr': u'Discussion Forum',
- 'he': u'Forum talk',
- 'id': u'Forum talk',
- 'it': u'Forum talk',
- 'ja': u'Forum talk',
- 'jv': u'Forum talk',
- 'la': u'Forum talk',
- 'nn': u'Forum-diskusjon',
- 'no': u'Forum-diskusjon',
- 'pl': u'Dyskusja forum',
- 'pt': u'Descionário Discussão',
- 'ru': u'Обсуждение форума',
- 'sk': u'Forum talk',
- 'su': u'Forum talk',
- 'sv': u'PsykBöckerdiskussion',
- 'tr': u'Astroloji tartışma',
- 'yi': u'Forum talk',
- 'zh': u'Forum talk'
- }
-
- self.namespaces[112] = {
- 'en': u'UnTunes',
- 'es': u'Incinoticias',
- 'fr': u'Désinformation',
- 'ja': u'UnTunes',
- 'nn': u'Hvordan',
- 'no': u'Hvordan',
- 'pl': u'Portal',
- 'tr': u'Forum'
- }
-
- self.namespaces[113] = {
- 'en': u'UnTunes talk',
- 'es': u'Incinoticias Discusión',
- 'fr': u'Discussion Désinformation',
- 'ja': u'UnTunes talk',
- 'no': u'Hvordan-diskusjon',
- 'pl': u'Dyskusja portalu',
- 'tr': u'Forum tartışma'
- }
-
- self.namespaces[114] = {
- 'es': u'Incitables',
- 'no': u'Hvorfor',
- 'pl': u'Poradnik'
- }
-
- self.namespaces[115] = {
- 'es': u'Incitables Discusión',
- 'no': u'Hvorfor-diskusjon',
- 'pl': u'Dyskusja poradnika'
- }
-
- self.namespaces[120] = {
- 'pt': u'Privado',
- 'tr': u'YanMagazin'
- }
-
- self.namespaces[121] = {
- 'pt': u'Privado Discussão',
- 'tr': u'YanMagazin tartışma'
- }
-
- self.namespaces[122] = {
- 'pt': u'Regra'
- }
-
- self.namespaces[123] = {
- 'pt': u'Regra Discussão'
- }
-
- # A few selected big languages for things that we do not want to loop over
- # all languages. This is only needed by the titletranslate.py module, so
- # if you carefully avoid the options, you could get away without these
- # for another wiki family.
- self.languages_by_size = ['en', 'ja', 'pt', 'it',
'pl', 'fr', 'fi', 'es', 'zh-tw', 'de',
'no']
-
- def hostname(self,code):
- return self.langs[code]
-
- def path(self, code):
- if code == 'ko':
- return '/w/index.php'
- return '/index.php'
-
- def version(self, code):
- return '1.12'
-
- def apipath(self, code):
- if code == 'ko':
- return '/w/api.php'
- return '/api.php'
-
- def code2encoding(self,code):
- return 'utf-8'
-
- def shared_image_repository(self, code):
- return ('common', 'common')
Deleted: branches/rewrite/pywikibot/families/wesolve_family.py
===================================================================
--- branches/rewrite/pywikibot/families/wesolve_family.py 2008-08-28 11:35:51 UTC (rev
5858)
+++ branches/rewrite/pywikibot/families/wesolve_family.py 2008-08-28 19:05:43 UTC (rev
5859)
@@ -1,78 +0,0 @@
-# -*- coding: utf-8 -*-
-
-import urllib
-from pywikibot import family
-import wikipedia
-
-# The wikimedia family that is known as Wesolve
-
-class UploadDisabled(wikipedia.Error):
- """Uploads are disabled on this wiki"""
-
-class Family(family.Family):
- def __init__(self):
- family.Family.__init__(self)
- self.name = 'wesolve'
- self.langs = {}
- for lang in ['en','it']:
- self._addlang(lang,
- location = 'wesolveitnet.com',
- namespaces = {-2: u'Media',
- -1: u'Special',
- 0: None,
- 1: u'Talk',
- 2: u'User',
- 3: u'User talk',
- 4: u'MozillaWiki',
- 5: u'MozillaWiki talk',
- 6: u'Image',
- 7: u'Image talk',
- 8: u'MediaWiki',
- 9: u'MediaWiki talk',
- 10: u'Template',
- 11: u'Template talk',
- 12: u'Help',
- 13: u'Help talk',
- 14: u'Category',
- 15: u'Category talk'})
-
- def version(self, code):
- return "1.4"
-
- def put_address(self, code, name):
- return '/wsiwiki/index.php?title=%s&action=submit'%name
-
- def get_address(self, code, name):
- return '/wsiwiki/index.php?title='+name+"&redirect=no"
-
- def references_address(self, code, name):
- return
("/wsiwiki/index.php?title=%s:Whatlinkshere&target=%s&limit=%d"
- % (self.special_namespace_url(code), name,
- config.special_page_limit))
-
- def upload_address(self, code):
- raise UploadDisabled
-
- def allmessages_address(self, code):
- return ("/wsiwiki/index.php?title=%s:Allmessages&ot=html" %
- self.special_namespace_url(code))
-
- def login_address(self, code):
- return ('/wsiwiki/index.php?title=%s:Userlogin&action=submit' %
- self.special_namespace_url(code))
-
- def move_address(self, code):
- return ('/wsiwiki/index.php?title=%s:Movepage&action=submit' %
- self.special_namespace_url(code))
-
- def delete_address(self, code, name):
- return '/wsiwiki/index.php?title=%s&action=delete' % name
-
- def version_history_address(self, code, name):
- return ('/wsiwiki/index.php?title=%s&action=history&limit=%d'
- % (name, config.special_page_limit))
-
- def export_address(self, code):
- return ('/wsiwiki/index.php?title=%s:Export'
- % self.special_namespace_url(code))
-
Deleted: branches/rewrite/pywikibot/families/wikia_family.py
===================================================================
--- branches/rewrite/pywikibot/families/wikia_family.py 2008-08-28 11:35:51 UTC (rev
5858)
+++ branches/rewrite/pywikibot/families/wikia_family.py 2008-08-28 19:05:43 UTC (rev
5859)
@@ -1,42 +0,0 @@
-# -*- coding: utf-8 -*-
-
-__version__ = '$Id: $'
-
-from pywikibot import family
-
-# The Wikia Search family
-# user-config.py: usernames['wikia']['wikia'] = 'User name'
-
-class Family(family.Family):
- def __init__(self):
- family.Family.__init__(self)
- self.name = u'wikia'
-
- self.langs = {
- u'wikia': u'search.wikia.com',
- }
-
- self.namespaces[4] = {
- '_default': [u'search',
self.namespaces[4]['_default']],
- }
- self.namespaces[5] = {
- '_default': [u'search talk',
self.namespaces[5]['_default']],
- }
- self.namespaces[100] = {
- '_default': u'Forum',
- }
- self.namespaces[101] = {
- '_default': u'Forum talk',
- }
- self.namespaces[112] = {
- '_default': u'Mini',
- }
- self.namespaces[113] = {
- '_default': u'Mini talk',
- }
-
- def code2encoding(self, code):
- return 'iso-8859-1'
-
- def version(self, code):
- return "1.12alpha"