https://bugzilla.wikimedia.org/show_bug.cgi?id=55268
Web browser: --- Bug ID: 55268 Summary: copyright_put don't put some files 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/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...
https://bugzilla.wikimedia.org/show_bug.cgi?id=55268
--- Comment #1 from Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com --- 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.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55268
--- Comment #2 from Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com --- - **labels**: 1110741 --> General - **assigned_to**: cosoleto --> nobody
https://bugzilla.wikimedia.org/show_bug.cgi?id=55268
--- Comment #3 from Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com --- Not possible to save page cause antispam filter...
https://bugzilla.wikimedia.org/show_bug.cgi?id=55268
--- Comment #4 from Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com --- It seem that pywikipedia or copyright.py don't handle well spamfilter
https://bugzilla.wikimedia.org/show_bug.cgi?id=55268
--- Comment #5 from Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com --- 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
https://bugzilla.wikimedia.org/show_bug.cgi?id=55268
Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://sourceforge.net/p/p | |ywikipediabot/bugs/1210
https://bugzilla.wikimedia.org/show_bug.cgi?id=55268
John Mark Vandenberg jayvdb@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jayvdb@gmail.com See Also| |https://bugzilla.wikimedia. | |org/show_bug.cgi?id=55264
pywikipedia-bugs@lists.wikimedia.org