MediaWiki  master
MediaWiki\Hook\BeforeWelcomeCreationHook Interface Reference

Stable for implementation. More...

Inheritance diagram for MediaWiki\Hook\BeforeWelcomeCreationHook:

Public Member Functions

 onBeforeWelcomeCreation (&$welcome_creation_msg, &$injected_html)
 This hook is called before the welcomecreation message is displayed to a newly created user. More...
 

Detailed Description

Stable for implementation.

Definition at line 9 of file BeforeWelcomeCreationHook.php.

Member Function Documentation

◆ onBeforeWelcomeCreation()

MediaWiki\Hook\BeforeWelcomeCreationHook::onBeforeWelcomeCreation ( $welcome_creation_msg,
$injected_html 
)

This hook is called before the welcomecreation message is displayed to a newly created user.

Since
1.35
Parameters
string&$welcome_creation_msgMediaWiki message name to display on the welcome screen to a newly created user account.
string&$injected_htmlAny HTML to inject after the "logged in" message of a newly created user account
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: