Revision: 7440 Author: xqt Date: 2009-10-12 14:55:34 +0000 (Mon, 12 Oct 2009)
Log Message: ----------- ignore bots
Modified Paths: -------------- trunk/pywikipedia/welcome.py
Modified: trunk/pywikipedia/welcome.py =================================================================== --- trunk/pywikipedia/welcome.py 2009-10-12 13:49:53 UTC (rev 7439) +++ trunk/pywikipedia/welcome.py 2009-10-12 14:55:34 UTC (rev 7440) @@ -791,6 +791,11 @@ if self.badNameFilter(users.name()): self.reportBadAccount(users.name()) continue + #if 'bot' in users.groups(): + if 'bot' in users.name().lower(): + showStatus(3) + wikipedia.output(u'%s might be a bot!' % users.name() ) + continue #if globalvar.offset != 0 and time.strptime(users.registrationTime(), "%Y-%m-%dT%H:%M:%SZ") >= globalvar.offset: # if users.editCount() >= globalvar.attachEditCount: