On Feb 6, 2008 5:24 PM, Andre Engels andreengels@gmail.com wrote:
2008/2/6, Charlotte Webb charlottethewebb@gmail.com:
Could log it at the end of the bot's edit summary, then it would appear in Special:Contributions where Andre wants it. ;-)
I don't think that that would work - it seems extremely unlikely to me that the bot would 'knowingly' (insofar as you could use this word) make such a mistake. More probably it is getting an incorrect export page or maybe mis-parsing a correct one, so it will have the wrong idea about the previous size of the page and not report removing something even though it did.
-- Andre Engels, andreengels@gmail.com ICQ: 6260644 -- Skype: a_engels
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/wikitech-l
The problems that pywikipediabot caused for some weeks were caused by premature connection aborts on posting a page. Due to Python's hashtable implementation, values with as key 'wpTextbox1' get sorted as last item. And even though the framework sends a Content-Length header, PHP does not respect this. So if a connection abort occurs on post, it will just continue with the malformed data. I fixed this by explicitly sending wpEditToken as last item, but maybe it should be fixed in PHP?
Bryan