Update cleanupSpam.php to hide its activity from RecentChanges
authorMarcoAurelio <maurelio@tools.wmflabs.org>
Tue, 19 Sep 2017 20:26:14 +0000 (22:26 +0200)
committerLegoktm <legoktm@member.fsf.org>
Fri, 29 Sep 2017 05:28:49 +0000 (05:28 +0000)
commit7f842058602c2bb2358abb9e3228b156bd04fc7a
tree71ca43d02b973e5a5d5dcf28da3763ff0ee8c01d
parentc80e445ecfc872681364304c6c667ce7ccfea109
Update cleanupSpam.php to hide its activity from RecentChanges

Spam cleanup activities, mostly when it comes from automated processes
(the so called 'spambots') can involve a fair ammount of edits and log
actions to accomplish.

As such, to avoid flooding Special:RecentChanges, this script will now
set a bot flag on the script run so its edits and actions won't show
up in that special page.

To prepare this patch I had the help of Bartosz Dziewoński which I'd
also like to thank and I'll credit as co-author as well.

Bug: T176206
Co-Authored-By: Bartosz Dziewoński <matma.rex@gmail.com>
Change-Id: Ifde08056a7481b877b4b82699cc0a5ea3f962dd9
maintenance/cleanupSpam.php