MediaWiki REL1_39
MediaWiki\Page\Hook\ArticleDeleteAfterSuccessHook Interface Reference

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

Inheritance diagram for MediaWiki\Page\Hook\ArticleDeleteAfterSuccessHook:

Public Member Functions

 onArticleDeleteAfterSuccess ( $title, $outputPage)
 Use this hook to modify the output after an article has been deleted.
 

Detailed Description

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

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

Stability: stable
to implement

Definition at line 15 of file ArticleDeleteAfterSuccessHook.php.

Member Function Documentation

◆ onArticleDeleteAfterSuccess()

MediaWiki\Page\Hook\ArticleDeleteAfterSuccessHook::onArticleDeleteAfterSuccess ( $title,
$outputPage )

Use this hook to modify the output after an article has been deleted.

Since
1.35
Parameters
Title$titleArticle that has been deleted
OutputPage$outputPageOutputPage that can be used to append the output
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: