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