mediawiki-skins-Citizen/skin.json

407 lines
14 KiB
JSON
Raw Normal View History

2019-08-15 17:40:13 +00:00
{
"name": "Citizen",
"namemsg": "skinname-citizen",
2019-12-26 07:08:10 +00:00
"version": "0.3.0",
2019-08-15 17:40:13 +00:00
"author": "alistair3149",
"url": "https://starcitizen.tools",
"descriptionmsg": "citizen-desc",
2019-08-17 01:48:16 +00:00
"license-name": "GPL-3.0",
2019-08-15 17:40:13 +00:00
"type": "skin",
"requires": {
"MediaWiki": ">= 1.31.0"
},
2019-12-13 02:33:37 +00:00
"config_prefix": "wgCitizen",
2019-08-15 17:40:13 +00:00
"config": {
2019-12-13 02:25:37 +00:00
"ThemeColor": {
"value": "#11151d",
"description": "The theme color defined in the meta tag",
"descriptionmsg": "citizen-config-themecolor",
2019-12-13 02:28:28 +00:00
"public": true
2019-12-13 02:25:37 +00:00
},
"EnablePreconnect": {
"value": false,
"description": "Enable or disable preconnect to required origin",
"descriptionmsg": "citizen-config-enablepreconnect",
2019-12-13 02:28:28 +00:00
"public": true
2019-12-13 02:25:37 +00:00
},
2019-12-24 03:17:28 +00:00
"PreconnectURL": {
2019-12-13 02:25:37 +00:00
"value": "",
"description": "The URL for preconnect to required origin",
"descriptionmsg": "citizen-config-preconnectorigin",
2019-12-13 02:28:28 +00:00
"public": true
2019-12-13 02:25:37 +00:00
},
2019-12-24 04:13:42 +00:00
"EnableCSP": {
"value": false,
"description": "Enable or disable Content Security Policy",
"descriptionmsg": "citizen-config-enablecsp",
"public": true
},
"EnableCSPReportMode": {
"value": false,
2019-12-24 04:27:36 +00:00
"description": "Enable or disable Content Security Policy report only mode, it will override the CSP when enabled",
2019-12-24 04:13:42 +00:00
"descriptionmsg": "citizen-config-enablecspreportmode",
"public": true
},
"CSPDirective": {
"value": "",
"description": "The string of your CSP directive",
"descriptionmsg": "citizen-config-cspdirective",
"public": true
},
2019-12-24 03:17:28 +00:00
"EnableHSTS": {
"value": false,
"description": "Enable or disable HTTP Strict Transport Security",
"descriptionmsg": "citizen-config-enablehsts",
"public": true
},
"HSTSMaxAge": {
"value": 300,
"description": "Time in second that the browser should remember that a site is only to be accessed using HTTPS",
"descriptionmsg": "citizen-config-hstsmaxage",
"public": true
},
2019-12-24 03:25:39 +00:00
"HSTSIncludeSubdomains": {
2019-12-24 03:17:28 +00:00
"value": false,
2019-12-24 03:25:39 +00:00
"description": "Apply HSTS to all of the site's subdomains",
"descriptionmsg": "citizen-config-hstsincludesubdomains",
2019-12-13 02:28:28 +00:00
"public": true
2019-12-13 02:25:37 +00:00
},
2019-12-24 03:43:11 +00:00
"HSTSPreload": {
"value": false,
"description": "Enable or disable HSTS preload",
"descriptionmsg": "citizen-config-hstspreload",
"public": true
},
2019-12-24 02:10:13 +00:00
"EnableDenyXFrameOptions": {
"value": false,
"description": "Enable or disable the deny X-Frame-Options header",
"descriptionmsg": "citizen-config-enabledenyxframeoptions",
"public": true
},
"EnableStrictReferrerPolicy": {
2019-12-24 01:26:26 +00:00
"value": false,
"description": "Enable or disable strict-origin-when-cross-origin referrer policy",
2019-12-24 02:10:13 +00:00
"descriptionmsg": "citizen-config-enablestrictreferrerpolicy",
2019-12-24 01:26:26 +00:00
"public": true
},
2019-12-24 05:40:30 +00:00
"EnableFeaturePolicy": {
"value": false,
"description": "Enable or disable Feature Policy",
"descriptionmsg": "citizen-config-enablefeaturepolicy",
"public": true
},
"FeaturePolicyDirective": {
"value": "",
"description": "The string of your Feature Policy directive",
"descriptionmsg": "citizen-config-featurepolicydirective",
"public": true
},
2019-12-24 03:17:28 +00:00
"EnableManifest": {
"value": true,
"description": "Enable or disable web app manifest",
"descriptionmsg": "citizen-config-enablemanifest",
"public": true
},
2019-12-13 02:25:37 +00:00
"ManifestThemeColor": {
"value": "#11151d",
"description": "The theme color defined in the web app manifest",
"descriptionmsg": "citizen-config-manfiestthemecolor",
2019-12-13 02:28:28 +00:00
"public": true
2019-12-13 02:25:37 +00:00
},
"ManifestBackgroundColor": {
"value": "#fff",
"description": "The background color defined in the web app manifest",
"descriptionmsg": "citizen-config-manifestbackgroundcolor",
2019-12-13 02:28:28 +00:00
"public": true
2019-12-13 02:25:37 +00:00
},
"MaxSearchResults": {
"value": 6,
"description": "The max number of suggestions in search result",
"descriptionmsg": "citizen-config-maxsearchresults",
"public": true
},
2019-12-13 02:25:37 +00:00
"SearchExchars": {
"value": 60,
"description": "The character limit for the description in search suggestion",
"descriptionmsg": "citizen-config-searchexchars",
2019-12-13 02:28:28 +00:00
"public": true
},
"EnableButton": {
"value": false,
2019-12-26 07:08:10 +00:00
"description": "Enable or disable the floating action button on the bottom left",
"descriptionmsg": "citizen-config-enablebutton",
"public": true
},
"ButtonLink": {
"value": "",
2019-12-26 07:08:10 +00:00
"description": "The URL of the FAB button",
"descriptionmsg": "citizen-config-buttonlink",
"public": true
},
"ButtonTitle": {
"value": "",
2019-12-26 07:08:10 +00:00
"description": "The title of the link element on the FAB",
"descriptionmsg": "citizen-config-buttontitle",
"public": true
},
"ButtonText": {
"value": "",
2019-12-26 07:08:10 +00:00
"description": "The text of the FAB",
"descriptionmsg": "citizen-config-buttontext",
"public": true
},
"ShowPageTools": {
"value": true,
"description": "Page tools visibility condition",
"descriptionmsg": "citizen-config-showpagetools",
"public": true
2019-12-13 02:25:37 +00:00
}
2019-08-15 17:40:13 +00:00
},
"ConfigRegistry": {
"Citizen": "GlobalVarConfig::newInstance"
},
2019-08-15 17:40:13 +00:00
"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"
]
},
2019-12-11 22:14:36 +00:00
"skins.citizen.search": {
"scripts": [
2019-12-11 23:03:38 +00:00
"resources/scripts/underscore.partial.js",
2019-12-11 22:14:36 +00:00
"resources/scripts/wm-typeahead.js",
"resources/scripts/typeahead-init.js"
]
},
2019-08-15 17:40:13 +00:00
"skins.citizen.bpd": {
"scripts": [
"resources/scripts/lazyload.js"
]
},
"skins.citizen.icons": {
"class": "ResourceLoaderImageModule",
"selector": "#citizen-ui-{name} > *:after",
"defaultColor": "#000",
"useDataURI": false,
"images": {
"button": "resources/images/icons/discord.svg"
2019-08-15 17:40:13 +00:00
}
},
"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",
2019-08-20 05:34:35 +00:00
"randompage": "resources/images/icons/random.svg",
"help": "resources/images/icons/help.svg"
2019-08-15 17:40:13 +00:00
}
},
"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",
2019-08-20 05:34:35 +00:00
"contributions": "resources/images/icons/contributions.svg",
"log": "resources/images/icons/journal.svg",
"blockip": "resources/images/icons/block.svg",
"userrights": "resources/images/icons/users.svg",
2019-08-15 17:40:13 +00:00
"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",
2019-11-28 03:21:57 +00:00
"madeby": "resources/images/badges/MadeByTheCommunity.svg",
"partof": "resources/images/badges/StarCitizenTools.svg"
2019-08-15 17:40:13 +00:00
}
2019-12-12 02:10:34 +00:00
},
"skins.citizen.icons.search": {
"class": "ResourceLoaderImageModule",
"selector": ".suggestion-thumbnail",
"useDataURI": false,
"images": {
"noimage": "resources/images/cards/noimage.svg"
}
2019-08-15 17:40:13 +00:00
}
},
"ResourceFileModulePaths": {
"localBasePath": "",
"remoteSkinPath": "Citizen"
},
"ResourceModuleSkinStyles": {
"citizen": {
2019-12-26 21:46:02 +00:00
"+mediawiki.htmlform.ooui.styles": "skinStyles/mediawiki.htmlform.ooui.styles.less",
2019-08-19 19:44:19 +00:00
"+mediawiki.page.gallery.styles": "skinStyles/mediawiki.page.gallery.styles.less",
2019-12-26 21:46:02 +00:00
"+mediawiki.action.history.styles": "skinStyles/mediawiki.action.history.styles.less",
2019-08-16 06:35:44 +00:00
"+mediawiki.action.view.filepage": "skinStyles/mediawiki.action.view.filepage.less",
2019-08-15 17:40:13 +00:00
"+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",
"+mediawiki.special.userlogin.login.styles": "skinStyles/mediawiki.special.userlogin.login.styles.less",
"+mediawiki.special.apisandbox": "skinStyles/mediawiki.special.apisandbox.less",
"+mediawiki.special.preferences.styles.ooui": "skinStyles/mediawiki.special.preferences.styles.ooui.less",
"+mediawiki.diff.styles": "skinStyles/mediawiki.diff.styles.less",
"+mediawiki.ui.input": "skinStyles/mediawiki.ui.components.input.less",
"+mediawiki.ui.checkbox": "skinStyles/mediawiki.ui.components.checkbox.less",
2019-08-15 17:40:13 +00:00
"+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",
"+mediawiki.rcfilters.filters.base.styles": "skinStyles/mediawiki.rcfilters.filters.base.styles.less",
"+mediawiki.widgets.DateInputWidget.styles": "skinStyles/mediawiki.widgets.DateInputWidget.styles.less",
2019-08-21 23:44:08 +00:00
"ext.CookieWarning.styles": "skinStyles/ext.CookieWarning.styles.less",
2019-08-15 17:40:13 +00:00
"+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",
2019-08-17 05:41:14 +00:00
"+ext.Tabber": "skinStyles/ext.Tabber.less",
2019-08-15 17:40:13 +00:00
"+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",
"Citizen\\CitizenHooks": "includes/CitizenHooks.php",
"Citizen\\ApiWebappManifest": "includes/api/ApiWebappManifest.php"
2019-08-15 17:40:13 +00:00
},
"APIModules": {
"webapp-manifest": "Citizen\\ApiWebappManifest"
2019-08-15 17:40:13 +00:00
},
"Hooks": {
"BeforePageDisplay": [
"Citizen\\CitizenHooks::onBeforePageDisplay"
2019-08-15 17:40:13 +00:00
],
2019-12-12 03:38:55 +00:00
"ResourceLoaderGetConfigVars": [
"Citizen\\CitizenHooks::onResourceLoaderGetConfigVars"
2019-12-12 03:38:55 +00:00
],
2019-08-15 17:40:13 +00:00
"ThumbnailBeforeProduceHTML": [
"Citizen\\CitizenHooks::onThumbnailBeforeProduceHTML"
2019-08-15 17:40:13 +00:00
]
},
2019-12-13 02:25:37 +00:00
"manifest_version": 2
2019-08-15 17:40:13 +00:00
}