[Pywikipedia-l] SVN: [5359] trunk/pywikipedia
nicdumz at svn.wikimedia.org
nicdumz at svn.wikimedia.org
Mon May 12 17:13:01 UTC 2008
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_Afar_Wikibooks
+ 'ay': None, # http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Aymar_Wikibooks
+ 'ba': None, # http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Bashkir_Wikibooks
+ 'bi': None, # http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Bislama_Wikibooks
+ 'bm': None, # http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Bambara_Wikibooks
+ 'bo': None, # http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Tibetan_Wikibooks
+ 'ch': None, # http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Chamorro_Wikibooks
'dk': 'da',
+ 'got': None, # http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Gothic_Wikibooks
+ 'gn': None, # http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Guarani_Wikibooks
'jp': 'ja',
+ 'ln': None, # http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Lingala_Wikibooks
'minnan':'zh-min-nan',
+ 'nah': None, # http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Nahuatl_Wikibooks
'nb': 'no',
+ 'qu': None, # http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Quechua_Wikibooks
+ 'rm': None, # http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Rumantsch_Wikibooks
+ 'se': None, # http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Sami_Wikibooks
'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_Wikipedia
'kj': None, # http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Kwanyama_Wikipedia
'kr': None, # http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Kanuri_Wikipedia
+ 'mh': None, # http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Marshallese_Wikipedia
'minnan': 'zh-min-nan',
'mo': None, # http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Moldovan_Wikipedia
'mus': None, # http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Muscogee_Wikipedia
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_Alemannic_Wikiquote
+ 'bm': None, # http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Bambara_Wikiquote
+ 'cr': None, # http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Nehiyaw_Wikiquote
'dk': 'da',
'jp': 'ja',
+ 'ks': None, # http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Kashmiri_Wikiquote
+ 'kw': None, # http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Kernewek_Wikiquote
'minnan':'zh-min-nan',
+ 'na': None, # http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Nauruan_Wikiquote
'nb': 'no',
+ 'tk': None, # http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Turkmen_Wikiquote
'tokipona': None,
+ 'tt': None, # http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Tatar_Wikiquote
+ 'ug': None, # http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Oyghurque_Wikiquote
+ 'vo': None, # http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Volapuk_Wikiquote
'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_Haitian_Creole_Wikisource
'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_Afar_Wiktionary
+ 'ab': None, # http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Abkhaz_Wiktionary
+ 'ak': None, # http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Akan_Wiktionary
+ 'as': None, # http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Assamese_Wiktionary
+ 'av': None, # http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Avar_Wiktionary
+ 'ba': None, # http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Bashkir_Wiktionary
+ 'bh': None, # http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Bihari_Wiktionary
+ 'bi': None, # http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Bislama_Wiktionary
+ 'bm': None, # http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Bambara_Wiktionary
+ 'ch': None, # http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Chamorro_Wiktionary
+ 'cr': None, # http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Nehiyaw_Wiktionary
'dk': 'da',
+ 'iu': None, # http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Inuktitut_Wiktionary
'jp': 'ja',
'mo': None, # http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Moldovan_Wiktionary
'minnan':'zh-min-nan',
'nb': 'no',
+ 'om': None, # http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Oromoo_Wiktionary
+ 'pi': None, # http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Pali_Bhasa_Wiktionary
+ 'rn': None, # http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Kirundi_Wiktionary
+ 'to': None, # http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Tongan_Wiktionary
+ 'tlh': None, # http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Klingon_Wiktionary
+ 'tw': None, # http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Twi_Wiktionary
'tokipona': None,
+ 'xh': None,# http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Xhosa_Wiktionary
'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]]: 廣告、宣傳頁面',
},
}
More information about the Pywikipedia-l
mailing list