Pass OutputPage instance to MakeGlobalVariablesScript. Allows extensions to getTitle...
[lhc/web/wiklou.git] / docs / hooks.txt
index 20979f5..44a01b5 100644 (file)
@@ -1221,6 +1221,8 @@ 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: The OutputPage which called the hook,
+    can be used to get the real title
 
 'MarkPatrolled': before an edit is marked patrolled
 $rcid: ID of the revision to be marked patrolled