MediaWiki  master
ArticleDeleteCompleteHook.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Page\Hook;
4 
5 use Content;
7 use User;
8 use WikiPage;
9 
33  public function onArticleDeleteComplete( $wikiPage, $user, $reason, $id,
34  $content, $logEntry, $archivedRevisionCount
35  );
36 }
WikiPage
Class representing a MediaWiki article and history.
Definition: WikiPage.php:62
Page::Hook\ArticleDeleteCompleteHook
This is a hook handler interface, see docs/Hooks.md.
Definition: ArticleDeleteCompleteHook.php:18
Page::Hook\ArticleDeleteCompleteHook\onArticleDeleteComplete
onArticleDeleteComplete( $wikiPage, $user, $reason, $id, $content, $logEntry, $archivedRevisionCount)
This hook is called after an article is deleted.
$content
$content
Definition: router.php:76
Content
Base interface for content objects.
Definition: Content.php:35
ManualLogEntry
Class for creating new log entries and inserting them into the database.
Definition: ManualLogEntry.php:44
User
The User object encapsulates all of the user-specific settings (user_id, name, rights,...
Definition: User.php:67
MediaWiki\Page\Hook
Definition: Article__MissingArticleConditionsHook.php:3