MediaWiki
REL1_40
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
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:56
OutputPage
This is one of the Core classes and should be read at least once by any new developers.
Definition
OutputPage.php:60
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 Thu Jun 27 2024 14:03:29 for MediaWiki by
1.10.0