X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=docs%2Fhooks.txt;h=ab23bc0073bd88368f57a7e0a9ff0884207db681;hb=a79442d6cf747e578575f80238f13dd0ee589bc2;hp=7cbb5d1855aa2038b336b2a1349fdfdc36dd9f0e;hpb=bd7750cee45c0c8a185edb43b9c7a0a1ccbcb3e9;p=lhc%2Fweb%2Fwiklou.git diff --git a/docs/hooks.txt b/docs/hooks.txt index 7cbb5d1855..ab23bc0073 100644 --- a/docs/hooks.txt +++ b/docs/hooks.txt @@ -1712,8 +1712,8 @@ $refreshLinks: RefreshLinks object 'MagicWordwgVariableIDs': When defining new magic words IDs. $variableIDs: array of strings -'MakeGlobalVariablesScript': Called right before Skin::makeVariablesScript is -executed. Ideally, this hook should only be used to add variables that depend on +'MakeGlobalVariablesScript': Called at end of OutputPage::getJSVars. +Ideally, 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