Revision: 7844 Author: xqt Date: 2009-12-29 12:09:23 +0000 (Tue, 29 Dec 2009)
Log Message: ----------- Bugfix for #2616329
Modified Paths: -------------- trunk/pywikipedia/interwiki.py
Modified: trunk/pywikipedia/interwiki.py =================================================================== --- trunk/pywikipedia/interwiki.py 2009-12-29 11:16:45 UTC (rev 7843) +++ trunk/pywikipedia/interwiki.py 2009-12-29 12:09:23 UTC (rev 7844) @@ -1941,7 +1941,10 @@ break
if self.generateUntil: - if page.titleWithoutNamespace() > self.generateUntil: + until = self.generateUntil + if page.site().lang not in page.site().family.nocapitalize: + until = until[0].upper()+until[1:] + if page.titleWithoutNamespace() > until: raise StopIteration self.add(page, hints = globalvar.hints) self.generated += 1