For MediaWiki (recent comments | status changes | tags | authors | states | release notes | statistics)
Index: trunk/phase3/docs/hooks.txt =================================================================== --- trunk/phase3/docs/hooks.txt (revision 43631) +++ trunk/phase3/docs/hooks.txt (revision 43632) @@ -889,7 +889,6 @@ 'MakeGlobalVariablesScript': called right before Skin::makeVariablesScript is executed &$vars: variable (or multiple variables) to be added into the output of Skin::makeVariablesScript -&$wgUser: user (object) currently loading the skin 'MarkPatrolled': before an edit is marked patrolled $rcid: ID of the revision to be marked patrolled Index: trunk/phase3/includes/Skin.php =================================================================== --- trunk/phase3/includes/Skin.php (revision 43631) +++ trunk/phase3/includes/Skin.php (revision 43632) @@ -409,7 +409,7 @@ $vars['wgAjaxWatch'] = $msgs; } - wfRunHooks('MakeGlobalVariablesScript', array( &$vars, &$wgUser ) ); + wfRunHooks('MakeGlobalVariablesScript', array(&$vars)); return self::makeVariablesScript( $vars ); }