MediaWiki  master
ChangeTagCanCreateHook.php
Go to the documentation of this file.
1 <?php
2 
4 
5 use Status;
6 use User;
7 
27  public function onChangeTagCanCreate( $tag, $user, &$status );
28 }
MediaWiki\ChangeTags\Hook\ChangeTagCanCreateHook
Stable to implement.
Definition: ChangeTagCanCreateHook.php:12
MediaWiki\ChangeTags\Hook\ChangeTagCanCreateHook\onChangeTagCanCreate
onChangeTagCanCreate( $tag, $user, &$status)
Use this hook to tell whether a change tag should be able to be created from the UI (Special:Tags) or...
Status
Generic operation result class Has warning/error list, boolean status and arbitrary value.
Definition: Status.php:44
MediaWiki\ChangeTags\Hook
Definition: ChangeTagAfterDeleteHook.php:3
User
The User object encapsulates all of the user-specific settings (user_id, name, rights,...
Definition: User.php:55