Revision: 6959 Author: alexsh Date: 2009-06-13 03:31:53 +0000 (Sat, 13 Jun 2009)
Log Message: ----------- *UpNameSpace : anarchopedia, battlestarwiki, uncyclopedia and betawiki by update_namespaaces.py and testFamily.py *ReName: mac_wikicities_family.py -> mac_wikia_family.py by self.name not match with filename. *UpMsg: cross_allowed in wikipedia and wikiquote
Modified Paths: -------------- trunk/pywikipedia/families/anarchopedia_family.py trunk/pywikipedia/families/battlestarwiki_family.py trunk/pywikipedia/families/betawiki_family.py trunk/pywikipedia/families/lyricwiki_family.py trunk/pywikipedia/families/uncyclopedia_family.py trunk/pywikipedia/families/wikipedia_family.py trunk/pywikipedia/families/wikiquote_family.py
Added Paths: ----------- trunk/pywikipedia/families/mac_wikia_family.py
Removed Paths: ------------- trunk/pywikipedia/families/mac_wikicities_family.py
Modified: trunk/pywikipedia/families/anarchopedia_family.py =================================================================== --- trunk/pywikipedia/families/anarchopedia_family.py 2009-06-13 02:22:07 UTC (rev 6958) +++ trunk/pywikipedia/families/anarchopedia_family.py 2009-06-13 03:31:53 UTC (rev 6959) @@ -56,45 +56,54 @@ '_default': [u'Anarchopedia', self.namespaces[4]['_default']], 'ar': u'أنارشوبيديا', 'el': u'Αναρχοπαίδεια', - 'ja': u'アナーキォペディア', - 'ro': u'Anarhopedia', + 'eo': u'Anarĥopedio', + 'es': u'Anarcopedia', + 'fa': u'آنارکوپديا', 'he': u'אנרכופדיה', - 'zh': u'安那其百科', - 'ko': u'아나코백과', - 'sr': u'Anarhopedija / Анархопедија', - 'eo': u'Anarĥopedio', - 'ru': u'Анархопедия', 'hy': u'Անարխոպեդիա', 'it': u'Anarcopedia', + 'ja': u'アナーキォペディア', + 'ko': u'아나코백과', + 'lv': u'Anarkopēdija', 'pt': u'Anarcopédia', + 'ro': u'Anarhopedia', + 'ru': u'Анархопедия', + 'sq': u'Anarshipedia', + 'sr': u'Anarhopedija / Анархопедија', 'tr': u'Anarşipedi', + 'zh': u'安那其百科', } self.namespaces[5] = { '_default': [u'Anarchopedia talk', self.namespaces[5]['_default']], 'ar': u'نقاش أنارشوبيديا', 'bs': u'Разговор о Anarchopedia', - 'zh': u'安那其百科 talk', 'da': u'Anarchopedia-diskussion', 'de': u'Anarchopedia Diskussion', - 'nl': u'Overleg Anarchopedia', 'el': u'Αναρχοπαίδεια συζήτηση', + 'es': u'Anarcopedia Discusión', + 'fa': u'بحث آنارکوپديا', 'fi': u'Keskustelu Anarchopediasta', 'fr': u'Discussion Anarchopedia', 'he': u'שיחת אנרכופדיה', + 'hy': u'Անարխոպեդիայի քննարկում', 'id': u'Pembicaraan Anarchopedia', - 'it': u'Discussioni Anarchopedia', - 'ja': u'アナーキォペディア‐ノート' , - 'no': u'Anarchopedia-diskusjon' , - 'sh': u'Разговор о Anarhopedija / Анархопедија', + 'it': u'Discussioni Anarcopedia', + 'ja': u'アナーキォペディア‐ノート', + 'ko': u'아나코백과토론', + 'lv': u'Anarkopēdija diskusija', + 'nl': u'Overleg Anarchopedia', + 'no': u'Anarchopedia-diskusjon', 'or': u'Anarchopedia-diskusjon', 'pl': u'Dyskusja Anarchopedia', - 'pt': u'Anarchopedia Discussão', + 'pt': u'Anarcopédia Discussão', 'ro': u'Discuţie Anarhopedia', - 'ru': u'Обсуждение Anarchopedia', - 'es': u'Anarchopedia Discusión', - 'sr': u'Разговор о Anarchopedia', + 'ru': u'Обсуждение Анархопедии', + 'sh': u'Разговор о Anarhopedija / Анархопедија', + 'sq': u'Anarshipedia diskutim', + 'sr': u'Разговор о Anarhopedija / Анархопедија', 'sv': u'Anarchopediadiskussion', 'tr': u'Anarşipedi tartışma', + 'zh': u'安那其百科 talk', }
self.nocapitalize = self.langs.keys()
Modified: trunk/pywikipedia/families/battlestarwiki_family.py =================================================================== --- trunk/pywikipedia/families/battlestarwiki_family.py 2009-06-13 02:22:07 UTC (rev 6958) +++ trunk/pywikipedia/families/battlestarwiki_family.py 2009-06-13 03:31:53 UTC (rev 6959) @@ -9,14 +9,10 @@ family.Family.__init__(self) self.name = 'battlestarwiki'
- self.langs = { - 'de': None, - 'en': None, - 'es': None, - 'fr': None, - 'tr': None, - 'zh': None, - } + self.languages_by_size = ['en', 'de', 'fr', 'zh', 'es', 'ms', 'tr', 'simple'] + + for lang in self.languages_by_size: + self.langs[lang] = '%s.battlestarwiki.org' % lang
# Most namespaces are inherited from family.
@@ -28,6 +24,7 @@ 'de': u'Battlestar Wiki Diskussion', 'es': u'Battlestar Wiki Discusión', 'fr': u'Discussion Battlestar Wiki', + 'ms': u'Perbincangan Battlestar Wiki', 'tr': u'Battlestar Wiki tartışma', }
@@ -46,7 +43,6 @@ # 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']
@@ -54,4 +50,4 @@ return '%s.battlestarwiki.org' % code
def version(self, code): - return "1.9" + return "1.14.0"
Modified: trunk/pywikipedia/families/betawiki_family.py =================================================================== --- trunk/pywikipedia/families/betawiki_family.py 2009-06-13 02:22:07 UTC (rev 6958) +++ trunk/pywikipedia/families/betawiki_family.py 2009-06-13 03:31:53 UTC (rev 6959) @@ -23,7 +23,7 @@ }
def version(self, code): - return "1.5.4" #The MediaWiki version used. Not very important in most cases. + return "1.6.10" #The MediaWiki version used. Not very important in most cases.
def scriptpath(self, code): return '/beta' #The value of {{SCRIPTPATH}} on this wiki
Modified: trunk/pywikipedia/families/lyricwiki_family.py =================================================================== --- trunk/pywikipedia/families/lyricwiki_family.py 2009-06-13 02:22:07 UTC (rev 6958) +++ trunk/pywikipedia/families/lyricwiki_family.py 2009-06-13 03:31:53 UTC (rev 6959) @@ -12,7 +12,7 @@ family.Family.__init__(self) self.name = 'lyricwiki' self.langs = { - 'en': 'www.lyricwiki.org', + 'en': 'lyricwiki.org', }
self.namespaces[4] = { @@ -23,11 +23,11 @@ }
def version(self, code): - return "1.7.1" + return "1.14.0"
def scriptpath(self, code): return ''
def apipath(self, code): raise NotImplementedError( - "The lyricwiki family does not support api.php") + "The lyricwiki family does not support api.php") \ No newline at end of file
Copied: trunk/pywikipedia/families/mac_wikia_family.py (from rev 6958, trunk/pywikipedia/families/mac_wikicities_family.py) =================================================================== --- trunk/pywikipedia/families/mac_wikia_family.py (rev 0) +++ trunk/pywikipedia/families/mac_wikia_family.py 2009-06-13 03:31:53 UTC (rev 6959) @@ -0,0 +1,53 @@ +# -*- coding: utf-8 -*- +import family, 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: trunk/pywikipedia/families/mac_wikicities_family.py =================================================================== --- trunk/pywikipedia/families/mac_wikicities_family.py 2009-06-13 02:22:07 UTC (rev 6958) +++ trunk/pywikipedia/families/mac_wikicities_family.py 2009-06-13 03:31:53 UTC (rev 6959) @@ -1,53 +0,0 @@ -# -*- coding: utf-8 -*- -import family, 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 '' -
Modified: trunk/pywikipedia/families/uncyclopedia_family.py =================================================================== --- trunk/pywikipedia/families/uncyclopedia_family.py 2009-06-13 02:22:07 UTC (rev 6958) +++ trunk/pywikipedia/families/uncyclopedia_family.py 2009-06-13 03:31:53 UTC (rev 6959) @@ -402,83 +402,81 @@ }
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'偽基辭典' + '_default': '', + 'fi': u'Hikinews', + 'got': u'\x{D800}df30\x{D800}df42\x{D800}df3c\x{D800}df30\x{D800}df39\x{D800}df49', + 'ko': u'백괴나라', + 'meta': u'UnSpecies', + 'nl': u'OnNieuws', + 'pt': u'Fatos', + 'th': u'ไร้ข่าว', + 'zh-hk': 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'偽基辭典討論' + '_default': '', + 'fi': u'Keskustelu Hikinewseistä', + 'got': u'\x{D800}df30\x{D800}df42\x{D800}df3c\x{D800}df30\x{D800}df39\x{D800}df49 \x{D800}df32\x{D800}df30\x{D800}df45\x{D800}df30\x{D800}df3f\x{D800}df42\x{D800}df33\x{D800}df3e\x{D800}df30', + 'ko': u'백괴나라토론', + 'meta': u'UnSpecies talk', + 'nl': u'Overleg OnNieuws', + 'pt': u'Fatos Discussão', + 'th': u'คุยเรื่องไร้ข่าว', + 'zh-hk': 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'動漫遊戲' + '_default': '', + 'fi': u'Hiktionary', + 'got': u'\x{D800}df46\x{D800}df30\x{D800}df39\x{D800}df30\x{D800}df3d\x{D800}df45\x{D800}df30\x{D800}df3f\x{D800}df42\x{D800}df33\x{D800}df30\x{D800}df31\x{D800}df49\x{D800}df3a\x{D800}df30', + 'meta': u'Namespace', + 'nl': u'Onwoordenboek', + 'pt': u'Forum', + 'th': u'ไร้วิทยาลัย', + 'zh-hk': 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'動漫遊戲討論' + '_default': '', + 'fi': u'Keskustelu Hiktionarysta', + 'got': u'\x{D800}df46\x{D800}df30\x{D800}df39\x{D800}df30\x{D800}df3d\x{D800}df45\x{D800}df30\x{D800}df3f\x{D800}df42\x{D800}df33\x{D800}df30\x{D800}df31\x{D800}df49\x{D800}df3a\x{D800}df30 \x{D800}df32\x{D800}df30\x{D800}df45\x{D800}df30\x{D800}df3f\x{D800}df42\x{D800}df33\x{D800}df3e\x{D800}df30', + 'meta': u'Namespace talk', + 'nl': u'Overleg Onwoordenboek', + 'pt': u'Forum Discussão', + 'th': u'คุยเรื่องไร้วิทยาลัย', + 'zh-hk': u'動漫遊戲討論', }
self.namespaces[22] = { - 'fi': u'Hikikirjasto', - 'nl': u'OnBoeken', - 'th': u'ไร้พจนานุกรม', - 'zh-hk': u'春心蕩漾', - 'zh-tw': u'春心蕩漾' + 'fi': u'Hikikirjasto', + 'meta': u'UnN', + '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'春心蕩漾討論' + 'fi': u'Keskustelu hikikirjasta', + 'meta': u'UnN talk', + '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'主題展館' + 'fi': u'Hikisitaatit', + 'meta': u'Forum', + 'th': u'ไร้ชีวประวัติ', + 'zh-hk': u'主題展館', }
self.namespaces[25] = { - 'fi': u'Keskustelu hikisitaatista', - 'th': u'คุยเรื่องไร้ชีวประวัติ', - 'zh-hk': u'主題展館討論', - 'zh-tw': u'主題展館討論' + 'fi': u'Keskustelu hikisitaatista', + 'meta': u'Forum talk', + 'th': u'คุยเรื่องไร้ชีวประวัติ', + 'zh-hk': u'主題展館討論', }
self.namespaces[26] = { @@ -553,211 +551,237 @@ }
self.namespaces[36] = { - 'zh-hk': u'偽基書籍', - 'zh-tw': u'偽基書籍' + 'th': u'สถานีย่อย', + 'zh-hk': u'偽基書籍', }
self.namespaces[37] = { - 'zh-hk': u'偽基書籍討論', - 'zh-tw': u'偽基書籍討論' + 'th': u'คุยเรื่องสถานีย่อย', + 'zh-hk': u'偽基書籍討論', }
self.namespaces[100] = { - 'de': u'UnNews', - 'nn': u'Ikkenytt', - 'no': u'Ikkenytt', - 'pl': u'Cytaty', - 'sv': u'PsykNyheter', - 'tr': u'YanSözlük' + 'de': u'UnNews', + 'he': u'איןציטוט', + 'ko': u'백괴게임', + 'nn': u'Ikkenytt', + 'no': u'Ikkenytt', + 'pl': u'Cytaty', + 'sv': u'PsykNyheter', }
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' + 'de': u'UnNews Diskussion', + 'he': u'שיחת איןציטוט', + 'ko': u'백괴게임토론', + 'nn': u'Ikkenytt-diskusjon', + 'no': u'Ikkenytt-diskusjon', + 'pl': u'Dyskusja cytatów', + 'sv': u'PsykNyheter diskussion', }
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', - } + 'de': u'Undictionary', + 'en': u'UnNews', + 'ja': u'UnNews', + 'ko': u'포럼', + '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' + 'de': u'Undictionary Diskussion', + 'en': u'UnNews talk', + 'ja': u'UnNews talk', + 'ko': u'포럼토론', + 'nn': u'Ikktionary-diskusjon', + 'no': u'Ikktionary-diskusjon', + 'pl': u'Dyskusja NonNews', + 'sv': u'Forumdiskussion', }
self.namespaces[104] = { - 'de': u'UnBooks', - 'en': u'Undictionary', - 'pl': u'Nonźródła', - 'sv': u'Psyktionary' + 'de': u'UnBooks', + 'en': u'Undictionary', + 'ja': u'Undictionary', + 'ko': u'백괴뉴스', + 'pl': u'Nonźródła', }
self.namespaces[105] = { - 'de': u'UnBooks Diskussion', - 'en': u'Undictionary talk', - 'pl': u'Dyskusja nonźródeł', - 'sv': u'Psyktionary diskussion' + 'de': u'UnBooks Diskussion', + 'en': u'Undictionary talk', + 'ja': u'Undictionary talk', + 'ko': u'백괴뉴스토론', + 'pl': u'Dyskusja nonźródeł', }
self.namespaces[106] = { - '_default':'', - 'en': u'Game', - 'ja': u'Game', - 'pl': u'Słownik', - 'pt': u'Desnotícias', - 'sv': u'PsykCitat' + '_default': '', + 'en': u'Game', + 'ja': u'Game', + 'ko': u'백괴낱말사전', + 'pl': u'Słownik', + 'pt': u'Desnotícias', }
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' + 'en': u'Game talk', + 'ja': u'Game talk', + 'ko': u'백괴낱말사전토론', + 'pl': u'Dyskusja słownika', + 'pt': u'Desnotícias Discussão', }
self.namespaces[108] = { - 'en': u'Babel', - 'pl': u'Gra', - 'pt': u'Jogo', - 'sv': u'Spel' + 'en': u'Babel', + 'ko': u'해설', + 'pl': u'Gra', + 'pt': u'Jogo', }
self.namespaces[109] = { - 'en': u'Babel talk', - 'pl': u'Dyskusja gry', - 'pt': u'Jogo Discussão', - 'sv': u'Speldiskussion' + 'en': u'Babel talk', + 'ko': u'해설토론', + 'pl': u'Dyskusja gry', + 'pt': u'Jogo Discussão', }
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' + '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'בית קפה', + 'id': u'Forum', + 'it': u'Forum', + 'ja': u'Forum', + 'jv': u'Forum', + 'ko': u'백괴식당', + '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', }
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' + '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'שיחת בית קפה', + 'id': u'Forum talk', + 'it': u'Forum talk', + 'ja': u'Forum talk', + 'jv': u'Forum talk', + 'ko': u'백괴식당토론', + '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', }
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' + 'cs': u'Regál', + 'en': u'UnTunes', + 'es': u'Incinoticias', + 'fr': u'Désinformation', + 'he': u'איןספר', + 'it': u'NonNotizie', + 'ja': u'UnTunes', + 'ko': u'백괴우주', + 'nn': u'Hvordan', + 'no': u'Hvordan', + 'pl': u'Portal', + 'zh': u'伪基新闻', }
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' + 'cs': u'Regál diskuse', + 'en': u'UnTunes talk', + 'es': u'Incinoticias Discusión', + 'fr': u'Discussion Désinformation', + 'he': u'שיחת איןספר', + 'it': u'Discussioni NonNotizie', + 'ja': u'UnTunes talk', + 'ko': u'백괴우주토론', + 'nn': u'Hvordan-diskusjon', + 'no': u'Hvordan-diskusjon', + 'pl': u'Dyskusja portalu', + 'zh': u'伪基新闻 talk', }
self.namespaces[114] = { - 'es': u'Incitables', - 'no': u'Hvorfor', - 'pl': u'Poradnik' + 'cs': u'Necykloverzita', + 'es': u'Incitables', + 'fr': u'Portail', + 'he': u'איןחדש', + 'nn': u'Hvorfor', + 'no': u'Hvorfor', + 'zh': u'伪基文库', }
self.namespaces[115] = { - 'es': u'Incitables Discusión', - 'no': u'Hvorfor-diskusjon', - 'pl': u'Dyskusja poradnika' + 'cs': u'Necykloverzita diskuse', + 'es': u'Incitables Discusión', + 'fr': u'Discussion Portail', + 'he': u'שיחת איןחדש', + 'nn': u'Hvorfor-diskusjon', + 'no': u'Hvorfor-diskusjon', + 'zh': u'伪基文库 talk', }
self.namespaces[120] = { - 'pt': u'Privado', - 'tr': u'YanMagazin' + 'he': u'איןמילון', + 'it': u'NonCitazioni', + 'pt': u'Privado', }
self.namespaces[121] = { - 'pt': u'Privado Discussão', - 'tr': u'YanMagazin tartışma' + 'he': u'שיחת איןמילון', + 'it': u'Discussioni NonCitazioni', + 'pt': u'Privado Discussão', }
self.namespaces[122] = { - 'pt': u'Regra' + 'he': u'איןמינים', + 'it': u'NonDizionario', }
self.namespaces[123] = { - 'pt': u'Regra Discussão' + 'he': u'שיחת איןמינים', + 'it': u'Discussioni NonDizionario', }
# A few selected big languages for things that we do not want to loop over
Modified: trunk/pywikipedia/families/wikipedia_family.py =================================================================== --- trunk/pywikipedia/families/wikipedia_family.py 2009-06-13 02:22:07 UTC (rev 6958) +++ trunk/pywikipedia/families/wikipedia_family.py 2009-06-13 03:31:53 UTC (rev 6959) @@ -851,20 +851,21 @@ 'zh-min-nan': u'Khu-pia̍t-ia̍h', }
+ # Global bot allowed languages on http://meta.wikimedia.org/wiki/Bot_policy/Implementation#Current_implementat... self.cross_allowed = [ - 'ab','af','ak','am','ang','arc','arz','as','av','ay','az','ba','bcl', + 'ab','af','ak','am','ang','arc','arz','as','av','ay','az','ba','bar','bcl', 'be-x-old','be','bg','bh','bi','bm','bo','bpy','bug','bxr','cbk-zam', 'cdo','ce','ch','chy','co','crh','cr','csb','cu','diq','dsb','dz', 'ee','eml','eu','ext','fa','ff','fj','fo','frp','fur','gan','ga','glk', 'gn','got','gu','gv','ha','hak','haw','hif','hi','hsb','ht','hu','hy', - 'ia','ie','ig','ik','ilo','iow','iu','jbo','kaa','kab','ka','kg','ki', + 'ia','id','ie','ig','ik','ilo','iow','is','iu','jbo','jv','kaa','kab','ka','kg','ki', 'kl','km','kn','ko','ks','ku','kv','kw','ky','lad','lbe','lg','li','lij', - 'lmo','ln','lo','map-bms','mdf','mg','mk','mn','myv','my','mzn','nah', - 'na','nds-nl','new','nl','nov','nrm','nv','ny','om','or','os','pam','pap', + 'lmo','ln','lo','lv','map-bms','mdf','mg','mk','mn','mt','myv','my','mzn','nah', + 'na','nap','nds-nl','ne','new','nl','nov','nrm','nv','ny','om','or','os','pam','pap', 'pa','pdc','pnt','ps','qu','rm','rmy','rn','roa-rup','roa-tara','sah', 'sa','sc','sco','sd','se','sg','sh','simple','si','sk','sm','sn','so', 'srn','stq','st','su','sw','szl','ta','te','tet','tg','ti','tn','to', - 'tpi','ts','tt','tum','tw','ty','ug','uz','ve','wa','war','wo','wuu', + 'tpi','ts','tt','tum','tw','ty','ug','uz','ve','vls','wa','war','wo','wuu', 'xal','xh','yi','yo','za','zh','zu' ] # On most Wikipedias page names must start with a capital letter, but some
Modified: trunk/pywikipedia/families/wikiquote_family.py =================================================================== --- trunk/pywikipedia/families/wikiquote_family.py 2009-06-13 02:22:07 UTC (rev 6958) +++ trunk/pywikipedia/families/wikiquote_family.py 2009-06-13 03:31:53 UTC (rev 6959) @@ -203,10 +203,10 @@ # List of languages that want the category on_one_line. self.category_on_one_line = []
- + # Global bot allowed languages on http://meta.wikimedia.org/wiki/Bot_policy/Implementation#Current_implementat... self.cross_allowed = [ - 'af','am','ang','ar','ast','az','da','fa','it', - 'ka','ko','la','nn','no','ro','simple','sv','zh' + 'af','am','ang','ar','ast','az','ca','da','fa','it', + 'ka','ko','la','nn','no','ro','simple','sv','vi','zh' ] # Which languages have a special order for putting interlanguage links, # and what order is it? If a language is not in interwiki_putfirst,