Talk:How To Use Replace Text

From Drunkapedia
Jump to: navigation, search

Modification

This modification to /extensions/ReplaceText/ReplaceTextJob.php 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;
  }