Page MenuHomePhabricator

SpamFilter error not raising
Closed, ResolvedPublic

Description

Originally from: http://sourceforge.net/p/pywikipediabot/bugs/1217/
Reported by: betacommand
Created on: 2010-08-06 00:04:04
Subject: SpamFilter error not raising
Original description:
this is related to https://sourceforge.net/tracker/?func=detail&aid=3028176&group\_id=93107&atid=603138 pywikipedia quietly fails when triggering the spam filter
\{u'edit': \{u'spamblacklist': u'http://www.gamerbrain.net', u'result': u'Failure'\}\}
is one example of the returned tuple either the API changed or someone broke something

Python 2.6.5 \(r265:79063, Apr 16 2010, 13:09:56\)
\[GCC 4.4.3\]
config-settings:
use\_api = True
use\_api\_login = True


Version: core-(2.0)
Severity: normal
See Also:
https://sourceforge.net/p/pywikipediabot/bugs/1217
https://bugzilla.wikimedia.org/show_bug.cgi?id=55268

Details

Reference
bz55264

Event Timeline

• bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 2:30 AM
• bzimport set Reference to bz55264.
• bzimport added a subscriber: Unknown Object (????).

Change 154992 had a related patch set uploaded by John Vandenberg:
SpamfilterError does not work

https://gerrit.wikimedia.org/r/154992

Change 141398 had a related patch set uploaded by John Vandenberg:
Page save related exception hierarchy

https://gerrit.wikimedia.org/r/141398

Change 141398 merged by XZise:
Page save related exception hierarchy

https://gerrit.wikimedia.org/r/141398

Change 154992 abandoned by John Vandenberg:
SpamfilterError does not work

Reason:
Shit; this changeset should have been merged before Id8b8c8 (mentioned in comment on Aug 19 7:20 PM), which also included the fixed version.

http://git.wikimedia.org/blobdiff/pywikibot%2Fcore.git/c07c8da00cef8e189762ccf4f46422f6bb6f5d5f/pywikibot%2Fsite.py#L3541

https://gerrit.wikimedia.org/r/154992