Multichill created this task.
Multichill added a project: Pywikibot.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.

TASK DESCRIPTION
  Another one to check. I recall we had issues with this.
  
  Original email:
  
  When saving an edit is prevented by the AbuseFilter or SpamBlacklist 
extensions, the error is currently reported as a successful API response with a 
'failure' code in the body.[1][2]
  
  In the future, these will be reported as standard API errors.[3][4]
  
  This change should be deployed to Wikimedia wikis with 1.34.0-wmf.23. See 
https://www.mediawiki.org/wiki/MediaWiki_1.34/Roadmap for a schedule.
  
  Clients that do not need to specially handle failures due to AbuseFilter or 
SpamBlacklist will likely need no changes, as they probably already include 
code to generically handle API error responses.
  
  Clients that do handle AbuseFilter or SpamBlacklist failures specially will 
need to be updated to check for error codes 'abusefilter-warning', 
'abusefilter-disallowed', and/or 'spamblacklist' and handle them as they do the 
current AbuseFilter and SpamBlacklist failures, if they want to preserve their 
current special handling.
  
  Note that edit failures due to CAPTCHAs from ConfirmEdit are not being 
changed at this time. They will continue to be reported as before.[5]
  
  [1]: AbuseFilter: https://phabricator.wikimedia.org/P8988
  [2]: SpamBlacklist: https://phabricator.wikimedia.org/P8990
  [3]: AbuseFilter: https://phabricator.wikimedia.org/P8989
  [4]: SpamBlacklist: https://phabricator.wikimedia.org/P8991
  [5]: ConfirmEdit: https://phabricator.wikimedia.org/P9076
  
  -
  
  Brad Jorsch (Anomie)
  Senior Software Engineer
  Wikimedia Foundation

TASK DETAIL
  https://phabricator.wikimedia.org/T233479

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Multichill
Cc: Anomie, Aklapper, pywikibot-bugs-list, Multichill, Viztor, DannyS712, 
Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis, 
mys_721tx, jayvdb, Dalba, Masti, Alchimista, Rxy
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to