MediaWiki REL1_37
PageDeleteCompleteHook.php
Go to the documentation of this file.
1<?php
2
3namespace MediaWiki\Page\Hook;
4
9
32 public function onPageDeleteComplete(
34 Authority $deleter,
35 string $reason,
36 int $pageID,
37 RevisionRecord $deletedRev,
38 ManualLogEntry $logEntry,
39 int $archivedRevisionCount
40 );
41}
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 objects representing a page that is (or could be, or used to be) an editable page on a ...
This interface represents the authority associated the current execution context, such as a web reque...
Definition Authority.php:37