Last modified: 2013-10-05 05:17:07 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 T57258, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 55258 - API hookaborted by pagefromfile.py
API hookaborted by pagefromfile.py
Status: RESOLVED WORKSFORME
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:52 UTC by Kunal Mehta (Legoktm)
Modified: 2013-10-05 05:17 UTC (History)
0 users

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


Attachments

Description Kunal Mehta (Legoktm) 2013-10-05 04:52:43 UTC
Originally from: http://sourceforge.net/p/pywikipediabot/bugs/1247/
Reported by: masti01
Created on: 2010-10-08 20:20:37
Subject: API hookaborted by pagefromfile.py
Original description:
When I try to add pages using pagefromfile.py edits are aborted with:
Unknown Error. API Error code:hookaborted
Information:The modification you tried to make was aborted by an extension hook

example:
>python pagefromfile.py -file:nepaldystryktredir -start:"HHH" -end:"HHH" -notitle -summary:"Bot dodaje alternatywne nazwy dystryktów Nepalu"Reading 'nepaldystryktredir'...
>>> Bardia \(dystrykt\) <<<
NOTE: You have new messages on wikipedia:pl
Sleeping for 7.5 seconds, 2010-10-08 22:16:41
Creating page \[\[Bardia \(dystrykt\)\]\] via API
Unknown Error. API Error code:hookaborted
Information:The modification you tried to make was aborted by an extension hook

>python version.py
Pywikipedia \[http\] trunk/pywikipedia \(r8623, 2010/10/08, 15:28:12\)
Python 2.6.4 \(r264:75706, Jun  4 2010, 18:20:16\) 
\[GCC 4.4.4 20100503 \(Red Hat 4.4.4-2\)\]
config-settings:
use\_api = True
use\_api\_login = True
Comment 1 Kunal Mehta (Legoktm) 2013-10-05 05:17:07 UTC
This is likely due to the edit catching an AbuseFilter rule. The AF has been patched so that it will provide more descriptive error messages now.

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


Navigation
Links