Revision: 5860 Author: russblau Date: 2008-08-28 19:11:10 +0000 (Thu, 28 Aug 2008)
Log Message: ----------- merging family files to trunk
Modified Paths: -------------- branches/rewrite/pywikibot/families/commons_family.py branches/rewrite/pywikibot/families/i18n_family.py branches/rewrite/pywikibot/families/mediawiki_family.py branches/rewrite/pywikibot/families/wikibooks_family.py branches/rewrite/pywikibot/families/wikinews_family.py branches/rewrite/pywikibot/families/wikipedia_family.py branches/rewrite/pywikibot/families/wikiquote_family.py branches/rewrite/pywikibot/families/wikisource_family.py branches/rewrite/pywikibot/families/wikiversity_family.py branches/rewrite/pywikibot/families/wiktionary_family.py
Modified: branches/rewrite/pywikibot/families/commons_family.py =================================================================== --- branches/rewrite/pywikibot/families/commons_family.py 2008-08-28 19:05:43 UTC (rev 5859) +++ branches/rewrite/pywikibot/families/commons_family.py 2008-08-28 19:11:10 UTC (rev 5860) @@ -37,7 +37,7 @@ }
def version(self, code): - return '1.13alpha' + return '1.14alpha'
def shared_image_repository(self, code): return ('commons', 'commons')
Modified: branches/rewrite/pywikibot/families/i18n_family.py =================================================================== --- branches/rewrite/pywikibot/families/i18n_family.py 2008-08-28 19:05:43 UTC (rev 5859) +++ branches/rewrite/pywikibot/families/i18n_family.py 2008-08-28 19:11:10 UTC (rev 5860) @@ -35,4 +35,4 @@ }
def version(self, code): - return "1.13alpha" + return "1.14alpha"
Modified: branches/rewrite/pywikibot/families/mediawiki_family.py =================================================================== --- branches/rewrite/pywikibot/families/mediawiki_family.py 2008-08-28 19:05:43 UTC (rev 5859) +++ branches/rewrite/pywikibot/families/mediawiki_family.py 2008-08-28 19:11:10 UTC (rev 5860) @@ -36,7 +36,7 @@ }
def version(self, code): - return '1.13alpha' + return '1.14alpha'
def shared_image_repository(self, code): return ('commons', 'commons')
Modified: branches/rewrite/pywikibot/families/wikibooks_family.py =================================================================== --- branches/rewrite/pywikibot/families/wikibooks_family.py 2008-08-28 19:05:43 UTC (rev 5859) +++ branches/rewrite/pywikibot/families/wikibooks_family.py 2008-08-28 19:11:10 UTC (rev 5860) @@ -332,7 +332,7 @@ }
def version(self, code): - return '1.13alpha' + return '1.14alpha'
def shared_image_repository(self, code): return ('commons', 'commons')
Modified: branches/rewrite/pywikibot/families/wikinews_family.py =================================================================== --- branches/rewrite/pywikibot/families/wikinews_family.py 2008-08-28 19:05:43 UTC (rev 5859) +++ branches/rewrite/pywikibot/families/wikinews_family.py 2008-08-28 19:11:10 UTC (rev 5860) @@ -181,7 +181,7 @@ return 'utf-8'
def version(self, code): - return '1.13alpha' + return '1.14alpha'
def shared_image_repository(self, code): return ('commons', 'commons')
Modified: branches/rewrite/pywikibot/families/wikipedia_family.py =================================================================== --- branches/rewrite/pywikibot/families/wikipedia_family.py 2008-08-28 19:05:43 UTC (rev 5859) +++ branches/rewrite/pywikibot/families/wikipedia_family.py 2008-08-28 19:11:10 UTC (rev 5860) @@ -37,7 +37,7 @@ 'cr', 've', 'ss', 'rw', 'xh', 'kl', 'ik', 'bug', 'dz', 'ts', 'kv', 'bi', 'xal', 'st', 'tn', 'ch', 'ak', 'bxr', 'ny', 'ab', 'fj', 'tw', 'lbe', 'za', 'ff', 'tum', 'ha', 'sn', 'sg', 'lg', - 'ki', 'rn', 'chy', 'aa', 'ng', 'ext', 'gan', 'hif', 'kaa', 'mdf', + 'ki', 'rn', 'chy', 'ng', 'ext', 'gan', 'hif', 'kaa', 'mdf', 'myv', 'sah', 'srn', 'szl', ]
@@ -140,6 +140,7 @@ 'ab': u'Обсуждение Wikipedia', 'af': u'Wikipediabespreking', 'als': u'Wikipedia Diskussion', + 'am': u'Wikipedia ውይይት', 'an': u'Descusión Wikipedia', 'ar': u'نقاش ويكيبيديا', 'as': u'Wikipedia वार्ता', @@ -240,7 +241,7 @@ 'mt': u'Wikipedija talk', 'myv': u'Википедиясь talk', 'mzn': u'بحث Wikipedia', - 'nah': u'Wikipedia Discusión', + 'nah': [u'Wikipedia tēixnāmiquiliztli', u'Wikipedia Discusión'], 'nap': u'Discussioni Wikipedia', 'nds': u'Wikipedia Diskuschoon', 'nds-nl': u'Overleg Wikipedie', @@ -303,6 +304,7 @@ 'als': u'Portal', 'an': u'Portal', 'ar': u'بوابة', + 'be-x-old': u'Партал', 'bg': u'Портал', 'bpy': u'হমিলদুৱার', 'ca': u'Portal', @@ -340,6 +342,7 @@ 'nds': u'Portal', 'new': u'दबू', 'nl': u'Portaal', + 'nn': u'Tema', 'no': u'Portal', 'oc': u'Portal', 'pl': u'Portal', @@ -372,6 +375,7 @@ 'als': u'Portal Diskussion', 'an': u'Descusión Portal', 'ar': u'نقاش البوابة', + 'be-x-old': u'Абмеркаваньне парталу', 'bg': u'Портал беседа', 'bpy': u'হমিলদুৱার য়্যারী', 'ca': u'Portal Discussió', @@ -409,6 +413,7 @@ 'nds': u'Portal Diskuschoon', 'new': u'दबू खँलाबँला', 'nl': u'Overleg portaal', + 'nn': u'Temadiskusjon', 'no': u'Portaldiskusjon', 'oc': u'Discussion Portal', 'pl': u'Dyskusja portalu', @@ -811,6 +816,7 @@ }
self.obsolete = { + 'aa': None, # http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Afa... 'cho': None, # http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Cho... 'dk': 'da', 'ho': None, # http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Hir... @@ -842,18 +848,20 @@ '_default': { 'pt': [102], 'als': [104], + 'en': [12], 'es': [104], 'fr': [104], - 'lt': [104] + 'lt': [104], } } self.crossnamespace[1] = { '_default': { 'pt': [103], 'als': [105], + 'en': [13], 'es': [105], 'fr': [105], - 'lt': [105] + 'lt': [105], } } self.crossnamespace[102] = { @@ -910,6 +918,16 @@ 'pt': [0, 103] } } + self.crossnamespace[12] = { + 'en': { + '_default': [0], + } + } + self.crossnamespace[13] = { + 'en': { + '_default': [0], + } + } def get_known_families(self, site): # In Swedish Wikipedia 's:' is part of page title not a family # prefix for 'wikisource'. @@ -921,7 +939,7 @@ return self.known_families
def version(self, code): - return '1.13alpha' + return '1.14alpha'
def dbName(self, code): # returns the name of the MySQL database
Modified: branches/rewrite/pywikibot/families/wikiquote_family.py =================================================================== --- branches/rewrite/pywikibot/families/wikiquote_family.py 2008-08-28 19:05:43 UTC (rev 5859) +++ branches/rewrite/pywikibot/families/wikiquote_family.py 2008-08-28 19:11:10 UTC (rev 5860) @@ -253,7 +253,7 @@ }
def version(self, code): - return '1.13alpha' + return '1.14alpha'
def code2encodings(self, code): """
Modified: branches/rewrite/pywikibot/families/wikisource_family.py =================================================================== --- branches/rewrite/pywikibot/families/wikisource_family.py 2008-08-28 19:05:43 UTC (rev 5859) +++ branches/rewrite/pywikibot/families/wikisource_family.py 2008-08-28 19:11:10 UTC (rev 5860) @@ -301,7 +301,7 @@ }
def version(self, code): - return '1.13alpha' + return '1.14alpha'
def shared_image_repository(self, code): return ('commons', 'commons')
Modified: branches/rewrite/pywikibot/families/wikiversity_family.py =================================================================== --- branches/rewrite/pywikibot/families/wikiversity_family.py 2008-08-28 19:05:43 UTC (rev 5859) +++ branches/rewrite/pywikibot/families/wikiversity_family.py 2008-08-28 19:11:10 UTC (rev 5860) @@ -109,7 +109,7 @@ }
def version(self,code): - return '1.13alpha' + return '1.14alpha'
def shared_image_repository(self, code): return ('commons', 'commons')
Modified: branches/rewrite/pywikibot/families/wiktionary_family.py =================================================================== --- branches/rewrite/pywikibot/families/wiktionary_family.py 2008-08-28 19:05:43 UTC (rev 5859) +++ branches/rewrite/pywikibot/families/wiktionary_family.py 2008-08-28 19:11:10 UTC (rev 5860) @@ -423,7 +423,7 @@ self.interwiki_attop = ['pl']
def version(self, code): - return '1.13alpha' + return '1.14alpha'
def shared_image_repository(self, code): return ('commons', 'commons')