Merge "Add $revision to TitleMoveCompleting for completeness"
This commit is contained in:
commit
92a481e8a2
2 changed files with 4 additions and 2 deletions
|
|
@ -3040,7 +3040,7 @@ $user: user who does the move
|
|||
$pageid: database ID of the page that's been moved
|
||||
$redirid: database ID of the created redirect
|
||||
$reason: reason for the move
|
||||
$revision: the revision created by the move
|
||||
$revision: the Revision created by the move
|
||||
|
||||
'TitleMoveCompleting': After moving an article (title), pre-commit.
|
||||
$old: old title
|
||||
|
|
@ -3049,6 +3049,7 @@ $user: user who did the move
|
|||
$pageid: database ID of the page that's been moved
|
||||
$redirid: database ID of the created redirect
|
||||
$reason: reason for the move
|
||||
$revision: the Revision created by the move
|
||||
|
||||
'TitleQuickPermissions': Called from Title::checkQuickPermissions to add to
|
||||
or override the quick permissions check.
|
||||
|
|
|
|||
|
|
@ -371,7 +371,8 @@ class MovePage {
|
|||
|
||||
Hooks::run(
|
||||
'TitleMoveCompleting',
|
||||
array( $this->oldTitle, $this->newTitle, $user, $pageid, $redirid, $reason )
|
||||
array( $this->oldTitle, $this->newTitle,
|
||||
$user, $pageid, $redirid, $reason, $nullRevision )
|
||||
);
|
||||
|
||||
$dbw->endAtomic( __METHOD__ );
|
||||
|
|
|
|||
Loading…
Reference in a new issue