Revision: 6998 Author: nicdumz Date: 2009-06-25 14:41:11 +0000 (Thu, 25 Jun 2009)
Log Message: ----------- Replacing dict refs by their values: because namespace 5 was changed before, namespace list for n=100 ended up being a mixed list of unicode and list objects.
Modified Paths: -------------- trunk/pywikipedia/families/commons_family.py
Modified: trunk/pywikipedia/families/commons_family.py =================================================================== --- trunk/pywikipedia/families/commons_family.py 2009-06-25 14:32:37 UTC (rev 6997) +++ trunk/pywikipedia/families/commons_family.py 2009-06-25 14:41:11 UTC (rev 6998) @@ -17,16 +17,16 @@ self.langs['commons'] = 'secure.wikimedia.org'
self.namespaces[4] = { - '_default': [u'Commons', self.namespaces[4]['_default']], + '_default': [u'Commons', 'Project'], } self.namespaces[5] = { - '_default': [u'Commons talk', self.namespaces[5]['_default']], + '_default': [u'Commons talk', 'Project talk'], } self.namespaces[100] = { - '_default': [u'Creator', self.namespaces[5]['_default']], + '_default': [u'Creator', 'Project'], } self.namespaces[101] = { - '_default': [u'Creator talk', self.namespaces[5]['_default']], + '_default': [u'Creator talk', 'Project talk'], }
self.interwiki_forward = 'wikipedia'
pywikipedia-svn@lists.wikimedia.org