I think that Pywikibot's save method should allow explicit overriding of a warning raised by abuse filter. It shouldn't be the default state, but it should be possible. Anyway, having a bot regulary hitting AF isn't a good idea - talk with an admin of your wiki. 

On Czech Wikipedia, filters that would be hit by archivebot has exception, generally !"bot" in user_groups.  This allows cs.wiki to warn users that may or may not know what is happening and allow bots to do their maintenance work without being warned because their operators are expected to know what is ok and what is not. 

Cheers, 
Martin

ne 3. 6. 2018 v 13:49 odesílatel billinghurst <billinghurstwiki@gmail.com> napsal:
I believe that the abuse filter should be changed to allow the bot to
edit.

The bot doesn't know whether this is a warning, and or disallow action,
nor to know the consequences of hitting the filter for a second time,
and expecting a bot to navigate a false positive on a wiki is not
reasonable.

-- billinghurst

------ Original Message ------
From: "Yusuke Matsubara" <whym@whym.org>
To: "Pywikibot discussion list" <pywikibot@lists.wikimedia.org>
Sent: 3/06/2018 9:45:39 PM
Subject: Re: [pywikibot] Archivebot fails on abuse filter

>Hi,
>
>I believe in this case we should somehow implement 'press Save again'
>in the bot. I don't know if the MediaWiki API allows this, but if not,
>I think it should be added (to the AbuseFilter extension?).
>
>If the edit was 'blocked' by an abuse filter, things would be more
>complicated because we would definitely need an admin to look at the
>case (and thus need for notification).
>
>>A village pump in Hungarian Wikipedia had not been archived for a long
>>time before we noticed it.
>>It just silently failed, with logging being the only action.
>
>I think how to notify the interested parties of archiving failures is
>a general issue, not just for failures related to abuse filters. I
>created a Phabricator task for that a while ago. [2]
>
>Best,
>Yusuke
>
>On Sun, Jun 3, 2018 at 4:07 PM, Bináris <wikiposta@gmail.com> wrote:
>>A village pump in Hungarian Wikipedia had not been archived for a long
>>time
>>before we noticed it.
>>Investigation showed that the bot had hit a warning-type abuse filter
>>upon
>>copying the text to archive and saving. In this case the abuse filter
>>displays a warning and lets the user press Save again if he/she wants
>>to do
>>it anyway.
>>Of course, the archivebot
>>
>>did not save the page for the second time (could it?)
>>did not pass the problematic section and archive the remainder
>>did not let the owner know about the problem.
>>
>>It just silently failed, with logging being the only action.
>>
>>So what would the desired behaviour be in a similar case? Please keep
>>in
>>mind that archivebot is tyoically run with cron or other timing, not
>>in
>>interactive mode.
>>
>>
>>To see the log click on https://tools.wmflabs.org/ato/log/archive.txt
>>and
>>ctrl f for
>>
>>ERROR: editpage: abusefilter-warning
>>
>>
>>--
>>Bináris
>>
>>_______________________________________________
>>pywikibot mailing list
>>pywikibot@lists.wikimedia.org
>>https://lists.wikimedia.org/mailman/listinfo/pywikibot
>>
>
>_______________________________________________
>pywikibot mailing list
>pywikibot@lists.wikimedia.org
>https://lists.wikimedia.org/mailman/listinfo/pywikibot


_______________________________________________
pywikibot mailing list
pywikibot@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot