mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-11-23 22:13:38 +00:00
466 lines
18 KiB
JSON
466 lines
18 KiB
JSON
{
|
|
"name": "Citizen",
|
|
"namemsg": "skinname-citizen",
|
|
"version": "0.5.0",
|
|
"author": [
|
|
"[https://www.mediawiki.org/wiki/User:Alistair3149 Alistair3149]",
|
|
"[https://www.mediawiki.org/wiki/User:Octfx Octfx]"
|
|
],
|
|
"url": "https://github.com/StarCitizenTools/mediawiki-skins-Citizen",
|
|
"descriptionmsg": "citizen-desc",
|
|
"license-name": "GPL-3.0",
|
|
"type": "skin",
|
|
"requires": {
|
|
"MediaWiki": ">= 1.31.0"
|
|
},
|
|
"config_prefix": "wgCitizen",
|
|
"config": {
|
|
"ThemeColor": {
|
|
"value": "#11151d",
|
|
"description": "The theme color defined in the meta tag",
|
|
"descriptionmsg": "citizen-config-themecolor",
|
|
"public": true
|
|
},
|
|
"EnablePreconnect": {
|
|
"value": false,
|
|
"description": "Enable or disable preconnect to required origin",
|
|
"descriptionmsg": "citizen-config-enablepreconnect",
|
|
"public": true
|
|
},
|
|
"PreconnectURL": {
|
|
"value": "",
|
|
"description": "The URL for preconnect to required origin",
|
|
"descriptionmsg": "citizen-config-preconnectorigin",
|
|
"public": true
|
|
},
|
|
"EnableCSP": {
|
|
"value": false,
|
|
"description": "Enable or disable Content Security Policy",
|
|
"descriptionmsg": "citizen-config-enablecsp",
|
|
"public": true
|
|
},
|
|
"EnableCSPReportMode": {
|
|
"value": false,
|
|
"description": "Enable or disable Content Security Policy report only mode, it will override the CSP when enabled",
|
|
"descriptionmsg": "citizen-config-enablecspreportmode",
|
|
"public": true
|
|
},
|
|
"CSPDirective": {
|
|
"value": "",
|
|
"description": "The string of your CSP directive",
|
|
"descriptionmsg": "citizen-config-cspdirective",
|
|
"public": true
|
|
},
|
|
"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
|
|
},
|
|
"HSTSIncludeSubdomains": {
|
|
"value": false,
|
|
"description": "Apply HSTS to all of the site's subdomains",
|
|
"descriptionmsg": "citizen-config-hstsincludesubdomains",
|
|
"public": true
|
|
},
|
|
"HSTSPreload": {
|
|
"value": false,
|
|
"description": "Enable or disable HSTS preload",
|
|
"descriptionmsg": "citizen-config-hstspreload",
|
|
"public": true
|
|
},
|
|
"EnableDenyXFrameOptions": {
|
|
"value": false,
|
|
"description": "Enable or disable the deny X-Frame-Options header",
|
|
"descriptionmsg": "citizen-config-enabledenyxframeoptions",
|
|
"public": true
|
|
},
|
|
"EnableStrictReferrerPolicy": {
|
|
"value": false,
|
|
"description": "Enable or disable strict-origin-when-cross-origin referrer policy",
|
|
"descriptionmsg": "citizen-config-enablestrictreferrerpolicy",
|
|
"public": true
|
|
},
|
|
"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
|
|
},
|
|
"EnableManifest": {
|
|
"value": true,
|
|
"description": "Enable or disable web app manifest",
|
|
"descriptionmsg": "citizen-config-enablemanifest",
|
|
"public": true
|
|
},
|
|
"ManifestThemeColor": {
|
|
"value": "#11151d",
|
|
"description": "The theme color defined in the web app manifest",
|
|
"descriptionmsg": "citizen-config-manfiestthemecolor",
|
|
"public": true
|
|
},
|
|
"ManifestBackgroundColor": {
|
|
"value": "#fff",
|
|
"description": "The background color defined in the web app manifest",
|
|
"descriptionmsg": "citizen-config-manifestbackgroundcolor",
|
|
"public": true
|
|
},
|
|
"MaxSearchResults": {
|
|
"value": 6,
|
|
"description": "The max number of suggestions in search result",
|
|
"descriptionmsg": "citizen-config-maxsearchresults",
|
|
"public": true
|
|
},
|
|
"SearchExchars": {
|
|
"value": 60,
|
|
"description": "The character limit for the description in search suggestion",
|
|
"descriptionmsg": "citizen-config-searchexchars",
|
|
"public": true
|
|
},
|
|
"EnableButton": {
|
|
"value": false,
|
|
"description": "Enable or disable the floating action button on the bottom left",
|
|
"descriptionmsg": "citizen-config-enablebutton",
|
|
"public": true
|
|
},
|
|
"ButtonLink": {
|
|
"value": "",
|
|
"description": "The URL of the FAB button",
|
|
"descriptionmsg": "citizen-config-buttonlink",
|
|
"public": true
|
|
},
|
|
"ButtonTitle": {
|
|
"value": "",
|
|
"description": "The title of the link element on the FAB",
|
|
"descriptionmsg": "citizen-config-buttontitle",
|
|
"public": true
|
|
},
|
|
"ButtonText": {
|
|
"value": "",
|
|
"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
|
|
}
|
|
},
|
|
"ConfigRegistry": {
|
|
"Citizen": "GlobalVarConfig::newInstance"
|
|
},
|
|
"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.search": {
|
|
"scripts": [
|
|
"resources/scripts/underscore.partial.js",
|
|
"resources/scripts/wm-typeahead.js",
|
|
"resources/scripts/typeahead-init.js"
|
|
]
|
|
},
|
|
"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"
|
|
}
|
|
},
|
|
"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",
|
|
"help": "resources/images/icons/help.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",
|
|
"contributions": "resources/images/icons/contributions.svg",
|
|
"log": "resources/images/icons/journal.svg",
|
|
"blockip": "resources/images/icons/block.svg",
|
|
"userrights": "resources/images/icons/users.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",
|
|
"partof": "resources/images/badges/StarCitizenTools.svg"
|
|
}
|
|
},
|
|
"skins.citizen.icons.search": {
|
|
"class": "ResourceLoaderImageModule",
|
|
"selector": ".suggestion-thumbnail",
|
|
"useDataURI": false,
|
|
"images": {
|
|
"noimage": "resources/images/cards/noimage.svg"
|
|
}
|
|
}
|
|
},
|
|
"ResourceFileModulePaths": {
|
|
"localBasePath": "",
|
|
"remoteSkinPath": "Citizen"
|
|
},
|
|
"ResourceModuleSkinStyles": {
|
|
"citizen": {
|
|
"+ext.advancedSearch.initialstyles": "skinStyles/extensions/AdvancedSearch/ext.advancedSearch.initialstyles.less",
|
|
"+ext.advancedSearch.styles": "skinStyles/extensions/AdvancedSearch/ext.advancedSearch.styles.less",
|
|
|
|
"+ext.echo.styles.badge": "skinStyles/extensions/Echo/ext.echo.styles.badge.less",
|
|
"+ext.echo.ui": "skinStyles/extensions/Echo/ext.echo.ui.less",
|
|
|
|
"+ext.flow": "skinStyles/extensions/Flow/ext.flow.less",
|
|
"+ext.flow.styles.base": "skinStyles/extensions/Flow/ext.flow.styles.base.less",
|
|
"+ext.flow.ui": "skinStyles/extensions/Flow/ext.flow.ui.less",
|
|
|
|
"+ext.Lingo": "skinStyles/extensions/Lingo/ext.Lingo.less",
|
|
"+ext.Lingo.jquery.qtip": "skinStyles/extensions/Lingo/ext.Lingo.jquery.qtip.less",
|
|
|
|
"+ext.relatedArticles.cards": "skinStyles/extensions/RelatedArticles/ext.relatedArticles.cards.less",
|
|
"+ext.relatedArticles.readMore": "skinStyles/extensions/RelatedArticles/ext.relatedArticles.readMore.less",
|
|
|
|
"+ext.libs.tippy": "skinStyles/extensions/SemanticMediaWiki/ext.libs.tippy.less",
|
|
"+ext.smw.ask.styles": "skinStyles/extensions/SemanticMediaWiki/ext.smw.ask.styles.less",
|
|
"+ext.smw.browse.styles": "skinStyles/extensions/SemanticMediaWiki/ext.smw.browse.styles.less",
|
|
"+ext.smw.modal.styles": "skinStyles/extensions/SemanticMediaWiki/ext.smw.modal.styles.less",
|
|
"+ext.smw.page.styles": "skinStyles/extensions/SemanticMediaWiki/ext.smw.page.styles.less",
|
|
"+ext.smw.special.style": "skinStyles/extensions/SemanticMediaWiki/ext.smw.special.style.less",
|
|
"+ext.smw.special.styles": "skinStyles/extensions/SemanticMediaWiki/ext.smw.special.styles.less",
|
|
"+ext.smw.style": "skinStyles/extensions/SemanticMediaWiki/ext.smw.style.less",
|
|
"+ext.smw.table.styles": "skinStyles/extensions/SemanticMediaWiki/ext.smw.table.styles.less",
|
|
"+ext.smw.tooltip.styles": "skinStyles/extensions/SemanticMediaWiki/ext.smw.tooltip.styles.less",
|
|
"+ext.smw.vtabs.styles": "skinStyles/extensions/SemanticMediaWiki/ext.smw.vtabs.styles.less",
|
|
"+jquery.jsonview": "skinStyles/extensions/SemanticMediaWiki/jquery.jsonview.less",
|
|
"+jquery.selectmenu.styles": "skinStyles/extensions/SemanticMediaWiki/jquery.selectmenu.styles.less",
|
|
"+smw.content.schema": "skinStyles/extensions/SemanticMediaWiki/smw.content.schema.less",
|
|
"+smw.jsonview": "skinStyles/extensions/SemanticMediaWiki/smw.jsonview.less",
|
|
"+smw.special.search.styles": "skinStyles/extensions/SemanticMediaWiki/smw.special.search.styles.less",
|
|
"+smw.summarytable": "skinStyles/extensions/SemanticMediaWiki/smw.summarytable.less",
|
|
"+smw.tableprinter.datatables.styles": "skinStyles/extensions/SemanticMediaWiki/smw.tableprinter.datatables.styles.less",
|
|
"+smw.tippy": "skinStyles/extensions/SemanticMediaWiki/smw.tippy.less",
|
|
|
|
"+ext.translate": "skinStyles/extensions/Translate/ext.translate.less",
|
|
"+ext.translate.editor": "skinStyles/extensions/Translate/ext.translate.editor.less",
|
|
"+ext.translate.loader": "skinStyles/extensions/Translate/ext.translate.loader.less",
|
|
"+ext.translate.messagetable": "skinStyles/extensions/Translate/ext.translate.messagetable.less",
|
|
"+ext.translate.special.translate": "skinStyles/extensions/Translate/ext.translate.special.translate.less",
|
|
"+ext.translate.tag.languages": "skinStyles/extensions/Translate/ext.translate.tag.languages.less",
|
|
|
|
"+ext.uls.common": "skinStyles/extensions/UniversalLanguageSelector/ext.uls.common.less",
|
|
"+ext.uls.pt": "skinStyles/extensions/UniversalLanguageSelector/ext.uls.pt.less",
|
|
|
|
"ext.CookieWarning.styles": "skinStyles/extensions/CookieWarning/ext.CookieWarning.styles.less",
|
|
|
|
"+ext.popups.main": "skinStyles/extensions/Popups/ext.popups.main.less",
|
|
|
|
"+ext.Tabber": "skinStyles/extensions/Tabber/ext.Tabber.less",
|
|
|
|
"+ext.uploadWizard.uploadCampaign.display": "skinStyles/extensions/UploadWizard/ext.uploadWizard.uploadCampaign.display.less",
|
|
"+ext.uploadWizard.uploadCampaign.list": "skinStyles/extensions/UploadWizard/ext.uploadWizard.uploadCampaign.list.less",
|
|
"+ext.uploadWizard": "skinStyles/extensions/UploadWizard/ext.uploadWizard.less",
|
|
|
|
"+ext.visualEditor.core": "skinStyles/extensions/VisualEditor/ext.visualEditor.core.less",
|
|
|
|
"+ext.wikiEditor": "skinStyles/extensions/WikiEditor/ext.wikiEditor.less",
|
|
|
|
"+capiunto.infobox.main": "skinStyles/extensions/Capiunto/capiunto.infobox.main.less",
|
|
|
|
"+mediawiki.action.history.styles": "skinStyles/mediawiki/action/mediawiki.action.history.styles.less",
|
|
"+mediawiki.action.view.filepage": "skinStyles/mediawiki/action/mediawiki.action.view.filepage.less",
|
|
|
|
"+mediawiki.special": "skinStyles/mediawiki/special/mediawiki.special.less",
|
|
"+mediawiki.special.apisandbox": "skinStyles/mediawiki/special/mediawiki.special.apisandbox.less",
|
|
"+mediawiki.special.changeslist.enhanced": "skinStyles/mediawiki/special/mediawiki.special.changeslist.enhanced.less",
|
|
"+mediawiki.special.changeslist": "skinStyles/mediawiki/special/mediawiki.special.changeslist.less",
|
|
"+mediawiki.special.preferences.styles.ooui": "skinStyles/mediawiki/special/mediawiki.special.preferences.styles.ooui.less",
|
|
"+mediawiki.special.search.styles": "skinStyles/mediawiki/special/mediawiki.special.search.styles.less",
|
|
"+mediawiki.special.userlogin.login.styles": "skinStyles/mediawiki/special/mediawiki.special.userlogin.login.styles.less",
|
|
|
|
"+mediawiki.ui.button": "skinStyles/mediawiki/ui/mediawiki.ui.components.button.less",
|
|
"+mediawiki.ui.checkbox": "skinStyles/mediawiki/ui/mediawiki.ui.components.checkbox.less",
|
|
"+mediawiki.ui.input": "skinStyles/mediawiki/ui/mediawiki.ui.components.input.less",
|
|
|
|
"+mediawiki.diff.styles": "skinStyles/mediawiki/mediawiki.diff.styles.less",
|
|
"+mediawiki.htmlform.ooui.styles": "skinStyles/mediawiki/mediawiki.htmlform.ooui.styles.less",
|
|
"+mediawiki.legacy.shared": "skinStyles/mediawiki/mediawiki.legacy.shared.less",
|
|
"+mediawiki.page.gallery.styles": "skinStyles/mediawiki/mediawiki.page.gallery.styles.less",
|
|
"+mediawiki.rcfilters.filters.base.styles": "skinStyles/mediawiki/mediawiki.rcfilters.filters.base.styles.less",
|
|
"+mediawiki.widgets.DateInputWidget.styles": "skinStyles/mediawiki/mediawiki.widgets.DateInputWidget.styles.less",
|
|
|
|
"+oojs-ui-core.styles": "skinStyles/oojs/oojs-ui-core.less",
|
|
"+oojs-ui-toolbars": "skinStyles/oojs/oojs-ui-toolbars.less",
|
|
"+oojs-ui-widgets": "skinStyles/oojs/oojs-ui-widgets.less",
|
|
"+oojs-ui-windows": "skinStyles/oojs/oojs-ui-windows.less",
|
|
|
|
"+jquery.ui.core.styles": "skinStyles/jquery.ui/smoothness/jquery.ui.theme.less",
|
|
|
|
"+mmv": "skinStyles/extensions/MultimediaViewer/mmv.less"
|
|
}
|
|
},
|
|
"AutoloadClasses": {
|
|
"SkinCitizen": "includes/SkinCitizen.php",
|
|
"CitizenTemplate": "includes/CitizenTemplate.php",
|
|
"Citizen\\CitizenHooks": "includes/CitizenHooks.php",
|
|
"Citizen\\ApiWebappManifest": "includes/api/ApiWebappManifest.php"
|
|
},
|
|
"APIModules": {
|
|
"webapp-manifest": "Citizen\\ApiWebappManifest"
|
|
},
|
|
"Hooks": {
|
|
"BeforePageDisplay": [
|
|
"Citizen\\CitizenHooks::onBeforePageDisplay"
|
|
],
|
|
"ResourceLoaderGetConfigVars": [
|
|
"Citizen\\CitizenHooks::onResourceLoaderGetConfigVars"
|
|
],
|
|
"ThumbnailBeforeProduceHTML": [
|
|
"Citizen\\CitizenHooks::onThumbnailBeforeProduceHTML"
|
|
]
|
|
},
|
|
"manifest_version": 2
|
|
}
|