diff --git a/includes/SkinTimeless.php b/includes/SkinTimeless.php index 937d2c1..c5d5391 100644 --- a/includes/SkinTimeless.php +++ b/includes/SkinTimeless.php @@ -5,9 +5,6 @@ * @ingroup Skins */ class SkinTimeless extends SkinTemplate { - /** @var string */ - public $skinname = 'timeless'; - /** @var string */ public $stylename = 'Timeless'; @@ -20,11 +17,6 @@ class SkinTimeless extends SkinTemplate { public function initPage( OutputPage $out ) { parent::initPage( $out ); - $out->addMeta( 'viewport', - 'width=device-width, initial-scale=1.0, ' . - 'user-scalable=yes, minimum-scale=0.25, maximum-scale=5.0' - ); - $out->addModuleStyles( [ 'mediawiki.skinning.content.externallinks', 'skins.timeless', diff --git a/skin.json b/skin.json index 150c57e..a599958 100644 --- a/skin.json +++ b/skin.json @@ -11,7 +11,16 @@ "MediaWiki": ">= 1.34.0" }, "ValidSkinNames": { - "timeless": "Timeless" + "timeless": { + "displayname": "Timeless", + "class": "SkinTimeless", + "args": [ + { + "name": "timeless", + "responsive": true + } + ] + } }, "MessagesDirs": { "Timeless": [