MediaWiki master
|
This is a hook handler interface, see docs/Hooks.md. More...
Inherited by MediaWiki\HookContainer\HookRunner.
Public Member Functions | |
onPageMoveComplete ( $old, $new, $user, $pageid, $redirid, $reason, $revision) | |
This hook is called after moving an article (title), post-commit. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "PageMoveComplete" to register handlers implementing this interface.
Definition at line 16 of file PageMoveCompleteHook.php.
MediaWiki\Hook\PageMoveCompleteHook::onPageMoveComplete | ( | $old, | |
$new, | |||
$user, | |||
$pageid, | |||
$redirid, | |||
$reason, | |||
$revision ) |
This hook is called after moving an article (title), post-commit.
LinkTarget | $old | Old title |
LinkTarget | $new | New title |
UserIdentity | $user | User who did the move |
int | $pageid | Database ID of the page that's been moved |
int | $redirid | Database ID of the created redirect |
string | $reason | Reason for the move |
RevisionRecord | $revision | RevisionRecord created by the move |
Implemented in MediaWiki\HookContainer\HookRunner.