Follow up r76207. It's called $skin here.
This paramter is completely unused, though. Any reason to keep it?
This commit is contained in:
parent
8b9e050202
commit
60d99da3cb
1 changed files with 2 additions and 2 deletions
|
|
@ -2302,7 +2302,7 @@ class OutputPage {
|
|||
* @param $useESI boolean
|
||||
* @return string html <script> and <style> tags
|
||||
*/
|
||||
protected function makeResourceLoaderLink( $skin, $modules, $only, $useESI = false ) {
|
||||
protected function makeResourceLoaderLink( Skin $skin, $modules, $only, $useESI = false ) {
|
||||
global $wgUser, $wgLang, $wgLoadScript, $wgResourceLoaderUseESI,
|
||||
$wgResourceLoaderInlinePrivateModules;
|
||||
// Lazy-load ResourceLoader
|
||||
|
|
@ -2332,7 +2332,7 @@ class OutputPage {
|
|||
// Recursively call us for every item
|
||||
$links = '';
|
||||
foreach ( $modules as $name ) {
|
||||
$links .= $this->makeResourceLoaderLink( $sk, $name, $only, $useESI );
|
||||
$links .= $this->makeResourceLoaderLink( $skin, $name, $only, $useESI );
|
||||
}
|
||||
return $links;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue