MediaWiki master
MediaWiki\Hook\MagicWordwgVariableIDsHook Interface Reference

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

Inherited by MediaWiki\HookContainer\HookRunner.

Public Member Functions

 onMagicWordwgVariableIDs (&$variableIDs)
 This hook is called when defining new magic words IDs.
 

Detailed Description

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

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

Deprecated
since 1.35, use GetMagicVariableIDsHook instead.

Definition at line 12 of file MagicWordwgVariableIDsHook.php.

Member Function Documentation

◆ onMagicWordwgVariableIDs()

MediaWiki\Hook\MagicWordwgVariableIDsHook::onMagicWordwgVariableIDs ( & $variableIDs)

This hook is called when defining new magic words IDs.

Since
1.35
Parameters
string[]&$variableIDs
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: