MediaWiki REL1_37
MediaWiki\Hook\UnwatchArticleCompleteHook Interface Reference

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

Inheritance diagram for MediaWiki\Hook\UnwatchArticleCompleteHook:

Public Member Functions

 onUnwatchArticleComplete ( $user, $page)
 This hook is called after a watch is removed from an article.
 

Detailed Description

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

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

Stability: stable
to implement

Definition at line 15 of file UnwatchArticleCompleteHook.php.

Member Function Documentation

◆ onUnwatchArticleComplete()

MediaWiki\Hook\UnwatchArticleCompleteHook::onUnwatchArticleComplete (   $user,
  $page 
)

This hook is called after a watch is removed from an article.

Since
1.35
Parameters
User$userUser that watched
WikiPage$pageWikiPage object that was watched
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: