Index: trunk/phase3/includes/OutputPage.php |
— | — | @@ -2692,7 +2692,7 @@ |
2693 | 2693 | // Use the 'ResourceLoaderGetConfigVars' hook if the variable is not |
2694 | 2694 | // page-dependant but site-wide (without state). |
2695 | 2695 | // Alternatively, you may want to use OutputPage->addJsConfigVars() instead. |
2696 | | - wfRunHooks( 'MakeGlobalVariablesScript', array( &$vars, &$this ) ); |
| 2696 | + wfRunHooks( 'MakeGlobalVariablesScript', array( &$vars, $this ) ); |
2697 | 2697 | |
2698 | 2698 | // Merge in variables from addJsConfigVars last |
2699 | 2699 | return array_merge( $vars, $this->mJsConfigVars ); |