MediaWiki REL1_39
|
This is a hook handler interface, see docs/Hooks.md. More...
Public Member Functions | |
onRevisionUndeleted ( $revisionRecord, $oldPageID) | |
After an article revision is restored. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "RevisionUndeleted" to register handlers implementing this interface.
Definition at line 14 of file RevisionUndeletedHook.php.
MediaWiki\Page\Hook\RevisionUndeletedHook::onRevisionUndeleted | ( | $revisionRecord, | |
$oldPageID ) |
After an article revision is restored.
RevisionRecord | $revisionRecord | the RevisionRecord that was restored |
?int | $oldPageID | the page ID of the revision when archived (may be null) |
Implemented in MediaWiki\HookContainer\HookRunner.