From bd762712a6b511e19211c5d9872ff7b4daeeea69 Mon Sep 17 00:00:00 2001 From: Lex Lim Date: Mon, 24 Oct 2022 11:40:47 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dextension.json=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- extension.json | 23 ++++++++++++++++++++--- modules/feedList/ext.isekai.feedList.tpl | 2 +- 2 files changed, 21 insertions(+), 4 deletions(-) diff --git a/extension.json b/extension.json index c460070..25f34f7 100644 --- a/extension.json +++ b/extension.json @@ -2,13 +2,13 @@ "name": "Isekai Discover Box", "namemsg": "isekai-widgets", "author": "Hyperzlib", - "version": "1.0.2", + "version": "1.0.3", "url": "https://github.com/Isekai-Project/mediawiki-extension-IsekaiWidgets", "descriptionmsg": "isekai-widgets-desc", "license-name": "GPL-2.0-or-later", "type": "parserhook", "requires": { - "MediaWiki": ">= 1.34.0" + "MediaWiki": ">= 1.35.0" }, "MessagesDirs": { "IsekaiWidgets": [ @@ -28,7 +28,7 @@ "ResourceModules": { "ext.isekai.widgets.global": { "styles": [ - "ext.isekai.alert.less" + "ext.isekai.widgets.global.less" ] }, "ext.isekai.createPage": { @@ -55,6 +55,23 @@ ] }, "ext.isekai.discover": { + "scripts": [ + "feedList/ext.isekai.feedList.js" + ], + "styles": [ + "feedList/ext.isekai.feedList.less" + ], + "dependencies": [ + "oojs", + "oojs-ui-core", + "vue" + ], + "targets": [ + "desktop", + "mobile" + ] + }, + "ext.isekai.feedList": { "scripts": [ "discover/ext.isekai.discover.js", "discover/ext.isekai.discover.base.js" diff --git a/modules/feedList/ext.isekai.feedList.tpl b/modules/feedList/ext.isekai.feedList.tpl index 5c7748e..5467309 100644 --- a/modules/feedList/ext.isekai.feedList.tpl +++ b/modules/feedList/ext.isekai.feedList.tpl @@ -12,7 +12,7 @@