MediaWiki
REL1_37
ResourceLoaderJqueryMsgModuleMagicWordsHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\ResourceLoader\Hook
;
4
5
use
ResourceLoaderContext
;
6
14
interface
ResourceLoaderJqueryMsgModuleMagicWordsHook
{
26
public
function
onResourceLoaderJqueryMsgModuleMagicWords
(
27
ResourceLoaderContext
$context,
28
array &
$magicWords
29
): void;
30
}
$magicWords
$magicWords
@phpcs-require-sorted-array
Definition
MessagesAb.php:73
ResourceLoaderContext
Context object that contains information about the state of a specific ResourceLoader web request.
Definition
ResourceLoaderContext.php:34
MediaWiki\ResourceLoader\Hook\ResourceLoaderJqueryMsgModuleMagicWordsHook
This is a hook handler interface, see docs/Hooks.md.
Definition
ResourceLoaderJqueryMsgModuleMagicWordsHook.php:14
MediaWiki\ResourceLoader\Hook\ResourceLoaderJqueryMsgModuleMagicWordsHook\onResourceLoaderJqueryMsgModuleMagicWords
onResourceLoaderJqueryMsgModuleMagicWords(ResourceLoaderContext $context, array &$magicWords)
Add magic words to the mediawiki.jqueryMsg module.
MediaWiki\ResourceLoader\Hook
Definition
ResourceLoaderForeignApiModulesHook.php:3
includes
resourceloader
Hook
ResourceLoaderJqueryMsgModuleMagicWordsHook.php
Generated on Fri Apr 5 2024 23:40:44 for MediaWiki by
1.9.8