[Pywikipedia-l] SVN: [4956] trunk/pywikipedia/wikipedia.py
filnik at svn.wikimedia.org
filnik at svn.wikimedia.org
Thu Jan 31 16:32:39 UTC 2008
Revision: 4956
Author: filnik
Date: 2008-01-31 16:32:39 +0000 (Thu, 31 Jan 2008)
Log Message:
-----------
I Will Never Comment again -.-' it breaks the code. bugfixing
Modified Paths:
--------------
trunk/pywikipedia/wikipedia.py
Modified: trunk/pywikipedia/wikipedia.py
===================================================================
--- trunk/pywikipedia/wikipedia.py 2008-01-31 16:15:16 UTC (rev 4955)
+++ trunk/pywikipedia/wikipedia.py 2008-01-31 16:32:39 UTC (rev 4956)
@@ -700,7 +700,7 @@
# non-existant pages
# Check also the div class because if the language is not english
# the bot can not seeing that the page is blocked.
- elif text.find(self.site().mediawiki_message('badaccess')) != -1 or \ # continue below
+ elif text.find(self.site().mediawiki_message('badaccess')) != -1 or \
text.find("<div class=\"permissions-errors\">") != -1:
raise NoPage(self.site(), self.aslink(forceInterwiki = True))
else:
More information about the Pywikipedia-l
mailing list