Revision: 5668 Author: jayvdb Date: 2008-07-04 06:24:58 +0000 (Fri, 04 Jul 2008)
Log Message: ----------- Fix bug introduced to support Latin
Modified Paths: -------------- trunk/pywikipedia/djvutext.py
Modified: trunk/pywikipedia/djvutext.py =================================================================== --- trunk/pywikipedia/djvutext.py 2008-07-03 22:32:37 UTC (rev 5667) +++ trunk/pywikipedia/djvutext.py 2008-07-04 06:24:58 UTC (rev 5668) @@ -107,7 +107,7 @@ Loads the given page, does some changes, and saves it. """ site = wikipedia.getSite() - page_namespace = site.family.namespaces[104]['la'] + page_namespace = site.family.namespaces[104][site.lang] page = wikipedia.Page(site, '%s:%s/%d' % (page_namespace, self.prefix, pageno) ) exists = page.exists()