MediaWiki  master
MakeGlobalVariablesScriptHook.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Hook;
4 
5 use OutputPage;
6 
33  public function onMakeGlobalVariablesScript( &$vars, $out ): void;
34 }
MediaWiki\Hook
Definition: ActionBeforeFormDisplayHook.php:3
MediaWiki\Hook\MakeGlobalVariablesScriptHook\onMakeGlobalVariablesScript
onMakeGlobalVariablesScript(&$vars, $out)
Export user- or page-specific mw.config variables to JavaScript.
MediaWiki\Hook\MakeGlobalVariablesScriptHook
This is a hook handler interface, see docs/Hooks.md.
Definition: MakeGlobalVariablesScriptHook.php:14
OutputPage
This is one of the Core classes and should be read at least once by any new developers.
Definition: OutputPage.php:50