Talk:How To Use Replace Text

Modification
This modification forces the bot flag to be respected so that bot edits do not display in the recent changes (unless the Show Bots option is selected).

$flags = EDIT_MINOR;

CHANGED TO

if ($wgUser->isAllowed('bot')) { $flags = EDIT_MINOR | EDIT_FORCE_BOT; } else { $flags = EDIT_MINOR; }