[Pywikipedia-l] SVN: [5340] trunk/pywikipedia/reflinks.py

nicdumz at svn.wikimedia.org nicdumz at svn.wikimedia.org
Thu May 8 19:49:52 UTC 2008


Revision: 5340
Author:   nicdumz
Date:     2008-05-08 19:49:52 +0000 (Thu, 08 May 2008)

Log Message:
-----------
Follow up to Daniel's last commit. I myself had locally disabled the "stop on new messages" feature in reflinks.py . Committing it :)

Modified Paths:
--------------
    trunk/pywikipedia/reflinks.py

Modified: trunk/pywikipedia/reflinks.py
===================================================================
--- trunk/pywikipedia/reflinks.py	2008-05-08 19:37:31 UTC (rev 5339)
+++ trunk/pywikipedia/reflinks.py	2008-05-08 19:49:52 UTC (rev 5340)
@@ -6,8 +6,8 @@
 the link to use it as the title of the wiki link in the reference, i.e.
 <ref>[http://www.google.fr/search?q=test test - Google Search]</ref>
 
-The bot checks every 20 edits its talk page and a special stop page : if
-one of these page has been edited, it stops.
+The bot checks every 20 edits a special stop page : if
+the page has been edited, it stops.
 
 DumZiBoT is running that script on en: & fr: at every new dump, running it on de: is not allowed anymore.
 
@@ -493,9 +493,6 @@
                 if actualRev != self.stopPageRevId:
                     wikipedia.output(u'[[%s]] has been edited : Someone wants us to stop.' % self.stopPage)
                     return
-            if self.site.messages():
-                wikipedia.output(u'Bot has new messages. Better stop to check.')
-                return
 
 def main():
     genFactory = pagegenerators.GeneratorFactory()





More information about the Pywikipedia-l mailing list