Debian Codegraph @

includes/specials/Hook/BeforeWelcomeCreationHook.php

raw symbols SCIP
1 <?php
2
3 namespace MediaWiki\Hook;
4
5 /**
6 * This is a hook handler interface, see docs/Hooks.md.
7 * Use the hook name "BeforeWelcomeCreation" to register handlers implementing this interface.
8 *
9 * @stable to implement
10 * @ingroup Hooks
11 */
12 interface BeforeWelcomeCreationHook {
13 /**
14 * This hook is called before the welcomecreation message is displayed to a newly created user.
15 *
16 * @since 1.35
17 *
18 * @param string &$welcome_creation_msg MediaWiki message name to display on the welcome screen
19 * to a newly created user account.
20 * @param string &$injected_html Any HTML to inject after the "logged in" message of a newly
21 * created user account
22 * @return bool|void True or no return value to continue or false to abort
23 */
24 public function onBeforeWelcomeCreation(
25 &$welcome_creation_msg,
26 &$injected_html
27 );
28 }