MediaWiki
master
ChangeTagCanDeleteHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\ChangeTags\Hook
;
4
5
use
MediaWiki\Status\Status
;
6
use
MediaWiki\User\User
;
7
15
interface
ChangeTagCanDeleteHook
{
31
public
function
onChangeTagCanDelete
( $tag, $user, &$status );
32
}
MediaWiki\Status\Status
Generic operation result class Has warning/error list, boolean status and arbitrary value.
Definition
Status.php:54
MediaWiki\User\User
User class for the MediaWiki software.
Definition
User.php:119
MediaWiki\ChangeTags\Hook\ChangeTagCanDeleteHook
This is a hook handler interface, see docs/Hooks.md.
Definition
ChangeTagCanDeleteHook.php:15
MediaWiki\ChangeTags\Hook\ChangeTagCanDeleteHook\onChangeTagCanDelete
onChangeTagCanDelete( $tag, $user, &$status)
Use this hook to tell whether a change tag should be able to be deleted from the UI (Special:Tags) or...
MediaWiki\ChangeTags\Hook
Definition
ChangeTagAfterDeleteHook.php:3
includes
changetags
Hook
ChangeTagCanDeleteHook.php
Generated on Thu Feb 13 2025 11:24:04 for MediaWiki by
1.10.0