https://bugzilla.wikimedia.org/show_bug.cgi?id=55306
Web browser: --- Bug ID: 55306 Summary: Problems with revdelete Product: Pywikibot Version: unspecified Hardware: All OS: All Status: NEW Severity: normal Priority: Unprioritized Component: General Assignee: Pywikipedia-bugs@lists.wikimedia.org Reporter: legoktm.wikipedia@gmail.com Classification: Unclassified Mobile Platform: ---
Originally from: http://sourceforge.net/p/pywikipediabot/bugs/937/ Reported by: platonides Created on: 2009-05-11 22:26:00 Subject: Problems with revdelete Original description: Wikipedia is now using revdelete in everyday use. This means that content, editor or summaries may be selectively deleted. pywikipediabot isn't prepared to handle that, and will break throwing an exception, even if that field isn't needed for the specific action being done. I encountered it with instances of <contributor deleted="deleted"/> but will likely happen with all deleted fields.
If you use -page: generator where it has the contributor deleted, it'll throw from xmlreader.py, line 180, in endElement text, self.username, AttributeError: MediaWikiXmlHandler instance has no attribute 'username' MediaWikiXmlHandler instance has no attribute 'username'
If you were using a -xml: generator, it's much more cyptic: xmlreader.py", line 64, in __init__ self.username = username.strip() AttributeError: 'bool' object has no attribute 'strip' 'bool' object has no attribute 'strip'
Using r6870.