Revision: 5759 Author: misza13 Date: 2008-07-25 18:11:07 +0000 (Fri, 25 Jul 2008)
Log Message: ----------- bail out immediately when {{nobots}} prevents from editing
Modified Paths: -------------- trunk/pywikipedia/archivebot.py
Modified: trunk/pywikipedia/archivebot.py =================================================================== --- trunk/pywikipedia/archivebot.py 2008-07-25 08:43:25 UTC (rev 5758) +++ trunk/pywikipedia/archivebot.py 2008-07-25 18:11:07 UTC (rev 5759) @@ -429,6 +429,8 @@ return set(whys)
def run(self): + if not self.Page.Page.botMayEdit(Site.username): + return whys = self.analyzePage() if self.archivedThreads < int(self.get('minthreadstoarchive',2)): return #We might not want to archive a measly few threads (lowers edit frequency)
pywikipedia-l@lists.wikimedia.org