MediaWiki REL1_40
|
This is a hook handler interface, see docs/Hooks.md. More...
Inherited by MediaWiki\HookContainer\HookRunner.
Public Member Functions | |
onSpecialCreateAccountBenefits (?string &$html, array $info, array &$options) | |
Replace the default signup page content about the benefits of registering an account ("Wikipedia is made by people like you...") on Special:CreateAccount. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "SpecialCreateAccountBenefits" to register handlers implementing this interface.
Definition at line 12 of file SpecialCreateAccountBenefitsHook.php.
MediaWiki\Hook\SpecialCreateAccountBenefitsHook::onSpecialCreateAccountBenefits | ( | ?string & | $html, |
array | $info, | ||
array & | $options ) |
Replace the default signup page content about the benefits of registering an account ("Wikipedia is made by people like you...") on Special:CreateAccount.
string | null | &$html | HTML to use instead of the default .mw-createacct-benefits-container block. By default, this is null, which means the default content will be used. |
array | $info | Array of information:
|
array | &$options | Array of modifiable options:
|
Implemented in MediaWiki\HookContainer\HookRunner.