http://www.mediawiki.org/wiki/Special:Code/pywikipedia/9180
Revision: 9180 Author: xqt Date: 2011-04-18 09:06:45 +0000 (Mon, 18 Apr 2011) Log Message: ----------- override default namespace aliases from family.py
Modified Paths: -------------- trunk/pywikipedia/families/wowwiki_family.py
Modified: trunk/pywikipedia/families/wowwiki_family.py =================================================================== --- trunk/pywikipedia/families/wowwiki_family.py 2011-04-15 10:59:23 UTC (rev 9179) +++ trunk/pywikipedia/families/wowwiki_family.py 2011-04-18 09:06:45 UTC (rev 9180) @@ -43,6 +43,18 @@ 'zh': 'zh.wow.wikia.com' }
+ # Override defaults + self.namespaces[1]['ja'] = [u'ノート'] + self.namespaces[3]['ja'] = [u'利用者‐会話'] + self.namespaces[7]['ja'] = [u'ファイル‐ノート', u'Image talk', u'画像‐ノート'] + self.namespaces[9]['ja'] = [u'MediaWiki‐ノート'] + self.namespaces[10]['ja'] = [u'Template'] + self.namespaces[11]['ja'] = [u'Template‐ノート'] + self.namespaces[12]['ja'] = [u'Help'] + self.namespaces[13]['ja'] = [u'Help‐ノート'] + self.namespaces[14]['ja'] = [u'Category'] + self.namespaces[15]['ja'] = [u'Category‐ノート'] + self.namespaces[4] = { 'cs': u'WoWWiki', 'da': u'WoWWiki Danmark',
pywikipedia-svn@lists.wikimedia.org