Revision: 4671 Author: rotem Date: 2007-12-09 16:39:54 +0000 (Sun, 09 Dec 2007)
Log Message: ----------- Updates for Wikiquote family file.
Modified Paths: -------------- trunk/pywikipedia/families/wikiquote_family.py
Modified: trunk/pywikipedia/families/wikiquote_family.py =================================================================== --- trunk/pywikipedia/families/wikiquote_family.py 2007-12-09 16:14:49 UTC (rev 4670) +++ trunk/pywikipedia/families/wikiquote_family.py 2007-12-09 16:39:54 UTC (rev 4671) @@ -12,6 +12,7 @@ self.name = 'wikiquote'
self.langs = { + 'dk':'da.wikiquote.org', 'minnan':'zh-min-nan.wikiquote.org', 'nb':'no.wikiquote.org', 'zh-cn':'zh.wikiquote.org', @@ -30,11 +31,6 @@
for lang in self.languages_by_size: self.langs[lang] = lang+'.wikiquote.org' - - self.obsolete = {'nb':'no', - 'minnan':'zh-min-nan', - 'zh-tw':'zh', - 'zh-cn':'zh'}
# Most namespaces are inherited from family.Family() # Translation used on all wikis for the different namespaces. @@ -151,41 +147,39 @@ }
self.namespaces[100] = { - '_default': u'Portal', - 'he': u'פורטל', - 'fr': u'Portail', + 'de': u'Portal', + 'he': u'פורטל', + 'fr': u'Portail', }
self.namespaces[101] = { - '_default': u'Portal talk', - 'de': u'Portal Diskussion', - 'he': u'שיחת פורטל', - 'fr': u'Discussion Portail', + 'de': u'Portal Diskussion', + 'he': u'שיחת פורטל', + 'fr': u'Discussion Portail', }
self.namespaces[102] = { - 'fr': u'Projet', + 'fr': u'Projet', }
self.namespaces[103] = { - 'fr': u'Discussion Projet', + 'fr': u'Discussion Projet', }
self.namespaces[104] = { - 'fr': u'Référence', + 'fr': u'Référence', }
self.namespaces[105] = { - 'fr': u'Discussion Référence', + 'fr': u'Discussion Référence', }
self.namespaces[108] = { - '_default': u'Transwiki' + 'fr': u'Transwiki', }
self.namespaces[109] = { - '_default': u'Transwiki talk', - 'fr': u'Discussion Transwiki' + 'fr': u'Discussion Transwiki', }
self.disambiguationTemplates = { @@ -223,7 +217,7 @@ 'mk','mg','ml','mi','mr','zh-cfr','mn','nah','na', 'nl','ja','no','nb','oc','nds','pl','pt','ro','ru', 'sa','st','sq','si','simple','sk','sl','sr','su', - 'fi','sv','ta','tt','th','ur','vi','tokipona', + 'fi','sv','ta','tt','th','ur','vi', 'tpi','tr','uk','vo','yi','yo','za','zh','zh-cn', 'zh-tw']
@@ -238,6 +232,15 @@ 'pt': alphabetic, }
+ self.obsolete = { + 'dk': 'da', + 'minnan':'zh-min-nan', + 'nb': 'no', + 'tokipona': None, + 'zh-tw': 'zh', + 'zh-cn': 'zh' + } + self.mainpages = { 'ka': u'მთავარი გვერდი' }
pywikipedia-l@lists.wikimedia.org