Manual:Hooks/MakeGlobalVariablesScript

Details
Called right before Skin::makeVariablesScript is executed. 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 Skin::makeVariablesScript
 * $out : OutputPage instance calling the hook