Index: trunk/phase3/includes/OutputPage.php |
— | — | @@ -2281,7 +2281,7 @@ |
2282 | 2282 | } |
2283 | 2283 | |
2284 | 2284 | static function makeResourceLoaderLink( $skin, $modules, $only ) { |
2285 | | - global $wgUser, $wgLang, $wgRequest, $wgScriptPath; |
| 2285 | + global $wgUser, $wgLang, $wgRequest; |
2286 | 2286 | // TODO: Should this be a static function of ResourceLoader instead? |
2287 | 2287 | $query = array( |
2288 | 2288 | 'modules' => implode( '|', array_unique( (array) $modules ) ), |