Last modified: 2013-10-05 05:17:07 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
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.