MediaWiki REL1_35
MediaWiki\Hook\UnwatchArticleCompleteHook Interface Reference

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

Stable to implement.

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