MediaWiki  master
WatchArticleCompleteHook.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Hook;
4 
5 use User;
6 use WikiPage;
7 
25  public function onWatchArticleComplete( $user, $page );
26 }
MediaWiki\Hook
Definition: ActionBeforeFormDisplayHook.php:3
WikiPage
Class representing a MediaWiki article and history.
Definition: WikiPage.php:55
MediaWiki\Hook\WatchArticleCompleteHook
This is a hook handler interface, see docs/Hooks.md.
Definition: WatchArticleCompleteHook.php:15
MediaWiki\Hook\WatchArticleCompleteHook\onWatchArticleComplete
onWatchArticleComplete( $user, $page)
This hook is called after a watch is added to an article.
User
The User object encapsulates all of the user-specific settings (user_id, name, rights,...
Definition: User.php:56