MediaWiki REL1_37
|
This is a hook handler interface, see docs/Hooks.md. More...
Public Member Functions | |
onUnwatchArticle ( $user, $page, &$status) | |
This hook is called before a watch is removed from an article. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "UnwatchArticle" to register handlers implementing this interface.
Definition at line 16 of file UnwatchArticleHook.php.
MediaWiki\Hook\UnwatchArticleHook::onUnwatchArticle | ( | $user, | |
$page, | |||
& | $status | ||
) |
This hook is called before a watch is removed from an article.
User | $user | User watching |
WikiPage | $page | WikiPage object to be removed |
Status | &$status | Status object to be returned if the hook returns false |
Implemented in MediaWiki\HookContainer\HookRunner.