Revision: 6228 Author: multichill Date: 2009-01-08 10:09:51 +0000 (Thu, 08 Jan 2009)
Log Message: ----------- Fix. Forgot usage and galleries
Modified Paths: -------------- trunk/pywikipedia/imagerecat.py
Modified: trunk/pywikipedia/imagerecat.py =================================================================== --- trunk/pywikipedia/imagerecat.py 2009-01-07 20:11:35 UTC (rev 6227) +++ trunk/pywikipedia/imagerecat.py 2009-01-08 10:09:51 UTC (rev 6228) @@ -52,6 +52,8 @@ currentCats = getCurrentCats(imagepage) if(onlyfilter): commonshelperCats = [] + usage = [] + galleries = [] else: (commonshelperCats, usage, galleries) = getCommonshelperCats(imagepage) newcats = applyAllFilters(commonshelperCats+currentCats)