Talk:How To Use Replace Text: Difference between revisions
From Drunkapedia
imported>Tlosk's Bot (Created page with '== 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). <pre> …') |
imported>Tlosk m (→Modification) |
||
Line 1: | Line 1: | ||
== Modification == | == 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). | 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). | ||
<pre> | <pre> |
Revision as of 06:25, 27 July 2009
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; }