MediaWiki master
|
This is a hook handler interface, see docs/Hooks.md. More...
Inherited by MediaWiki\HookContainer\HookRunner.
Public Member Functions | |
onGetDoubleUnderscoreIDs (&$doubleUnderscoreIDs) | |
Use this hook to modify the list of behavior switches (double underscore variables in wikitext). | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "GetDoubleUnderscoreIDs" to register handlers implementing this interface.
Definition at line 12 of file GetDoubleUnderscoreIDsHook.php.
MediaWiki\Hook\GetDoubleUnderscoreIDsHook::onGetDoubleUnderscoreIDs | ( | & | $doubleUnderscoreIDs | ) |
Use this hook to modify the list of behavior switches (double underscore variables in wikitext).
Behavior switches are localized with the magic word system, and this hook is called by MagicWordFactory.
string[] | &$doubleUnderscoreIDs | Array of magic word identifiers |
Implemented in MediaWiki\HookContainer\HookRunner.