MediaWiki REL1_39
|
This is a hook handler interface, see docs/Hooks.md. More...
Public Member Functions | |
onRollbackComplete ( $wikiPage, $user, $revision, $current) | |
After an article rollback is completed. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "RollbackComplete" to register handlers implementing this interface.
Definition at line 16 of file RollbackCompleteHook.php.
MediaWiki\Page\Hook\RollbackCompleteHook::onRollbackComplete | ( | $wikiPage, | |
$user, | |||
$revision, | |||
$current ) |
After an article rollback is completed.
WikiPage | $wikiPage | the WikiPage that was edited |
UserIdentity | $user | UserIdentity for the user who did the rollback |
RevisionRecord | $revision | RevisionRecord for the revision the page was reverted back to |
RevisionRecord | $current | RevisionRecord for the reverted revision |
Implemented in MediaWiki\HookContainer\HookRunner.