https://bugzilla.wikimedia.org/show_bug.cgi?id=60739
Web browser: --- Bug ID: 60739 Summary: Missing message for the anti-spam filter error Product: Pywikibot Version: compat (1.0) Hardware: PC OS: Windows XP Status: UNCONFIRMED Severity: normal Priority: Unprioritized Component: General Assignee: Pywikipedia-bugs@lists.wikimedia.org Reporter: basilicofresco@gmail.com Classification: Unclassified Mobile Platform: ---
At the moment you do not get any error message when you try to change a page with replace.py and the spam filter blocks your edit.
For example writing...
replace.py "htttp" "http" -page:"Clinique makeup" -lang:en
The edit will not be saved but you will get:
1 page was changed. Updating page [[Clinique makeup]] via API
The variable "error" at line 10317 in wikipedia.py is None, but should be SpamfilterError.
version.py: Pywikibot: [https] r/pywikibot/compat (r10829, 5b8f363, 2014/02/02, 13:13:58, ok) Release version: 1.0b1 Python: 2.7.3 (default, Apr 10 2012, 23:31:26) [MSC v.1500 32 bit (Intel)] config-settings: use_api = True use_api_login = True unicode test: ok