Per r76250, actually use the $skin parameter in makeResourceLoaderLink()
authorRoan Kattouw <catrope@users.mediawiki.org>
Mon, 8 Nov 2010 11:07:05 +0000 (11:07 +0000)
committerRoan Kattouw <catrope@users.mediawiki.org>
Mon, 8 Nov 2010 11:07:05 +0000 (11:07 +0000)
includes/OutputPage.php

index beba6fd..f6c7a3f 100644 (file)
@@ -2314,7 +2314,7 @@ class OutputPage {
                $query = array(
                        'lang' => $wgLang->getCode(),
                        'debug' => ResourceLoader::inDebugMode() ? 'true' : 'false',
-                       'skin' => $wgUser->getSkin()->getSkinName(),
+                       'skin' => $skin->getSkinName(),
                        'only' => $only,
                );