Thread:Project:Support desk/How to hide delete articles in recent changes?/reply (2)

The way I do this is to modify the recent changes table in the database. Here, you can do a few different things:


 * Mark the individual edit as a bot edit. This will hide the edit, even if they weren't actually a bot. community who like you to be transparent)
 * Manually edit the summary to remove the spam link
 * Delete the whole RecentChanges entry for the spam (not recommended if your wiki has a large

Personally, I run a script that marks ALL deletions and blocks as bot edits, because they're very frequent and not important (due to spam), so it's better to let users see just the real edits when they go to Recent Changes. They can still click 'show bots' to include these edits.

The SQL for this is:

UPDATE recentchanges SET `rc_bot` = 1 WHERE `rc_log_action` = 'delete' OR `rc_log_action` = 'block';