MediaWiki REL1_35
UserIsBlockedFromHook.php
Go to the documentation of this file.
1<?php
2
4
5use Title;
6use User;
7
26 public function onUserIsBlockedFrom( $user, $title, &$blocked, &$allowUsertalk );
27}
Represents a title within MediaWiki.
Definition Title.php:42
The User object encapsulates all of the user-specific settings (user_id, name, rights,...
Definition User.php:60
onUserIsBlockedFrom( $user, $title, &$blocked, &$allowUsertalk)
Use this hook to check if a user is blocked from a specific page (for specific block exemptions if a ...