MediaWiki REL1_35
|
Stable to implement. More...
Public Member Functions | |
onResourceLoaderJqueryMsgModuleMagicWords (ResourceLoaderContext $context, array &$magicWords) | |
Add magic words to the mediawiki.jqueryMsg module. | |
Stable to implement.
Definition at line 11 of file ResourceLoaderJqueryMsgModuleMagicWordsHook.php.
MediaWiki\ResourceLoader\Hook\ResourceLoaderJqueryMsgModuleMagicWordsHook::onResourceLoaderJqueryMsgModuleMagicWords | ( | ResourceLoaderContext | $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 ResourceLoaderContext.
This hook is called from ResourceLoaderJqueryMsgModule.
ResourceLoaderContext | $context | |
string[] | &$magicWords | Associative array mapping all-caps magic word to a string value |
Implemented in MediaWiki\HookContainer\HookRunner.