MediaWiki REL1_39
MediaWiki\User\Hook\UserGetReservedNamesHook Interface Reference

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

Inheritance diagram for MediaWiki\User\Hook\UserGetReservedNamesHook:

Public Member Functions

 onUserGetReservedNames (&$reservedUsernames)
 Use this hook to modify $wgReservedUsernames at run time.
 

Detailed Description

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

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

Stability: stable
to implement

Definition at line 12 of file UserGetReservedNamesHook.php.

Member Function Documentation

◆ onUserGetReservedNames()

MediaWiki\User\Hook\UserGetReservedNamesHook::onUserGetReservedNames ( & $reservedUsernames)

Use this hook to modify $wgReservedUsernames at run time.

Since
1.35
Parameters
array&$reservedUsernames$wgReservedUsernames
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: