|
MediaWiki master
|
This is a hook handler interface, see docs/Hooks.md. More...
Inherited by MediaWiki\HookContainer\HookRunner.
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\Actions\Hook\UnwatchArticleHook::onUnwatchArticle | ( | $user, | |
| $page, | |||
| & | $status ) |
This hook is called before a watch is removed from an article.
| UserIdentity | $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.