MediaWiki
REL1_35
ChangeTagCanDeleteHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\ChangeTags\Hook
;
4
5
use
Status
;
6
use
User
;
7
12
interface
ChangeTagCanDeleteHook
{
28
public
function
onChangeTagCanDelete
( $tag, $user, &$status );
29
}
Status
Generic operation result class Has warning/error list, boolean status and arbitrary value.
Definition
Status.php:44
User
The User object encapsulates all of the user-specific settings (user_id, name, rights,...
Definition
User.php:60
MediaWiki\ChangeTags\Hook\ChangeTagCanDeleteHook
Stable to implement.
Definition
ChangeTagCanDeleteHook.php:12
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 Sat Apr 6 2024 00:07:00 for MediaWiki by
1.9.8