|
MediaWiki REL1_35
|
Stable to implement. More...

Public Member Functions | |
| onPageMoveComplete ( $old, $new, $user, $pageid, $redirid, $reason, $revision) | |
| This hook is called after moving an article (title), post-commit. | |
Stable to implement.
Definition at line 13 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 | Revision created by the move |
Implemented in MediaWiki\HookContainer\HookRunner.