MediaWiki
REL1_35
WatchArticleCompleteHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Hook
;
4
5
use
User
;
6
use
WikiPage
;
7
12
interface
WatchArticleCompleteHook
{
22
public
function
onWatchArticleComplete
( $user, $page );
23
}
User
The User object encapsulates all of the user-specific settings (user_id, name, rights,...
Definition
User.php:60
WikiPage
Class representing a MediaWiki article and history.
Definition
WikiPage.php:51
MediaWiki\Hook\WatchArticleCompleteHook
Stable to implement.
Definition
WatchArticleCompleteHook.php:12
MediaWiki\Hook\WatchArticleCompleteHook\onWatchArticleComplete
onWatchArticleComplete( $user, $page)
This hook is called after a watch is added to an article.
MediaWiki\Hook
Definition
ActionBeforeFormDisplayHook.php:3
includes
actions
Hook
WatchArticleCompleteHook.php
Generated on Sat Apr 6 2024 00:06:48 for MediaWiki by
1.9.8