MediaWiki master
PageDeleteCompleteHook.php
Go to the documentation of this file.
1<?php
2
3namespace MediaWiki\Page\Hook;
4
9
33 public function onPageDeleteComplete(
35 Authority $deleter,
36 string $reason,
37 int $pageID,
38 RevisionRecord $deletedRev,
39 ManualLogEntry $logEntry,
40 int $archivedRevisionCount
41 );
42}
Class for creating new log entries and inserting them into the database.
Page revision base class.
This is a hook handler interface, see docs/Hooks.md.
onPageDeleteComplete(ProperPageIdentity $page, Authority $deleter, string $reason, int $pageID, RevisionRecord $deletedRev, ManualLogEntry $logEntry, int $archivedRevisionCount)
This hook is called after a page is deleted.
Interface for a page that is (or could be, or used to be) an editable wiki page.
This interface represents the authority associated with the current execution context,...
Definition Authority.php:37