MediaWiki
master
UnwatchArticleHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Hook
;
4
5
use
MediaWiki\Status\Status
;
6
use
MediaWiki\User\User
;
7
use
WikiPage
;
8
16
interface
UnwatchArticleHook
{
28
public
function
onUnwatchArticle
( $user, $page, &$status );
29
}
MediaWiki\Status\Status
Generic operation result class Has warning/error list, boolean status and arbitrary value.
Definition
Status.php:54
MediaWiki\User\User
internal since 1.36
Definition
User.php:93
WikiPage
Base representation for an editable wiki page.
Definition
WikiPage.php:85
MediaWiki\Hook\UnwatchArticleHook
This is a hook handler interface, see docs/Hooks.md.
Definition
UnwatchArticleHook.php:16
MediaWiki\Hook\UnwatchArticleHook\onUnwatchArticle
onUnwatchArticle( $user, $page, &$status)
This hook is called before a watch is removed from an article.
MediaWiki\Hook
Definition
ActionBeforeFormDisplayHook.php:3
includes
actions
Hook
UnwatchArticleHook.php
Generated on Sun Dec 8 2024 17:22:42 for MediaWiki by
1.10.0