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