MediaWiki  master
ArticleConfirmDeleteHook.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Page\Hook;
4 
5 use Article;
6 use OutputPage;
7 
27  public function onArticleConfirmDelete( $article, $output, &$reason );
28 }
Page::Hook\ArticleConfirmDeleteHook\onArticleConfirmDelete
onArticleConfirmDelete( $article, $output, &$reason)
This hook is called before writing the confirmation form for article deletion.
Page::Hook\ArticleConfirmDeleteHook
This is a hook handler interface, see docs/Hooks.md.
Definition: ArticleConfirmDeleteHook.php:15
OutputPage
This is one of the Core classes and should be read at least once by any new developers.
Definition: OutputPage.php:50
Article
Class for viewing MediaWiki article and history.
Definition: Article.php:49
MediaWiki\Page\Hook
Definition: Article__MissingArticleConditionsHook.php:3