(bug 18001) Rollback of null edit should restore flag
This commit is contained in:
parent
04b22818bf
commit
fe2717522d
2 changed files with 2 additions and 1 deletions
|
|
@ -441,6 +441,7 @@ $isWatch: (No longer used)
|
|||
$section: (No longer used)
|
||||
$flags: Flags passed to Article::doEdit()
|
||||
$revision: New Revision of the article
|
||||
$baseRevId: the rev ID (or false) this edit was based on
|
||||
|
||||
'ArticleUndelete': When one or more revisions of an article are restored
|
||||
$title: Title corresponding to the article restored
|
||||
|
|
|
|||
|
|
@ -1771,7 +1771,7 @@ class Article {
|
|||
$status->value['revision'] = $revision;
|
||||
|
||||
wfRunHooks( 'ArticleSaveComplete', array( &$this, &$user, $text, $summary,
|
||||
$flags & EDIT_MINOR, null, null, &$flags, $revision, &$status ) );
|
||||
$flags & EDIT_MINOR, null, null, &$flags, $revision, &$status, $baseRevId ) );
|
||||
|
||||
wfProfileOut( __METHOD__ );
|
||||
return $status;
|
||||
|
|
|
|||
Loading…
Reference in a new issue