Manual:Hooks/MakeGlobalVariablesScript

Details
This hook is fired via, from. This hook should only be used to add variables that depend on the current page/request; static configuration should be added through ResourceLoaderGetConfigVars instead.


 * &$vars: variable (or multiple variables) to be added into the output of OutputPage::headElement.
 * $out : OutputPage instance calling the hook