Talk:How To Use Replace Text

Revision as of 12:25, 27 July 2009 by 127.0.0.1 (talk) (→‎Modification)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Modification Edit

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;
  }