http://www.mediawiki.org/wiki/Special:Code/pywikipedia/10956
Revision: 10956 Author: xqt Date: 2013-01-20 09:41:18 +0000 (Sun, 20 Jan 2013) Log Message: ----------- remove page edit restriction when comment contents the bots username due to bug #3601530
Modified Paths: -------------- trunk/pywikipedia/wikipedia.py
Modified: trunk/pywikipedia/wikipedia.py =================================================================== --- trunk/pywikipedia/wikipedia.py 2013-01-19 20:45:15 UTC (rev 10955) +++ trunk/pywikipedia/wikipedia.py 2013-01-20 09:41:18 UTC (rev 10956) @@ -1979,10 +1979,6 @@ raise LockedPage( u'Not allowed to edit %s because of a restricting template' % self.title(asLink=True)) - elif self.comment() and username in self.comment(): - raise LockedPage( - u'Not allowed to edit %s because last edit maybe reverted' - % self.title(asLink=True)) elif self.site().has_api() and self.namespace() == 2 \ and (self.title().endswith('.css') or \ self.title().endswith('.js')):
pywikipedia-svn@lists.wikimedia.org