MediaWiki  master
GetUserPermissionsErrorsHook.php
Go to the documentation of this file.
1 <?php
2 
4 
6 use Title;
7 use User;
8 
35  public function onGetUserPermissionsErrors( $title, $user, $action, &$result );
36 }
Represents a title within MediaWiki.
Definition: Title.php:52
The User object encapsulates all of the user-specific settings (user_id, name, rights,...
Definition: User.php:70
This is a hook handler interface, see docs/Hooks.md.
onGetUserPermissionsErrors( $title, $user, $action, &$result)
Use this hook to add a permissions error when permissions errors are checked for.