http://www.mediawiki.org/wiki/Special:Code/pywikipedia/11127
Revision: 11127 Author: xqt Date: 2013-02-25 12:48:27 +0000 (Mon, 25 Feb 2013) Log Message: ----------- update namespace aliases
Modified Paths: -------------- trunk/pywikipedia/families/wikinews_family.py trunk/pywikipedia/families/wikiquote_family.py trunk/pywikipedia/families/wikisource_family.py trunk/pywikipedia/families/wikiversity_family.py trunk/pywikipedia/families/wiktionary_family.py
Modified: trunk/pywikipedia/families/wikinews_family.py =================================================================== --- trunk/pywikipedia/families/wikinews_family.py 2013-02-25 12:30:01 UTC (rev 11126) +++ trunk/pywikipedia/families/wikinews_family.py 2013-02-25 12:48:27 UTC (rev 11127) @@ -233,6 +233,14 @@ 'ja': u'短信‐ノート', }
+ self.namespaces[828] = { + 'cs': u'Module', + } + + self.namespaces[829] = { + 'cs': u'Module talk', + } + # Global bot allowed languages on http://meta.wikimedia.org/wiki/Bot_policy/Implementation#Current_implementat... self.cross_allowed = ['ca', 'cs', 'en', 'fa', 'ko', ]
Modified: trunk/pywikipedia/families/wikiquote_family.py =================================================================== --- trunk/pywikipedia/families/wikiquote_family.py 2013-02-25 12:30:01 UTC (rev 11126) +++ trunk/pywikipedia/families/wikiquote_family.py 2013-02-25 12:48:27 UTC (rev 11127) @@ -259,6 +259,14 @@ 'fr': u'Discussion Transwiki', }
+ self.namespaces[828] = { + 'cs': u'Module', + } + + self.namespaces[829] = { + 'cs': u'Module talk', + } + # attop is a list of languages that prefer to have the interwiki # links at the top of the page. self.interwiki_attop = []
Modified: trunk/pywikipedia/families/wikisource_family.py =================================================================== --- trunk/pywikipedia/families/wikisource_family.py 2013-02-25 12:30:01 UTC (rev 11126) +++ trunk/pywikipedia/families/wikisource_family.py 2013-02-25 12:48:27 UTC (rev 11127) @@ -509,7 +509,6 @@
self.namespaces[108] = { '-': u'Author', - 'be': u'Аўтар', 'gu': u'સર્જક', 'he': u'מחבר', 'it': u'Pagina', @@ -520,7 +519,6 @@
self.namespaces[109] = { '-': u'Author talk', - 'be': u'Размовы_пра_аўтара', 'gu': u'સર્જક ચર્ચા', 'he': u'שיחת מחבר', 'it': u'Discussioni pagina',
Modified: trunk/pywikipedia/families/wikiversity_family.py =================================================================== --- trunk/pywikipedia/families/wikiversity_family.py 2013-02-25 12:30:01 UTC (rev 11126) +++ trunk/pywikipedia/families/wikiversity_family.py 2013-02-25 12:48:27 UTC (rev 11127) @@ -19,6 +19,7 @@ for lang in self.languages_by_size])
# Override defaults + self.namespaces[3]['cs'] = [u'Diskuse s uživatelem', u'Uživatel diskuse', u'Uživatelka diskuse', u'Diskuse s uživatelkou'] self.namespaces[3]['fr'] = [u'Discussion utilisateur', u'Discussion Utilisateur'] self.namespaces[2]['fr'] = [u'Utilisateur'] self.namespaces[3]['pt'] = [u'Utilizador Discussão', u'Usuário Discussão', u'Utilizadora Discussão']
Modified: trunk/pywikipedia/families/wiktionary_family.py =================================================================== --- trunk/pywikipedia/families/wiktionary_family.py 2013-02-25 12:30:01 UTC (rev 11126) +++ trunk/pywikipedia/families/wiktionary_family.py 2013-02-25 12:48:27 UTC (rev 11127) @@ -290,7 +290,7 @@ 'ko': u'위키낱말사전토론', 'ks': u'Wiktionary بَحَژ', 'ku': [u'Gotûbêja Wîkîferhengê', u'Wîkîferheng gotûbêj', u'Wîkîferheng nîqaş'], - 'kw': [u'Kescows Wiktionary', u'Cows Wiktionary', u'Keskows Wiktionary'], + 'kw': [u'Keskows Wiktionary', u'Cows Wiktionary', u'Kescows Wiktionary'], 'ky': u'Wiktionary баарлашуу', 'la': u'Disputatio Victionarii', 'lb': [u'Wiktionnaire Diskussioun', u'Wiktionary Diskussioun'],
pywikipedia-svn@lists.wikimedia.org