http://www.mediawiki.org/wiki/Special:Code/pywikipedia/8915
Revision: 8915 Author: xqt Date: 2011-02-04 14:59:40 +0000 (Fri, 04 Feb 2011) Log Message: ----------- update API namespace alias for mediawiki
Modified Paths: -------------- trunk/pywikipedia/families/mediawiki_family.py
Modified: trunk/pywikipedia/families/mediawiki_family.py =================================================================== --- trunk/pywikipedia/families/mediawiki_family.py 2011-02-04 14:17:35 UTC (rev 8914) +++ trunk/pywikipedia/families/mediawiki_family.py 2011-02-04 14:59:40 UTC (rev 8915) @@ -48,6 +48,12 @@ self.namespaces[103] = { '_default': u'Extension talk', } + self.namespaces[104] = { + '_default': u'API', + } + self.namespaces[105] = { + '_default': u'API talk', + } self.cross_projects = [ 'wikipedia', 'wiktionary', 'wikibooks', 'wikiquote', 'wikisource', 'wikinews', 'wikiversity', 'meta', 'test', 'incubator', 'commons', 'species',
pywikipedia-svn@lists.wikimedia.org