120 行
2.8 KiB
JSON
120 行
2.8 KiB
JSON
{
|
|
"name": "Write",
|
|
"namemsg": "skinname-write",
|
|
"version": "3.3.0",
|
|
"author": ["Petr Kajzar", "Qiuwen Baike Contributors"],
|
|
"url": "https://git.qiuwen.net.cn/Qiuwen/mediawiki-skins-Write",
|
|
"description": "MediaWiki skin based on Bootstrap 4",
|
|
"descriptionmsg": "write-desc",
|
|
"license-name": "CC0-1.0",
|
|
"type": "skin",
|
|
"ValidSkinNames": {
|
|
"write": {
|
|
"displayname": "Write",
|
|
"class": "MediaWiki\\Skin\\Write\\SkinWrite",
|
|
"args": [
|
|
{
|
|
"name": "write",
|
|
"template": "MediaWiki\\Skin\\Write\\WriteTemplate",
|
|
"responsive": true,
|
|
"styles": ["skins.write.styles"],
|
|
"scripts": [
|
|
"skins.write.bootstrap",
|
|
"skins.write.js"
|
|
],
|
|
"bodyOnly": true
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"requires": {
|
|
"MediaWiki": ">= 1.39.0"
|
|
},
|
|
"MessagesDirs": {
|
|
"Write": ["i18n"]
|
|
},
|
|
"config": {
|
|
"WriteColor": {
|
|
"value": null,
|
|
"description": "Default color of the wiki theme."
|
|
},
|
|
"WriteContentWidth": {
|
|
"value": "default",
|
|
"description": "Extend the content to the full width on XL screens."
|
|
},
|
|
"WriteWordmark": {
|
|
"value": null,
|
|
"description": "Set the wordmark."
|
|
},
|
|
"WriteShowLogo": {
|
|
"value": "none",
|
|
"description": "Show logo in the header bar."
|
|
},
|
|
"WriteUseLogoWithoutText": {
|
|
"value": false,
|
|
"description": "Show only logo without text in the navbar."
|
|
}
|
|
},
|
|
"Hooks": {
|
|
"GetPreferences": "MediaWiki\\Skin\\Write\\SkinWrite::onGetPreferences"
|
|
},
|
|
"DefaultUserOptions": {
|
|
"write-font": "1em"
|
|
},
|
|
"ResourceModules": {
|
|
"skins.write.styles": {
|
|
"class": "ResourceLoaderSkinModule",
|
|
"features": {
|
|
"legacy": false,
|
|
"content-links": true,
|
|
"content-media": true,
|
|
"interface-message-box": true,
|
|
"interface-category": true,
|
|
"content-tables": true,
|
|
"i18n-ordered-lists": true,
|
|
"i18n-all-lists-margins": true,
|
|
"i18n-headings": true,
|
|
"elements": true,
|
|
"interface": true,
|
|
"logo": true
|
|
},
|
|
"styles": {
|
|
"resources/libraries/bootstrap.min.css": {
|
|
"media": "screen"
|
|
},
|
|
"resources/screen.css": {
|
|
"media": "screen"
|
|
},
|
|
"resources/print.css": {
|
|
"media": "print"
|
|
},
|
|
"resources/desktop.css": {
|
|
"media": "screen and (min-width: 768px)"
|
|
},
|
|
"resources/mobile.css": {
|
|
"media": "screen and (max-width: 768px)"
|
|
}
|
|
}
|
|
},
|
|
"skins.write.bootstrap": {
|
|
"targets": ["desktop", "mobile"],
|
|
"scripts": [
|
|
"resources/libraries/popper.min.js",
|
|
"resources/libraries/bootstrap.min.js"
|
|
]
|
|
},
|
|
"skins.write.js": {
|
|
"targets": ["desktop", "mobile"],
|
|
"packageFiles": ["resources/main.js"]
|
|
}
|
|
},
|
|
"ResourceFileModulePaths": {
|
|
"localBasePath": "",
|
|
"remoteSkinPath": "Write"
|
|
},
|
|
"AutoloadNamespaces": {
|
|
"MediaWiki\\Skin\\Write\\": "includes/"
|
|
},
|
|
"manifest_version": 2
|
|
}
|