Revision: 5359 Author: nicdumz Date: 2008-05-12 17:13:01 +0000 (Mon, 12 May 2008)
Log Message: ----------- Patch #1962502 "zh locale and wm obsolate info update" by Alex S.H. Lin. Thanks ;)
Modified Paths: -------------- trunk/pywikipedia/families/wikibooks_family.py trunk/pywikipedia/families/wikipedia_family.py trunk/pywikipedia/families/wikiquote_family.py trunk/pywikipedia/families/wikisource_family.py trunk/pywikipedia/families/wiktionary_family.py trunk/pywikipedia/pagefromfile.py trunk/pywikipedia/speedy_delete.py
Modified: trunk/pywikipedia/families/wikibooks_family.py =================================================================== --- trunk/pywikipedia/families/wikibooks_family.py 2008-05-12 16:23:17 UTC (rev 5358) +++ trunk/pywikipedia/families/wikibooks_family.py 2008-05-12 17:13:01 UTC (rev 5359) @@ -284,10 +284,24 @@ 'zh-tw']
self.obsolete = { + 'aa': None, # http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Afa... + 'ay': None, # http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Aym... + 'ba': None, # http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Bas... + 'bi': None, # http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Bis... + 'bm': None, # http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Bam... + 'bo': None, # http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Tib... + 'ch': None, # http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Cha... 'dk': 'da', + 'got': None, # http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Got... + 'gn': None, # http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Gua... 'jp': 'ja', + 'ln': None, # http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Lin... 'minnan':'zh-min-nan', + 'nah': None, # http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Nah... 'nb': 'no', + 'qu': None, # http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Que... + 'rm': None, # http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Rum... + 'se': None, # http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Sam... 'tokipona': None, 'zh-tw': 'zh', 'zh-cn': 'zh'
Modified: trunk/pywikipedia/families/wikipedia_family.py =================================================================== --- trunk/pywikipedia/families/wikipedia_family.py 2008-05-12 16:23:17 UTC (rev 5358) +++ trunk/pywikipedia/families/wikipedia_family.py 2008-05-12 17:13:01 UTC (rev 5359) @@ -795,6 +795,7 @@ 'ii': None, # http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Yi_... 'kj': None, # http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Kwa... 'kr': None, # http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Kan... + 'mh': None, # http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Mar... 'minnan': 'zh-min-nan', 'mo': None, # http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Mol... 'mus': None, # http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Mus...
Modified: trunk/pywikipedia/families/wikiquote_family.py =================================================================== --- trunk/pywikipedia/families/wikiquote_family.py 2008-05-12 16:23:17 UTC (rev 5358) +++ trunk/pywikipedia/families/wikiquote_family.py 2008-05-12 17:13:01 UTC (rev 5359) @@ -226,11 +226,21 @@ }
self.obsolete = { + 'als': None, # http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Ale... + 'bm': None, # http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Bam... + 'cr': None, # http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Neh... 'dk': 'da', 'jp': 'ja', + 'ks': None, # http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Kas... + 'kw': None, # http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Ker... 'minnan':'zh-min-nan', + 'na': None, # http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Nau... 'nb': 'no', + 'tk': None, # http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Tur... 'tokipona': None, + 'tt': None, # http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Tat... + 'ug': None, # http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Oyg... + 'vo': None, # http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Vol... 'zh-tw': 'zh', 'zh-cn': 'zh' }
Modified: trunk/pywikipedia/families/wikisource_family.py =================================================================== --- trunk/pywikipedia/families/wikisource_family.py 2008-05-12 16:23:17 UTC (rev 5358) +++ trunk/pywikipedia/families/wikisource_family.py 2008-05-12 17:13:01 UTC (rev 5359) @@ -273,6 +273,7 @@
self.obsolete = { 'dk': 'da', + 'ht': None, # http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Hai... 'jp': 'ja', 'minnan':'zh-min-nan', 'nb': 'no',
Modified: trunk/pywikipedia/families/wiktionary_family.py =================================================================== --- trunk/pywikipedia/families/wiktionary_family.py 2008-05-12 16:23:17 UTC (rev 5358) +++ trunk/pywikipedia/families/wiktionary_family.py 2008-05-12 17:13:01 UTC (rev 5359) @@ -347,12 +347,31 @@ self.nocapitalize = self.langs.keys()
self.obsolete = { + 'aa': None, # http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Afa... + 'ab': None, # http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Abk... + 'ak': None, # http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Aka... + 'as': None, # http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Ass... + 'av': None, # http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Ava... + 'ba': None, # http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Bas... + 'bh': None, # http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Bih... + 'bi': None, # http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Bis... + 'bm': None, # http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Bam... + 'ch': None, # http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Cha... + 'cr': None, # http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Neh... 'dk': 'da', + 'iu': None, # http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Inu... 'jp': 'ja', 'mo': None, # http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Mol... 'minnan':'zh-min-nan', 'nb': 'no', + 'om': None, # http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Oro... + 'pi': None, # http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Pal... + 'rn': None, # http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Kir... + 'to': None, # http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Ton... + 'tlh': None, # http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Kli... + 'tw': None, # http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Twi... 'tokipona': None, + 'xh': None,# http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Xho... 'zh-tw': 'zh', 'zh-cn': 'zh' }
Modified: trunk/pywikipedia/pagefromfile.py =================================================================== --- trunk/pywikipedia/pagefromfile.py 2008-05-12 16:23:17 UTC (rev 5358) +++ trunk/pywikipedia/pagefromfile.py 2008-05-12 17:13:01 UTC (rev 5359) @@ -66,7 +66,8 @@ 'nl': u'Geautomatiseerde import', 'no': u'bot: Automatisk import', 'pl': u'Automatyczny import artykułów', - 'pt': u'Importação automática de artigos' + 'pt': u'Importação automática de artigos', + 'zh': u'機器人: 自動匯入頁面', }
# The following messages are added to topic when the page already exists @@ -83,7 +84,8 @@ 'nl': u'bovenaan toegevoegd', 'no': u'legger til øverst', 'pl': u'dodaj na górze', - 'pt': u'adicionado no topo' + 'pt': u'adicionado no topo', + 'zh': u'機器人: 增加至最上層', }
msg_bottom = { @@ -100,6 +102,7 @@ 'no': u'legger til nederst', 'pl': u'dodaj na dole', 'pt': u'adicionando no fim' + 'zh': u'機器人: 增加至最底層', }
msg_force = { @@ -116,6 +119,7 @@ 'no': u'erstatter eksisterende tekst', 'pl': u'aktualny tekst nadpisany', 'pt': u'sobrescrever texto' + 'zh': u'機器人: 覆寫已存在的文字', }
def __init__(self, reader, force, append, summary, minor, autosummary, debug):
Modified: trunk/pywikipedia/speedy_delete.py =================================================================== --- trunk/pywikipedia/speedy_delete.py 2008-05-12 16:23:17 UTC (rev 5358) +++ trunk/pywikipedia/speedy_delete.py 2008-05-12 17:13:01 UTC (rev 5359) @@ -126,7 +126,9 @@ u'Unknown':u'[[WP:CSD#I3|CSD I3]]: 沒有版權模板,無法確認版權資訊', u'TempPage':u'[[WP:CSD]]: 臨時頁面', u'NowCommons':u'[[WP:CSD#I7|CSD I7]]: 被[[:commons:|維基共享資源]]取代的圖片', + u'Nowcommons':u'[[WP:CSD#I7|CSD I7]]: 被[[:commons:|維基共享資源]]取代的圖片', u'RoughTranslation':u'[[WP:CSD#G7|CSD G7]]: 機器翻譯', + u'Advert':u'[[WP:CSD#G11|CSD G11]]: 廣告、宣傳頁面', }, }