Last modified: 2014-08-19 08:48:33 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T57268, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 55268 - copyright_put don't put some files
copyright_put don't put some files
Status: NEW
Product: Pywikibot
Classification: Unclassified
General (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Pywikipedia bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-10-05 04:54 UTC by Kunal Mehta (Legoktm)
Modified: 2014-08-19 08:48 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Kunal Mehta (Legoktm) 2013-10-05 04:54:05 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...
Comment 1 Kunal Mehta (Legoktm) 2013-10-05 04:54:08 UTC
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.
Comment 2 Kunal Mehta (Legoktm) 2013-10-05 04:54:10 UTC
- **labels**: 1110741 --> General
- **assigned_to**: cosoleto --> nobody
Comment 3 Kunal Mehta (Legoktm) 2013-10-05 04:54:12 UTC
Not possible to save page cause antispam filter...
Comment 4 Kunal Mehta (Legoktm) 2013-10-05 04:54:13 UTC
It seem that pywikipedia or copyright.py don't handle well spamfilter
Comment 5 Kunal Mehta (Legoktm) 2013-10-05 04:54:15 UTC
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

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links