< Manual:Hooks
UnwatchArticleComplete | |
---|---|
Available from version 1.4.0 Occurs after the unwatch article request has been processed | |
Define function: | public static function onUnwatchArticleComplete( $user, $article ) { ... }
|
Attach hook: | In extension.json:
{
"Hooks": {
"UnwatchArticleComplete": "MyExtensionHooks::onUnwatchArticleComplete"
}
}
|
Called from: | File(s): fix/Article.php |
Interface: | UnwatchArticleCompleteHook.php |
For more information about attaching hooks, see Manual:Hooks
For examples of extensions using this hook, see Category:UnwatchArticleComplete extensions.
Details
- $user: user that was watching
- $article: article object removed
See also
- WatchArticle
- WatchArticleComplete
- UnwatchArticle
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.