Last modified: 2014-08-19 08:48:33 UTC
Originally from: http://sourceforge.net/p/pywikipediabot/bugs/1210/ Reported by: lusum Created on: 2010-07-11 22:29:05 Subject: copyright_put don't put some files Original description: I use copyright\_put to put the results of copyright.py on it.wikipedia. But sometime the script delete the results without update the page. I attach an example file of results \( output.txt \) that don't work with the script...
If you receive a "output.txt deleted" message, then the bug isn't in "copyright\_put" script but in the Page::put\(\) function that returns succesful instead of raising a "PageNotSaved" error. Do you get some error message from MediaWiki by manually puting the text to it.wiki site? That helps to identify the cause. In spite of this reply, please note that nowadays the copyright scripts are unmantained, thus you may experience a loss of functionality.
- **labels**: 1110741 --> General - **assigned_to**: cosoleto --> nobody
Not possible to save page cause antispam filter...
It seem that pywikipedia or copyright.py don't handle well spamfilter
It is confirmed, wikipedia.py don't handle spamfilter. I try to put a page with some spam link, the bot don't recognize the problem: i print data before this line on def \_putPage\(self, text, comment=None, watchArticle=False, minorEdit=True, newPage=False, token=None, newToken=False, sysop=False, captcha=None, botflag=True, maxTries=-1\): if 'error' in data: print data give me: \{u'edit': \{u'spamblacklist': u'http://www.gamerbrain.net', u'result': u'Failure'\}\} that mean that this is no error in data, but result give failure