mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/ReplaceText
synced 2024-11-15 10:59:28 +00:00
Changed edits to be minor edits
This commit is contained in:
parent
c697c88248
commit
c76f4da24b
Notes:
Yaron Koren
2009-07-20 18:49:29 +00:00
|
@ -44,7 +44,8 @@ class ReplaceTextJob extends Job {
|
|||
global $wgUser;
|
||||
$wgUser = User::newFromId($this->params['user_id']);
|
||||
$edit_summary = $this->params['edit_summary'];
|
||||
$article->doEdit($new_text, $edit_summary);
|
||||
$flags = EDIT_MINOR;
|
||||
$article->doEdit($new_text, $edit_summary, $flags);
|
||||
}
|
||||
wfProfileOut( __METHOD__.'-replace' );
|
||||
wfProfileOut( __METHOD__ );
|
||||
|
|
Loading…
Reference in a new issue