Merge ".mailmap: Correct two contributor names"
[mediawiki.git] / includes / skins / Hook / SkinPageReadyConfigHook.php
blob0a77113103f7d99751ea264a3eb6dc7126843635
1 <?php
3 namespace MediaWiki\Skins\Hook;
5 use MediaWiki\ResourceLoader as RL;
7 /**
8 * This is a hook handler interface, see docs/Hooks.md.
9 * Use the hook name "SkinPageReadyConfig" to register handlers implementing this interface.
11 * @stable to implement
13 interface SkinPageReadyConfigHook {
14 /**
15 * Allows skins to change the `mediawiki.page.ready` module configuration.
17 * @since 1.36
18 * @param RL\Context $context
19 * @param mixed[] &$config Associative array of configurable options
20 * @return void This hook must not abort, it must return no value
22 public function onSkinPageReadyConfig(
23 RL\Context $context,
24 array &$config
25 ): void;