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
MediaWiki\Output\OutputPage
;
7
15
interface
ArticleConfirmDeleteHook
{
27
public
function
onArticleConfirmDelete
( $article, $output, &$reason );
28
}
Article
Legacy class representing an editable page and handling UI for some page actions.
Definition
Article.php:70
MediaWiki\Output\OutputPage
This is one of the Core classes and should be read at least once by any new developers.
Definition
OutputPage.php:99
MediaWiki\Page\Hook\ArticleConfirmDeleteHook
This is a hook handler interface, see docs/Hooks.md.
Definition
ArticleConfirmDeleteHook.php:15
MediaWiki\Page\Hook\ArticleConfirmDeleteHook\onArticleConfirmDelete
onArticleConfirmDelete( $article, $output, &$reason)
This hook is called before writing the confirmation form for article deletion.
MediaWiki\Page\Hook
Definition
Article__MissingArticleConditionsHook.php:3
includes
page
Hook
ArticleConfirmDeleteHook.php
Generated on Sat Oct 5 2024 13:24:35 for MediaWiki by
1.10.0