Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4075712
UserIsBotHook.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
597 B
Referenced Files
None
Subscribers
None
UserIsBotHook.php
View Options
<?php
namespace
MediaWiki\User\Hook
;
use
MediaWiki\User\User
;
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "UserIsBot" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface
UserIsBotHook
{
/**
* Use this hook to establish whether a user is a bot account.
*
* @since 1.35
*
* @param User $user
* @param bool &$isBot Whether this is user a bot or not (boolean)
* @return bool|void True or no return value to continue or false to abort
*/
public
function
onUserIsBot
(
$user
,
&
$isBot
);
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Aug 17 2026, 19:10 (10 w, 17 h ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
e6/1b/9dfa3bd36c6a395559246f80af2e
Default Alt Text
UserIsBotHook.php (597 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment