MediaWiki REL1_35
MediaWiki\Page\Hook\ArticleConfirmDeleteHook Interface Reference

Stable to implement. 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

Stable to implement.

Definition at line 12 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: