MediaWiki master
|
This is a hook handler interface, see docs/Hooks.md. More...
Inherited by MediaWiki\ResourceLoader\HookRunner.
Public Member Functions | |
onResourceLoaderJqueryMsgModuleMagicWords (Context $context, array &$magicWords) | |
Add magic words to the mediawiki.jqueryMsg module. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "ResourceLoaderJqueryMsgModuleMagicWords" to register handlers implementing this interface.
Definition at line 14 of file ResourceLoaderJqueryMsgModuleMagicWordsHook.php.
MediaWiki\ResourceLoader\Hook\ResourceLoaderJqueryMsgModuleMagicWordsHook::onResourceLoaderJqueryMsgModuleMagicWords | ( | Context | $context, |
array & | $magicWords ) |
Add magic words to the mediawiki.jqueryMsg
module.
The values should be a string, and they may only vary by what's in the Context.
This hook is called from ResourceLoaderJqueryMsgModule.
Context | $context | |
string[] | &$magicWords | Associative array mapping all-caps magic word to a string value |
Implemented in MediaWiki\ResourceLoader\HookRunner.