Changed edits to be minor edits

This commit is contained in:
Yaron Koren 2008-05-27 15:45:51 +00:00
parent c697c88248
commit c76f4da24b
Notes: Yaron Koren 2009-07-20 18:49:29 +00:00

View file

@ -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__ );