MediaWiki  master
MediaWiki\Auth\Hook\ExemptFromAccountCreationThrottleHook Interface Reference

This is a hook handler interface, see docs/Hooks.md. More...

Inheritance diagram for MediaWiki\Auth\Hook\ExemptFromAccountCreationThrottleHook:

Public Member Functions

 onExemptFromAccountCreationThrottle ( $ip)
 Use this hook to add an exemption from the account creation throttle. More...
 

Detailed Description

This is a hook handler interface, see docs/Hooks.md.

Use the hook name "ExemptFromAccountCreationThrottle" to register handlers implementing this interface.

Stable to implement

Definition at line 12 of file ExemptFromAccountCreationThrottleHook.php.

Member Function Documentation

◆ onExemptFromAccountCreationThrottle()

MediaWiki\Auth\Hook\ExemptFromAccountCreationThrottleHook::onExemptFromAccountCreationThrottle (   $ip)

Use this hook to add an exemption from the account creation throttle.

Since
1.35
Parameters
string$ipIP address of the user
Returns
bool|void True or no return value to continue or false to abort

Implemented in MediaWiki\HookContainer\HookRunner.


The documentation for this interface was generated from the following file: