Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F1429046
WatchArticleCompleteHook.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
635 B
Referenced Files
None
Subscribers
None
WatchArticleCompleteHook.php
View Options
<?php
namespace
MediaWiki\Hook
;
use
MediaWiki\User\User
;
use
WikiPage
;
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "WatchArticleComplete" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface
WatchArticleCompleteHook
{
/**
* This hook is called after a watch is added to an article.
*
* @since 1.35
*
* @param User $user User that watched
* @param WikiPage $page WikiPage object watched
* @return bool|void True or no return value to continue or false to abort
*/
public
function
onWatchArticleComplete
(
$user
,
$page
);
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, May 16, 16:59 (10 h, 41 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
9d/00/d0d5bca0c0b0f39808075ccfeb31
Default Alt Text
WatchArticleCompleteHook.php (635 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment