http://www.mediawiki.org/wiki/Special:Code/MediaWiki/76250
Revision: 76250
Author: platonides
Date: 2010-11-07 15:12:49 +0000 (Sun, 07 Nov 2010)
Log Message:
-----------
Follow up r76207. It's called $skin here.
This paramter is completely unused, though. Any reason to keep it?
Modified Paths:
--------------
trunk/phase3/includes/OutputPage.php
Modified: trunk/phase3/includes/OutputPage.php
===================================================================
--- trunk/phase3/includes/OutputPage.php 2010-11-07 14:50:07 UTC (rev
76249)
+++ trunk/phase3/includes/OutputPage.php 2010-11-07 15:12:49 UTC (rev
76250)
@@ -2302,7 +2302,7 @@
* @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 @@
// 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;
}
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs