169 行
5.1 KiB
JSON
169 行
5.1 KiB
JSON
{
|
|
"name": "Gongbi",
|
|
"version": "1.9.0",
|
|
"author": [ "Isarra Yos", "edg2s", "WaitSpring" ],
|
|
"url": "https://git.qiuwen.net.cn/Qiuwen/mediawiki-skins-Gongbi",
|
|
"descriptionmsg": "gongbi-desc",
|
|
"namemsg": "skinname-gongbi",
|
|
"license-name": "GPL-2.0-or-later",
|
|
"type": "skin",
|
|
"requires": {
|
|
"MediaWiki": ">= 1.39.0"
|
|
},
|
|
"ValidSkinNames": {
|
|
"gongbi": {
|
|
"displayname": "Gongbi",
|
|
"class": "MediaWiki\\Skin\\Gongbi\\SkinGongbi",
|
|
"args": [
|
|
{
|
|
"name": "gongbi",
|
|
"template": "MediaWiki\\Skin\\Gongbi\\GongbiTemplate",
|
|
"responsive": true,
|
|
"styles": [ "skins.gongbi" ],
|
|
"scripts": [
|
|
"skins.gongbi.main",
|
|
"skins.gongbi.mobile",
|
|
"skins.gongbi.table-scroll"
|
|
],
|
|
"bodyOnly": true
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"MessagesDirs": {
|
|
"Gongbi": [ "i18n" ]
|
|
},
|
|
"config": {
|
|
"GongbiLogo": {
|
|
"value": null,
|
|
"description": "Special logo rendering, allowing for custom logos for Gongbi"
|
|
},
|
|
"GongbiWordmark": {
|
|
"value": null,
|
|
"description": "To use an image instead of the default Linux Libertine serif text for the header banner wordmark"
|
|
},
|
|
"GongbiBackdropImage": {
|
|
"value": "",
|
|
"description": "Set it as you would $wgLogo to an appropriate background image. Recommendation is an svg set to 500-750px wide"
|
|
}
|
|
},
|
|
"ResourceModules": {
|
|
"skins.gongbi": {
|
|
"targets": [ "desktop", "mobile" ],
|
|
"class": "MediaWiki\\Skin\\Gongbi\\GongbiVariablesModule",
|
|
"features": {
|
|
"normalize": false,
|
|
"logo": true,
|
|
"content-media": false,
|
|
"content-links": true,
|
|
"content-links-external": true,
|
|
"content-parser-output": false,
|
|
"content-tables": false,
|
|
"interface": false,
|
|
"interface-category": false,
|
|
"interface-message-box": false,
|
|
"elements": false,
|
|
"legacy": false,
|
|
"i18n-ordered-lists": true,
|
|
"i18n-all-lists-margins": true,
|
|
"i18n-headings": true,
|
|
"toc": true
|
|
},
|
|
"styles": {
|
|
"resources/content.media/common.less": {
|
|
"media": "all"
|
|
},
|
|
"resources/libraries/normalise.css": {
|
|
"media": "screen"
|
|
},
|
|
"resources/libraries/shared.css": {
|
|
"media": "screen"
|
|
},
|
|
"resources/forms.less": {
|
|
"media": "screen"
|
|
},
|
|
"resources/content.media/screen.less": {
|
|
"media": "screen"
|
|
},
|
|
"resources/screen-common.less": {
|
|
"media": "screen"
|
|
},
|
|
"resources/screen-desktop.less": {
|
|
"media": "screen and (min-width: 851px)"
|
|
},
|
|
"resources/screen-desktop-full.less": {
|
|
"media": "screen and (min-width: 1200px)"
|
|
},
|
|
"resources/screen-desktop-mid.less": {
|
|
"media": "screen and (min-width: 851px) and (max-width: 1199px)"
|
|
},
|
|
"resources/screen-mobile.less": {
|
|
"media": "screen and (max-width: 850px)"
|
|
},
|
|
"resources/screen-mobile-small.less": {
|
|
"media": "screen and (max-width: 375px)"
|
|
},
|
|
"0": "resources/screen-misc.less",
|
|
"resources/content.media/print.less": {
|
|
"media": "print"
|
|
},
|
|
"resources/libraries/common-print.less": {
|
|
"media": "print"
|
|
},
|
|
"resources/print.less": {
|
|
"media": "print"
|
|
},
|
|
"resources/scripts/table-scroll.less": {
|
|
"media": "screen"
|
|
},
|
|
"resources/scripts/toc.less": {
|
|
"media": "screen"
|
|
}
|
|
},
|
|
"@NOTE": "Remember to also update variables.less if you change the width cutoffs here. screen-misc.less and mobile.js may also need updating."
|
|
},
|
|
"skins.gongbi.main": {
|
|
"targets": [ "desktop", "mobile" ],
|
|
"packageFiles": [ "resources/scripts/main.js" ]
|
|
},
|
|
"skins.gongbi.mobile": {
|
|
"targets": [ "desktop", "mobile" ],
|
|
"packageFiles": [ "resources/scripts/mobile.js" ]
|
|
},
|
|
"skins.gongbi.toc": {
|
|
"targets": [ "desktop", "mobile" ],
|
|
"packageFiles": [ "resources/scripts/toc.js" ]
|
|
},
|
|
"skins.gongbi.table-scroll": {
|
|
"targets": [ "desktop", "mobile" ],
|
|
"packageFiles": [ "resources/scripts/table-scroll.js" ]
|
|
}
|
|
},
|
|
"ResourceFileModulePaths": {
|
|
"localBasePath": "",
|
|
"remoteSkinPath": "Gongbi"
|
|
},
|
|
"ResourceModuleSkinStyles": {
|
|
"gongbi": {
|
|
"+oojs-ui-core.styles": "resources/ooui.less",
|
|
"+ext.echo.styles.badge": "resources/extensions/Echo.less",
|
|
"+ext.eventLogging.jsonSchema.styles": "resources/extensions/EventLogging.jsonSchema.less",
|
|
"+ext.visualEditor.core": "resources/extensions/VisualEditor.core.less",
|
|
"+ext.visualEditor.desktopArticleTarget.noscript": "resources/extensions/VisualEditor.article.less",
|
|
"+ext.visualEditor.mwwikitext": "resources/extensions/VisualEditor.mwwikitext.less",
|
|
"+ext.CodeMirror.visualEditor.init": "resources/extensions/VisualEditor.CodeMirror.less",
|
|
"+ext.dismissableSiteNotice.styles": "resources/extensions/DismissableSiteNotice.less",
|
|
"+ext.MWOAuth.AuthorizeForm": "resources/extensions/MWOAuth.AuthorizeForm.less",
|
|
"+ext.wikiLove.icon": "resources/extensions/WikiLove.icon.less",
|
|
"+ext.proofreadpage.page.navigation": "resources/extensions/Proofreadpage.page.navigation.less",
|
|
"+ext.CodeMirror": "resources/extensions/CodeMirror.less",
|
|
"+ext.wikiEditor.styles": "resources/extensions/WikiEditor.less",
|
|
"+ext.uploadWizard": "resources/extensions/UploadWizard.less"
|
|
}
|
|
},
|
|
"AutoloadNamespaces": {
|
|
"MediaWiki\\Skin\\Gongbi\\": "includes/"
|
|
},
|
|
"manifest_version": 2
|
|
}
|