< Manual:Hooks
| ArticleDeleteAfterSuccess | |
|---|---|
| Available from version 1.25.0 (Gerrit change 170530) Output after an article has been deleted | |
| Define function: | public static function onArticleDeleteAfterSuccess( Title $title, OutputPage $output ) { ... }
|
| Attach hook: | In extension.json:
{
"Hooks": {
"ArticleDeleteAfterSuccess": "MyExtensionHooks::onArticleDeleteAfterSuccess"
}
}
|
| Called from: | File(s): page/Article.php Function(s): doDelete |
| Interface: | ArticleDeleteAfterSuccessHook.php |
For more information about attaching hooks, see Manual:Hooks.
For examples of extensions using this hook, see Category:ArticleDeleteAfterSuccess extensions.
Details
$title: Title object of the article that has been deleted.$outputPage: OutputPage object that can be used to append the output.
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.