Manual:Hooks/getUserPermissionsErrors

Details

 * $title: Title object being checked against
 * $user : Current user object
 * $action: Action being checked
 * &$result: User permissions error to add. If none, return true. $result can be returned as a single error message string, or an array of error messages of multiple messages are needed.