Revision: 4175 Author: cosoleto Date: 2007-09-02 09:58:11 +0000 (Sun, 02 Sep 2007)
Log Message: ----------- yield ImagePage class, not Page
Modified Paths: -------------- trunk/pywikipedia/catlib.py
Modified: trunk/pywikipedia/catlib.py =================================================================== --- trunk/pywikipedia/catlib.py 2007-09-02 09:43:45 UTC (rev 4174) +++ trunk/pywikipedia/catlib.py 2007-09-02 09:58:11 UTC (rev 4175) @@ -238,7 +238,7 @@ if Rimage: # For MediaWiki versions where images work through galleries for title in Rimage.findall(txt): - yield ARTICLE, wikipedia.Page(self.site(), title) + yield ARTICLE, wikipedia.ImagePage(self.site(), 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