Revision: 4176 Author: cosoleto Date: 2007-09-02 11:17:00 +0000 (Sun, 02 Sep 2007)
Log Message: ----------- fix to my previous commit to avoid NoPage error when get() is called
Modified Paths: -------------- trunk/pywikipedia/catlib.py
Modified: trunk/pywikipedia/catlib.py =================================================================== --- trunk/pywikipedia/catlib.py 2007-09-02 09:58:11 UTC (rev 4175) +++ trunk/pywikipedia/catlib.py 2007-09-02 11:17:00 UTC (rev 4176) @@ -238,7 +238,7 @@ if Rimage: # For MediaWiki versions where images work through galleries for title in Rimage.findall(txt): - yield ARTICLE, wikipedia.ImagePage(self.site(), title) + yield ARTICLE, wikipedia.ImagePage(self.site(), "Image:%s" % title) # try to find a link to the next list page # If skippedCategoryDescription is False, then there are no pages # or subcategories, so there cannot be a next list page