http://www.mediawiki.org/wiki/Special:Code/pywikipedia/10865
Revision: 10865 Author: xqt Date: 2013-01-04 08:38:05 +0000 (Fri, 04 Jan 2013) Log Message: ----------- new wikivoyage sites pt, es
Modified Paths: -------------- trunk/pywikipedia/families/wikivoyage_family.py
Modified: trunk/pywikipedia/families/wikivoyage_family.py =================================================================== --- trunk/pywikipedia/families/wikivoyage_family.py 2013-01-03 09:19:32 UTC (rev 10864) +++ trunk/pywikipedia/families/wikivoyage_family.py 2013-01-04 08:38:05 UTC (rev 10865) @@ -11,17 +11,20 @@ family.Family.__init__(self) self.name = 'wikivoyage' self.languages_by_size = [ - 'de', 'en', 'fr', 'it', 'nl', 'ru','sv', + 'de', 'en', 'fr', 'it', 'nl', 'ru', 'sv', 'pt', 'es', ]
- self.langs = dict([(lang, '%s.wikivoyage.org' % lang) for lang in self.languages_by_size]) + self.langs = dict([(lang, '%s.wikivoyage.org' % lang) + for lang in self.languages_by_size])
self.namespaces[4] = { 'de': u'Wikivoyage', 'en': u'Wikivoyage', + 'es': u'Wikiviajes', 'fr': u'Wikivoyage', 'it': u'Wikivoyage', 'nl': u'Wikivoyage', + 'pt': u'Wikivoyage', 'ru': u'Wikivoyage', 'sv': u'Wikivoyage', } @@ -29,9 +32,11 @@ self.namespaces[5] = { 'de': u'Wikivoyage Diskussion', 'en': u'Wikivoyage talk', + 'es': u'Wikiviajes discusión', 'fr': u'Discussion Wikivoyage', 'it': u'Discussioni Wikivoyage', 'nl': u'Overleg Wikivoyage', + 'pt': u'Wikivoyage Discussão', 'ru': u'Обсуждение Wikivoyage', 'sv': u'Wikivoyagediskussion', }
pywikipedia-svn@lists.wikimedia.org