mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-11-13 17:49:25 +00:00
226 lines
7.3 KiB
JSON
226 lines
7.3 KiB
JSON
{
|
|
"name": "Citizen",
|
|
"namemsg": "skinname-citizen",
|
|
"author": "alistair3149",
|
|
"url": "https://starcitizen.tools",
|
|
"descriptionmsg": "citizen-desc",
|
|
"namemsg": "skinname-citizen",
|
|
"license-name": "GPL-3.0",
|
|
"type": "skin",
|
|
"requires": {
|
|
"MediaWiki": ">= 1.31.0"
|
|
},
|
|
"config": {
|
|
"CitizenThemeColor": "#131a21",
|
|
"CitizenEnableManifest": true,
|
|
"CitizenManifestThemeColor": "#131a21",
|
|
"CitizenManifestBackgroundColor": "#fff"
|
|
},
|
|
"ValidSkinNames": {
|
|
"citizen": "Citizen"
|
|
},
|
|
"MessagesDirs": {
|
|
"Citizen": [
|
|
"i18n"
|
|
]
|
|
},
|
|
"ResourceModules": {
|
|
"skins.citizen": {
|
|
"class": "ResourceLoaderSkinModule",
|
|
"styles": {
|
|
"resources/screen.less": {
|
|
"media": "screen"
|
|
},
|
|
"resources/print.less": {
|
|
"media": "print"
|
|
},
|
|
"resources/font-face.less": {}
|
|
}
|
|
},
|
|
"skins.citizen.js": {
|
|
"scripts": [
|
|
"resources/main.js",
|
|
"resources/scripts/header.js",
|
|
"resources/scripts/toc.js"
|
|
]
|
|
},
|
|
"skins.citizen.bpd": {
|
|
"scripts": [
|
|
"resources/scripts/lazyload.js"
|
|
]
|
|
},
|
|
"skins.citizen.icons": {
|
|
"class": "ResourceLoaderImageModule",
|
|
"selector": "#citizen-ui-{name} > *:after",
|
|
"defaultColor": "#000",
|
|
"useDataURI": false,
|
|
"images": {
|
|
"discord": "resources/images/icons/discord.svg"
|
|
}
|
|
},
|
|
"skins.citizen.icons.ca": {
|
|
"class": "ResourceLoaderImageModule",
|
|
"selector": "#ca-{name} > *:after",
|
|
"defaultColor": "#000",
|
|
"useDataURI": false,
|
|
"images": {
|
|
"view": "resources/images/icons/article.svg",
|
|
"ve-edit": "resources/images/icons/ve-edit.svg",
|
|
"edit": "resources/images/icons/edit.svg",
|
|
"history": "resources/images/icons/history.svg",
|
|
"delete": "resources/images/icons/delete.svg",
|
|
"move": "resources/images/icons/move.svg",
|
|
"protect": "resources/images/icons/lock.svg",
|
|
"unprotect": "resources/images/icons/unLock.svg",
|
|
"watch": "resources/images/icons/eye.svg",
|
|
"unwatch": "resources/images/icons/eyeClosed.svg",
|
|
"talk": "resources/images/icons/discussion.svg",
|
|
"nstab-main": "resources/images/icons/article.svg",
|
|
"translate": "resources/images/icons/language.svg"
|
|
}
|
|
},
|
|
"skins.citizen.icons.p": {
|
|
"class": "ResourceLoaderImageModule",
|
|
"selector": "#p-{name} > *:before",
|
|
"defaultColor": "#000",
|
|
"useDataURI": false,
|
|
"images": {
|
|
"actions": "resources/images/icons/more.svg"
|
|
}
|
|
},
|
|
"skins.citizen.icons.toc": {
|
|
"class": "ResourceLoaderImageModule",
|
|
"selector": ".toctoggle > a:before",
|
|
"defaultColor": "#000",
|
|
"useDataURI": false,
|
|
"images": {
|
|
"": "resources/images/icons/ToC.svg"
|
|
}
|
|
},
|
|
"skins.citizen.icons.es": {
|
|
"class": "ResourceLoaderImageModule",
|
|
"selector": ".mw-editsection > a{name}:before",
|
|
"defaultColor": "#000",
|
|
"useDataURI": false,
|
|
"images": {
|
|
"": "resources/images/icons/edit.svg",
|
|
".mw-editsection-visualeditor": "resources/images/icons/ve-edit.svg"
|
|
}
|
|
},
|
|
"skins.citizen.icons.n": {
|
|
"class": "ResourceLoaderImageModule",
|
|
"selector": "#n-{name} > *:after",
|
|
"defaultColor": "#000",
|
|
"useDataURI": false,
|
|
"images": {
|
|
"mainpage-description": "resources/images/icons/home.svg",
|
|
"recentchanges": "resources/images/icons/history.svg",
|
|
"randompage": "resources/images/icons/random.svg"
|
|
}
|
|
},
|
|
"skins.citizen.icons.t": {
|
|
"class": "ResourceLoaderImageModule",
|
|
"selector": "#t-{name} > *:after",
|
|
"defaultColor": "#000",
|
|
"useDataURI": false,
|
|
"images": {
|
|
"whatlinkshere": "resources/images/icons/whatlinkshere.svg",
|
|
"recentchangeslinked": "resources/images/icons/history.svg",
|
|
"upload": "resources/images/icons/upload.svg",
|
|
"specialpages": "resources/images/icons/specialpages.svg",
|
|
"print": "resources/images/icons/download.svg",
|
|
"permalink": "resources/images/icons/link.svg",
|
|
"info": "resources/images/icons/info.svg"
|
|
}
|
|
},
|
|
"skins.citizen.icons.pt": {
|
|
"class": "ResourceLoaderImageModule",
|
|
"selector": "#pt-{name} > *:after",
|
|
"defaultColor": "#000",
|
|
"useDataURI": false,
|
|
"images": {
|
|
"userpage": "resources/images/icons/userNormal.svg",
|
|
"mytalk": "resources/images/icons/userTalk.svg",
|
|
"preferences": "resources/images/icons/settings.svg",
|
|
"betafeatures": "resources/images/icons/beta.svg",
|
|
"watchlist": "resources/images/icons/watchlist.svg",
|
|
"mycontris": "resources/images/icons/contributions.svg",
|
|
"logout": "resources/images/icons/logOut.svg",
|
|
"createaccount": "resources/images/icons/userAvatar.svg",
|
|
"login": "resources/images/icons/logOut.svg"
|
|
}
|
|
},
|
|
"skins.citizen.icons.footer": {
|
|
"class": "ResourceLoaderImageModule",
|
|
"selector": "#footer #{name}:before",
|
|
"defaultColor": "#fff",
|
|
"useDataURI": false,
|
|
"images": {
|
|
"lastmod": "resources/images/icons/history_white.svg"
|
|
}
|
|
},
|
|
"skins.citizen.icons.badges": {
|
|
"class": "ResourceLoaderImageModule",
|
|
"selector": "#footer-{name}ico a:before",
|
|
"defaultColor": "#fff",
|
|
"useDataURI": false,
|
|
"images": {
|
|
"copyright": "resources/images/badges/CCBYSA4.svg",
|
|
"poweredby": "resources/images/badges/PoweredByMediawiki.svg",
|
|
"monitoredby": "resources/images/badges/MonitoredByWikiApiary.svg",
|
|
"gdprcompliance": "resources/images/badges/GDPR.svg",
|
|
"madeby": "resources/images/badges/MadeByTheCommunity.svg"
|
|
}
|
|
}
|
|
},
|
|
"ResourceFileModulePaths": {
|
|
"localBasePath": "",
|
|
"remoteSkinPath": "Citizen"
|
|
},
|
|
"ResourceModuleSkinStyles": {
|
|
"citizen": {
|
|
"+mediawiki.action.view.filepage": "skinStyles/mediawiki.action.view.filepage.less",
|
|
"+mediawiki.special.changeslist": "skinStyles/mediawiki.special.changeslist.less",
|
|
"+mediawiki.special.changeslist.enhanced": "skinStyles/mediawiki.special.changeslist.enhanced.less",
|
|
"+mediawiki.special.search.styles": "skinStyles/mediawiki.special.search.styles.less",
|
|
"+oojs-ui-core": "skinStyles/oojs-ui-core.less",
|
|
"+oojs-ui-toolbars": "skinStyles/oojs-ui-toolbars.less",
|
|
"+oojs-ui-widgets": "skinStyles/oojs-ui-widgets.less",
|
|
"+oojs-ui-windows": "skinStyles/oojs-ui-windows.less",
|
|
"+mmv": "skinStyles/mmv.less",
|
|
"+ext.echo.styles.badge": "skinStyles/ext.echo.styles.badge.less",
|
|
"+ext.echo.ui": "skinStyles/ext.echo.ui.less",
|
|
"+ext.popups.main": "skinStyles/ext.popups.main.less",
|
|
"+ext.relatedArticles.cards": "skinStyles/ext.relatedArticles.cards.less",
|
|
"+ext.relatedArticles.readMore": "skinStyles/ext.relatedArticles.readMore.less",
|
|
"+ext.translate": "skinStyles/ext.translate.less",
|
|
"+ext.translate.editor": "skinStyles/ext.translate.editor.less",
|
|
"+ext.translate.loader": "skinStyles/ext.translate.loader.less",
|
|
"+ext.translate.special.translate": "skinStyles/ext.translate.special.translate.less",
|
|
"+ext.translate.messagetable": "skinStyles/ext.translate.messagetable.less",
|
|
"+ext.translate.tag.languages": "skinStyles/ext.translate.tag.languages.less",
|
|
"+ext.uls.common": "skinStyles/ext.uls.common.less",
|
|
"+ext.uls.pt": "skinStyles/ext.uls.pt.less",
|
|
"+ext.visualEditor.core": "skinStyles/ext.visualEditor.core.less"
|
|
}
|
|
},
|
|
"AutoloadClasses": {
|
|
"SkinCitizen": "includes/SkinCitizen.php",
|
|
"CitizenTemplate": "includes/CitizenTemplate.php",
|
|
"CitizenHooks": "includes/CitizenHooks.php",
|
|
"ApiWebappManifest": "includes/api/ApiWebappManifest.php"
|
|
},
|
|
"APIModules": {
|
|
"webapp-manifest": "ApiWebappManifest"
|
|
},
|
|
"Hooks": {
|
|
"BeforePageDisplay": [
|
|
"CitizenHooks::BeforePageDisplay"
|
|
],
|
|
"ThumbnailBeforeProduceHTML": [
|
|
"CitizenHooks::ThumbnailBeforeProduceHTML"
|
|
]
|
|
},
|
|
"manifest_version": 1
|
|
}
|