MediaWiki
REL1_35
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
12
interface
ArticleConfirmDeleteHook
{
24
public
function
onArticleConfirmDelete
( $article, $output, &$reason );
25
}
Article
Class for viewing MediaWiki article and history.
Definition
Article.php:46
OutputPage
This is one of the Core classes and should be read at least once by any new developers.
Definition
OutputPage.php:47
MediaWiki\Page\Hook\ArticleConfirmDeleteHook
Stable to implement.
Definition
ArticleConfirmDeleteHook.php:12
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 Apr 6 2024 00:07:33 for MediaWiki by
1.9.8