Revision: 7189 Author: multichill Date: 2009-08-31 11:00:07 +0000 (Mon, 31 Aug 2009)
Log Message: ----------- Raised the delay to 2 hours.
Modified Paths: -------------- trunk/pywikipedia/imageuncat.py
Modified: trunk/pywikipedia/imageuncat.py =================================================================== --- trunk/pywikipedia/imageuncat.py 2009-08-31 09:30:38 UTC (rev 7188) +++ trunk/pywikipedia/imageuncat.py 2009-08-31 11:00:07 UTC (rev 7189) @@ -1254,7 +1254,7 @@
return pagegenerators.PagesFromTitlesGenerator(result, site)
-def recentChanges(site = None, delay=60, block=70): +def recentChanges(site = None, delay=0, block=70): ''' Return a pagegenerator containing all the images edited in a certain timespan. The delay is the amount of minutes to wait and the block is the timespan to return images in. @@ -1348,7 +1348,7 @@ if arg.startswith('-yesterday'): generator = uploadedYesterday(site) elif arg.startswith('-recentchanges'): - generator = recentChanges(site) + generator = recentChanges(site=site, delay=120) else: genFactory.handleArg(arg)
pywikipedia-svn@lists.wikimedia.org