Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F5984134
UnwatchArticleHook.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
776 B
Referenced Files
None
Subscribers
None
UnwatchArticleHook.php
View Options
<?php
namespace
MediaWiki\Hook
;
use
MediaWiki\Status\Status
;
use
MediaWiki\User\User
;
use
WikiPage
;
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "UnwatchArticle" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface
UnwatchArticleHook
{
/**
* This hook is called before a watch is removed from an article.
*
* @since 1.35
*
* @param User $user User watching
* @param WikiPage $page WikiPage object to be removed
* @param Status &$status Status object to be returned if the hook returns false
* @return bool|void True or no return value to continue or false to abort and
* return Status object
*/
public
function
onUnwatchArticle
(
$user
,
$page
,
&
$status
);
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, Oct 3, 23:12 (2 w, 1 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
2b/78/239aae0c4c6549a7972e2bd6e4f1
Default Alt Text
UnwatchArticleHook.php (776 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment