MediaWiki REL1_39
|
This is a hook handler interface, see docs/Hooks.md. More...
Public Member Functions | |
onGetMagicVariableIDs (&$variableIDs) | |
Use this hook to modify the list of magic variables. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "GetMagicVariableIDs" to register handlers implementing this interface.
Definition at line 12 of file GetMagicVariableIDsHook.php.
MediaWiki\Hook\GetMagicVariableIDsHook::onGetMagicVariableIDs | ( | & | $variableIDs | ) |
Use this hook to modify the list of magic variables.
Magic variables are localized with the magic word system, and this hook is called by MagicWordFactory.
string[] | &$variableIDs | array of magic word identifiers |
Implemented in MediaWiki\HookContainer\HookRunner.