http://www.mediawiki.org/wiki/Special:Code/pywikipedia/11687
Revision: 11687 Author: xqt Date: 2013-06-22 17:43:47 +0000 (Sat, 22 Jun 2013) Log Message: ----------- update namespace aliases
Modified Paths: -------------- trunk/pywikipedia/families/wikidata_family.py
Modified: trunk/pywikipedia/families/wikidata_family.py =================================================================== --- trunk/pywikipedia/families/wikidata_family.py 2013-06-21 21:36:43 UTC (rev 11686) +++ trunk/pywikipedia/families/wikidata_family.py 2013-06-22 17:43:47 UTC (rev 11687) @@ -49,23 +49,29 @@ 'repo': u'Property talk', } self.namespaces[120] = { + 'test': u'Property', 'wikidata': u'Property', } self.namespaces[121] = { + 'test': u'Property talk', 'wikidata': u'Property talk', } self.namespaces[122] = { + 'test': u'Query', 'wikidata': u'Query', } self.namespaces[123] = { + 'test': u'Query talk', 'wikidata': u'Query talk', } self.namespaces[1198] = { 'repo': u'Translations', + 'test': u'Translations', 'wikidata': u'Translations', } self.namespaces[1199] = { 'repo': u'Translations talk', + 'test': u'Translations talk', 'wikidata': u'Translations talk', }
pywikipedia-svn@lists.wikimedia.org