MediaWiki REL1_39
MediaWiki\Hook\ImportHandleUnknownUserHook Interface Reference

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

Inheritance diagram for MediaWiki\Hook\ImportHandleUnknownUserHook:

Public Member Functions

 onImportHandleUnknownUser ( $name)
 When a user doesn't exist locally, use this hook to auto-create it.
 

Detailed Description

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

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

Stability: stable
to implement

Definition at line 12 of file ImportHandleUnknownUserHook.php.

Member Function Documentation

◆ onImportHandleUnknownUser()

MediaWiki\Hook\ImportHandleUnknownUserHook::onImportHandleUnknownUser ( $name)

When a user doesn't exist locally, use this hook to auto-create it.

Since
1.35
Parameters
string$nameUsername
Returns
bool|void True or no return value to continue. If the auto-creation is successful, return false.

Implemented in MediaWiki\HookContainer\HookRunner.


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