http://www.mediawiki.org/wiki/Special:Code/pywikipedia/11419
Revision: 11419 Author: xqt Date: 2013-04-21 16:27:26 +0000 (Sun, 21 Apr 2013) Log Message: ----------- update namespace aliases
Modified Paths: -------------- trunk/pywikipedia/families/meta_family.py trunk/pywikipedia/families/wikibooks_family.py trunk/pywikipedia/families/wikidata_family.py trunk/pywikipedia/families/wikivoyage_family.py
Modified: trunk/pywikipedia/families/meta_family.py =================================================================== --- trunk/pywikipedia/families/meta_family.py 2013-04-21 16:22:21 UTC (rev 11418) +++ trunk/pywikipedia/families/meta_family.py 2013-04-21 16:27:26 UTC (rev 11419) @@ -51,6 +51,18 @@ self.namespaces[471] = { '_default': u'Schema talk', } + self.namespaces[480] = { + '_default': u'Zero', + } + self.namespaces[481] = { + '_default': u'Zero talk', + } + self.namespaces[866] = { + '_default': u'CNBanner', + } + self.namespaces[867] = { + '_default': u'CNBanner talk', + } self.namespaces[1198] = { '_default': u'Translations', }
Modified: trunk/pywikipedia/families/wikibooks_family.py =================================================================== --- trunk/pywikipedia/families/wikibooks_family.py 2013-04-21 16:22:21 UTC (rev 11418) +++ trunk/pywikipedia/families/wikibooks_family.py 2013-04-21 16:27:26 UTC (rev 11419) @@ -322,6 +322,7 @@ 'ro': u'Wikijunior', 'ru': u'Импортировано', 'sr': u'Кувар', + 'th': u'หัวเรื่อง', 'uk': u'Рецепт', 'vi': u'Chủ đề', } @@ -341,6 +342,7 @@ 'ro': u'Discuţie Wikijunior', 'ru': u'Обсуждение импортированного', 'sr': u'Разговор о кувару', + 'th': u'คุยเรื่องหัวเรื่อง', 'uk': u'Обговорення рецепта', 'vi': u'Thảo luận Chủ đề', }
Modified: trunk/pywikipedia/families/wikidata_family.py =================================================================== --- trunk/pywikipedia/families/wikidata_family.py 2013-04-21 16:22:21 UTC (rev 11418) +++ trunk/pywikipedia/families/wikidata_family.py 2013-04-21 16:27:26 UTC (rev 11419) @@ -19,12 +19,6 @@ # Override defaults self.namespaces[1]['repo'] = [u'Talk', u'Item talk'] self.namespaces[0]['repo'] = [u'', u'Item'] - self.namespaces[828]['client'] = [u'Module'] - self.namespaces[829]['client'] = [u'Module talk'] - self.namespaces[828]['wikidata'] = [u'Module'] - self.namespaces[829]['wikidata'] = [u'Module talk'] - del(self.namespaces[828]['_default']) - del(self.namespaces[829]['_default'])
# Most namespaces are inherited from family.Family. # Translation used on all wikis for the different namespaces.
Modified: trunk/pywikipedia/families/wikivoyage_family.py =================================================================== --- trunk/pywikipedia/families/wikivoyage_family.py 2013-04-21 16:22:21 UTC (rev 11418) +++ trunk/pywikipedia/families/wikivoyage_family.py 2013-04-21 16:27:26 UTC (rev 11419) @@ -25,7 +25,7 @@ self.namespaces[3]['pt'] = [u'Utilizador Discussão', u'Usuário Discussão', u'Utilizadora Discussão'] self.namespaces[2]['pt'] = [u'Utilizador', u'Usuário', u'Utilizadora'] self.namespaces[12]['uk'] = [u'Довідка', u'Д'] - self.namespaces[14]['uk'] = [u'Категорія', u'K'] + self.namespaces[14]['uk'] = [u'Категорія', u'К'] self.namespaces[9]['ro'] = [u'Discuție MediaWiki', u'Discuţie MediaWiki'] self.namespaces[3]['pl'] = [u'Dyskusja użytkownika', u'Dyskusja użytkowniczki'] self.namespaces[2]['pl'] = [u'Użytkownik', u'Użytkowniczka']
pywikipedia-svn@lists.wikimedia.org