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]
Sorry, I forgot the link: [2]
https://phabricator.wikimedia.org/T124407
(and there was no [1].)
Best,
Yusuke
On Sun, Jun 3, 2018 at 8:45 PM, Yusuke Matsubara <whym(a)whym.org> wrote:
> 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(a)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(a)lists.wikimedia.org
>>
https://lists.wikimedia.org/mailman/listinfo/pywikibot
>>