MediaWiki master
ArticleDeleteCompleteHook.php
Go to the documentation of this file.
1<?php
2
3namespace MediaWiki\Page\Hook;
4
5use Content;
8use WikiPage;
9
34 public function onArticleDeleteComplete( $wikiPage, $user, $reason, $id,
35 $content, $logEntry, $archivedRevisionCount
36 );
37}
Class for creating new log entries and inserting them into the database.
internal since 1.36
Definition User.php:93
Base representation for an editable wiki page.
Definition WikiPage.php:79
Base interface for representing page content.
Definition Content.php:37
This is a hook handler interface, see docs/Hooks.md.
onArticleDeleteComplete( $wikiPage, $user, $reason, $id, $content, $logEntry, $archivedRevisionCount)
This hook is called after an article is deleted.