diff --git a/ScratchWikiSkinTemplate.php b/ScratchWikiSkinTemplate.php index a1fb1bc..7fe6bbf 100644 --- a/ScratchWikiSkinTemplate.php +++ b/ScratchWikiSkinTemplate.php @@ -30,7 +30,7 @@ public function execute() { } getSkin()->getConfig() ); +$logos = MediaWiki\ResourceLoader\SkinModule::getAvailableLogos( $this->getSkin()->getConfig() ); $wordmark = $logos['wordmark']['src'] ?? $this->get('stylepath') . '/' . $this->getSkin()->stylename . '/resources/Scratch-logo-sm.png'; $wordmarkW = $logos['wordmark']['width'] ?? 76; $wordmarkH = $logos['wordmark']['height'] ?? 28; diff --git a/skin.json b/skin.json index 29aeb71..22789cf 100644 --- a/skin.json +++ b/skin.json @@ -29,7 +29,7 @@ }, "ResourceModules": { "skins.scratchwikiskin2": { - "class": "ResourceLoaderSkinModule", + "class": "MediaWiki\\ResourceLoader\\SkinModule", "features": { "content-links": true, "content-media": true,