MediaWiki REL1_39
MediaWiki\Page\Hook\ArticleConfirmDeleteHook Interface Reference

This is a hook handler interface, see docs/Hooks.md. More...

Inheritance diagram for MediaWiki\Page\Hook\ArticleConfirmDeleteHook:

Public Member Functions

 onArticleConfirmDelete ( $article, $output, &$reason)
 This hook is called before writing the confirmation form for article deletion.
 

Detailed Description

This is a hook handler interface, see docs/Hooks.md.

Use the hook name "ArticleConfirmDelete" to register handlers implementing this interface.

Stability: stable
to implement

Definition at line 15 of file ArticleConfirmDeleteHook.php.

Member Function Documentation

◆ onArticleConfirmDelete()

MediaWiki\Page\Hook\ArticleConfirmDeleteHook::onArticleConfirmDelete ( $article,
$output,
& $reason )

This hook is called before writing the confirmation form for article deletion.

Since
1.35
Parameters
Article$articleArticle being deleted
OutputPage$output
string&$reasonReason the article is being deleted
Returns
bool|void True or no return value to continue or false to abort

Implemented in MediaWiki\HookContainer\HookRunner.


The documentation for this interface was generated from the following file: