MediaWiki REL1_35
MediaWiki\Hook\WatchArticleCompleteHook Interface Reference

Stable to implement. More...

Inheritance diagram for MediaWiki\Hook\WatchArticleCompleteHook:

Public Member Functions

 onWatchArticleComplete ( $user, $page)
 This hook is called after a watch is added to an article.
 

Detailed Description

Stable to implement.

Definition at line 12 of file WatchArticleCompleteHook.php.

Member Function Documentation

◆ onWatchArticleComplete()

MediaWiki\Hook\WatchArticleCompleteHook::onWatchArticleComplete (   $user,
  $page 
)

This hook is called after a watch is added to an article.

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