MediaWiki REL1_37
|
This is a hook handler interface, see docs/Hooks.md. More...
Public Member Functions | |
onPageMoveCompleting ( $old, $new, $user, $pageid, $redirid, $reason, $revision) | |
This hook is called after moving an article (title), pre-commit. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "PageMoveCompleting" to register handlers implementing this interface.
Definition at line 16 of file PageMoveCompletingHook.php.
MediaWiki\Hook\PageMoveCompletingHook::onPageMoveCompleting | ( | $old, | |
$new, | |||
$user, | |||
$pageid, | |||
$redirid, | |||
$reason, | |||
$revision | |||
) |
This hook is called after moving an article (title), pre-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.