MediaWiki master
|
This is a hook handler interface, see docs/Hooks.md. More...
Inherited by MediaWiki\HookContainer\HookRunner.
Public Member Functions | |
onPageDeleteComplete (ProperPageIdentity $page, Authority $deleter, string $reason, int $pageID, RevisionRecord $deletedRev, ManualLogEntry $logEntry, int $archivedRevisionCount) | |
This hook is called after a page is deleted. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "PageDeleteComplete" to register handlers implementing this interface.
Definition at line 17 of file PageDeleteCompleteHook.php.
MediaWiki\Page\Hook\PageDeleteCompleteHook::onPageDeleteComplete | ( | ProperPageIdentity | $page, |
Authority | $deleter, | ||
string | $reason, | ||
int | $pageID, | ||
RevisionRecord | $deletedRev, | ||
ManualLogEntry | $logEntry, | ||
int | $archivedRevisionCount ) |
This hook is called after a page is deleted.
ProperPageIdentity | $page | Page that was deleted. This object represents state before deletion (e.g. $page->exists() will return true). |
Authority | $deleter | Who deleted the page |
string | $reason | Reason the page was deleted |
int | $pageID | ID of the page that was deleted |
RevisionRecord | $deletedRev | Last revision of the deleted page |
ManualLogEntry | $logEntry | ManualLogEntry used to record the deletion |
int | $archivedRevisionCount | Number of revisions archived during the deletion |
Implemented in MediaWiki\HookContainer\HookRunner.