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 }
The User object encapsulates all of the user-specific settings (user_id, name, rights,...
Definition: User.php:70
Base representation for an editable wiki page.
Definition: WikiPage.php:72
This is a hook handler interface, see docs/Hooks.md.
onWatchArticleComplete( $user, $page)
This hook is called after a watch is added to an article.