MediaWiki REL1_39
|
This is a hook handler interface, see docs/Hooks.md. More...
Public Member Functions | |
onArticleDeleteComplete ( $wikiPage, $user, $reason, $id, $content, $logEntry, $archivedRevisionCount) | |
This hook is called after an article is deleted. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "ArticleDeleteComplete" to register handlers implementing this interface.
Definition at line 18 of file ArticleDeleteCompleteHook.php.
MediaWiki\Page\Hook\ArticleDeleteCompleteHook::onArticleDeleteComplete | ( | $wikiPage, | |
$user, | |||
$reason, | |||
$id, | |||
$content, | |||
$logEntry, | |||
$archivedRevisionCount ) |
This hook is called after an article is deleted.
WikiPage | $wikiPage | WikiPage that was deleted |
User | $user | User that deleted the article |
string | $reason | Reason the article was deleted |
int | $id | ID of the article that was deleted |
Content | null | $content | Content of the deleted page (or null, when deleting a broken page) |
ManualLogEntry | $logEntry | ManualLogEntry used to record the deletion |
int | $archivedRevisionCount | Number of revisions archived during the deletion |
Implemented in MediaWiki\HookContainer\HookRunner.