{
"name": "Cosmos",
"version": "6.9.2",
"author": [
"Universal Omega",
"..."
],
"url": "https://www.mediawiki.org/wiki/Skin:Cosmos",
"descriptionmsg": "cosmos-desc",
"namemsg": "skinname-cosmos",
"license-name": "GPL-3.0-or-later",
"type": "skin",
"requires": {
"MediaWiki": ">= 1.38.0"
},
"ValidSkinNames": {
"cosmos": {
"displayname": "Cosmos",
"class": "MediaWiki\\Skins\\Cosmos\\SkinCosmos",
"services": [
"ConfigFactory",
"ContentLanguage",
"CosmosRailBuilder",
"CosmosWordmarkLookup",
"LanguageNameUtils",
"PermissionManager",
"SpecialPageFactory",
"TitleFactory"
],
"args": [ {
"name": "cosmos",
"responsive": true,
"template": "MediaWiki\\Skins\\Cosmos\\CosmosTemplate",
"bodyClasses": [
"skin-cosmos-search-vue"
],
"styles": [
"skins.cosmos.styles"
],
"scripts": [
"skins.cosmos.searchLoader",
"skins.cosmos.js"
]
} ]
}
},
"MessagesDirs": {
"Cosmos": [
"i18n"
]
},
"ExtensionMessagesFiles": {
"CosmosAliases": "CosmosAliases.php",
"CosmosMagic": "CosmosMagic.php"
},
"AutoloadNamespaces": {
"MediaWiki\\Skins\\Cosmos\\": "includes/"
},
"ServiceWiringFiles": [
"includes/ServiceWiring.php"
],
"ConfigRegistry": {
"Cosmos": "GlobalVarConfig::newInstance"
},
"GroupPermissions": {
"sysop": {
"themedesigner": true
}
},
"AvailableRights": [
"themedesigner"
],
"SpecialPages": {
"ThemeDesigner": {
"class": "MediaWiki\\Skins\\Cosmos\\Special\\SpecialThemeDesigner",
"services": [
"CosmosConfig"
]
}
},
"ResourceModules": {
"skins.cosmos.styles": {
"class": "MediaWiki\\Skins\\Cosmos\\CosmosResourceLoaderModule",
"features": {
"content-links": true,
"content-media": true,
"content-tables": true,
"elements": true,
"interface": true,
"interface-category": true,
"interface-message-box": true,
"logo": true,
"normalize": true
},
"targets": [
"desktop",
"mobile"
],
"styles": {
"resources/skins.cosmos.styles/common.less": {
"media": "screen"
},
"resources/skins.cosmos.styles/desktop.less": {
"media": "screen and (min-width: 851px)"
},
"resources/skins.cosmos.styles/desktop-mid.less": {
"media": "screen and (min-width: 1100px) and (max-width: 1339px)"
},
"resources/skins.cosmos.styles/desktop-small.less": {
"media": "screen and (min-width: 851px) and (max-width: 1099px)"
},
"resources/skins.cosmos.styles/mobile.less": {
"media": "screen and (max-width: 850px)"
},
"resources/skins.cosmos.styles/print.less": {
"media": "print"
},
"resources/skins.cosmos.styles/responsive.less": {}
}
},
"skins.cosmos.js": {
"targets": [
"desktop",
"mobile"
],
"scripts": [
"resources/skins.cosmos.js/cosmos.js",
"resources/skins.cosmos.js/mobile.js"
],
"dependencies": [
"mediawiki.cookie"
]
},
"skins.cosmos.searchLoader": {
"packageFiles": [
"resources/skins.cosmos.searchLoader/searchLoader.js",
{
"name": "resources/skins.cosmos.searchLoader/config.json",
"callback": "MediaWiki\\Skins\\Cosmos\\Hooks\\ResourceLoaderCallbacks::getCosmosResourceLoaderConfig"
}
],
"dependencies": [
"mediawiki.page.ready",
"mediawiki.util"
],
"messages": [ "cosmos-search-loader" ]
},
"skins.cosmos.search": {
"es6": true,
"dependencies": [
"mediawiki.Uri",
"wvui-search"
],
"packageFiles": [
"resources/skins.cosmos.search/skins.cosmos.search.js",
"resources/skins.cosmos.search/fetch.js",
"resources/skins.cosmos.search/actionSearchClient.js",
"resources/skins.cosmos.search/restSearchClient.js",
"resources/skins.cosmos.search/App.vue",
{
"name": "resources/skins.cosmos.search/config.json",
"callback": "MediaWiki\\Skins\\Cosmos\\Hooks\\ResourceLoaderCallbacks::getCosmosSearchResourceLoaderConfig"
}
],
"messages": [
"searchbutton",
"searchresults",
"cosmos-searchsuggest-containing"
]
},
"skins.cosmos.rail": {
"targets": [
"desktop",
"mobile"
],
"styles": "resources/skins.cosmos.rail/rail.less"
},
"skins.cosmos.portableinfobox": {
"class": "MediaWiki\\Skins\\Cosmos\\CosmosResourceLoaderModule",
"features": {
"content-body": false,
"toc": false
},
"targets": [
"desktop",
"mobile"
],
"styles": {
"resources/extensions/PortableInfobox/PortableInfobox.less": {
"media": "screen"
}
}
},
"skins.cosmos.portableinfobox.default": {
"class": "MediaWiki\\Skins\\Cosmos\\CosmosResourceLoaderModule",
"features": {
"content-body": false,
"toc": false
},
"targets": [
"desktop",
"mobile"
],
"styles": "resources/extensions/PortableInfobox/PortableInfoboxDefaultTheme.less"
},
"skins.cosmos.portableinfobox.europa": {
"class": "MediaWiki\\Skins\\Cosmos\\CosmosResourceLoaderModule",
"features": {
"content-body": false,
"toc": false
},
"targets": [
"desktop",
"mobile"
],
"styles": "resources/extensions/PortableInfobox/PortableInfoboxEuropaTheme.less"
},
"skins.cosmos.socialprofile": {
"class": "MediaWiki\\Skins\\Cosmos\\CosmosResourceLoaderModule",
"features": {
"content-body": false,
"toc": false
},
"targets": [
"desktop",
"mobile"
],
"styles": {
"resources/extensions/SocialProfile/profile-common.less": {
"media": "screen"
}
}
},
"skins.cosmos.profiletabs": {
"class": "MediaWiki\\Skins\\Cosmos\\CosmosResourceLoaderModule",
"features": {
"content-body": false,
"toc": false
},
"targets": [
"desktop",
"mobile"
],
"styles": {
"resources/extensions/SocialProfile/profiletabs.less": {
"media": "screen"
}
}
},
"skins.cosmos.profileavatar": {
"class": "MediaWiki\\Skins\\Cosmos\\CosmosResourceLoaderModule",
"features": {
"content-body": false,
"toc": false
},
"targets": [
"desktop",
"mobile"
],
"styles": {
"resources/extensions/SocialProfile/profileavatar.less": {
"media": "screen"
}
}
},
"skins.cosmos.profileeditcount": {
"class": "MediaWiki\\Skins\\Cosmos\\CosmosResourceLoaderModule",
"features": {
"content-body": false,
"toc": false
},
"targets": [
"desktop",
"mobile"
],
"styles": {
"resources/extensions/SocialProfile/profileeditcount.less": {
"media": "screen"
}
}
},
"skins.cosmos.profiletags": {
"class": "MediaWiki\\Skins\\Cosmos\\CosmosResourceLoaderModule",
"features": {
"content-body": false,
"toc": false
},
"targets": [
"desktop",
"mobile"
],
"styles": {
"resources/extensions/SocialProfile/profiletags.less": {
"media": "screen"
}
}
},
"skins.cosmos.profilebio": {
"class": "MediaWiki\\Skins\\Cosmos\\CosmosResourceLoaderModule",
"features": {
"content-body": false,
"toc": false
},
"targets": [
"desktop",
"mobile"
],
"styles": {
"resources/extensions/SocialProfile/profilebio.less": {
"media": "screen"
}
}
},
"skins.cosmos.codemirror": {
"class": "MediaWiki\\Skins\\Cosmos\\CosmosResourceLoaderModule",
"features": {
"content-body": false,
"toc": false
},
"targets": [
"desktop",
"mobile"
],
"styles": {
"resources/extensions/CodeMirror.visualEditor/darkTheme.less": {
"media": "screen"
}
}
}
},
"ResourceFileModulePaths": {
"localBasePath": "",
"remoteSkinPath": "Cosmos"
},
"ResourceModuleSkinStyles": {
"cosmos": {
"+oojs-ui-core.styles": "resources/skinStyles/ooui.less",
"+ext.echo.styles.badge": "resources/skinStyles/ext.echo.styles.badge.less",
"+ext.visualEditor.core": "resources/skinStyles/ext.visualEditor.less",
"+ext.CodeMirror.visualEditor.init": "resources/skinStyles/ext.CodeMirror.visualEditor.less",
"+ext.dummyfandoommainpagetags.styles": "resources/skinStyles/ext.dummyfandoommainpagetags.less"
}
},
"config": {
"CosmosBannerBackgroundColor": {
"value": "#c0c0c0",
"description": "Changes the background color of the personal navigation"
},
"CosmosWikiHeaderBackgroundColor": {
"value": "#c0c0c0",
"description": "Changes the background color of the wiki navigation"
},
"CosmosMainBackgroundColor": {
"value": "#1A1A1A",
"description": "Adds a background color to the page body (behind the content area)"
},
"CosmosContentBackgroundColor": {
"value": "#ffffff",
"description": "Changes the background color of the wiki article area"
},
"CosmosButtonBackgroundColor": {
"value": "#c0c0c0",
"description": "Changes the background color of the page action buttons for Cosmos"
},
"CosmosToolbarBackgroundColor": {
"value": "#000000",
"description": "Changes the background color of the toolbar"
},
"CosmosFooterBackgroundColor": {
"value": "#c0c0c0",
"description": "Changes the background color of the footer"
},
"CosmosLinkColor": {
"value": "#0645ad",
"description": "Changes the color of links in the cosmos wiki article area"
},
"CosmosContentOpacityLevel": {
"value": 100,
"description": "Set the content area background opacity in percentage (without the percent symbol)"
},
"CosmosWordmark": {
"value": false,
"description": "Adds a wordmark to the wiki navigation"
},
"CosmosWikiHeaderBackgroundImage": {
"value": false,
"description": "Adds a background image to the wiki navigation"
},
"CosmosBackgroundImage": {
"value": false,
"description": "Adds a background image to the page body (behind the content area)"
},
"CosmosBackgroundImageSize": {
"value": "cover",
"description": "Sets the background image size for the body background if set"
},
"CosmosContentWidth": {
"value": "default",
"description": "Sets the main content area width. Can be 'default', 'large', or 'full'."
},
"CosmosBackgroundImageRepeat": {
"value": false,
"description": "If true the background image will be set to 'repeat' otherwise, if false, it will be set to 'no-repeat'"
},
"CosmosBackgroundImageFixed": {
"value": true,
"description": "If true the background image will be set to position: fixed"
},
"CosmosSearchHost": {
"value": ""
},
"CosmosSearchOptions": {
"value": {
"showThumbnail": true,
"showDescription": true
}
},
"CosmosSearchDescriptionSource": {
"value": "textextracts"
},
"CosmosMaxSearchResults": {
"value": 10
},
"CosmosSearchUseActionAPI": {
"value": false
},
"CosmosEnableWantedPages": {
"value": true,
"description": "Whether or not to enable the WantedPages feature of the create page dialogue."
},
"CosmosFetchWantedPagesFromCache": {
"value": false,
"description": "Whether or not to fetch the wanted pages shown within the create page dialogue from cache. If enabled you will need to run php updateSpecialPages.php --only=WantedPages in order to update the wanted pages. It is recommended to set this to true on large wikis."
},
"CosmosWantedPagesMaxTitlesCount": {
"value": 6,
"description": "Set to the max number of wanted pages to display in the create page dialogue, if wanted pages are enabled."
},
"CosmosWantedPagesFetchedNamespaces": {
"value": [ 0 ],
"description": "Set to an array of namespaces to fetch wanted pages from, if wanted pages are enabled for the create page dialogue."
},
"CosmosRailDisabledNamespaces": {
"value": [ -1, 8, 9 ],
"description": "List of namespaces to disable the rail in."
},
"CosmosRailDisabledPages": {
"value": [ "mainpage" ],
"description": "List of pages to disable the rail in."
},
"CosmosEnabledRailModules": {
"value": {
"recentchanges": false,
"interface": [ {
"cosmos-custom-rail-module": "normal",
"cosmos-custom-sticky-rail-module": "sticky"
} ]
},
"description": "Sets which rail modules will be enabled on Cosmos, and whether they are 'sticky' or 'normal'"
},
"CosmosEnablePortableInfoboxEuropaTheme": {
"value": true,
"description": "Enables the Europa theme from Fandom's portable infobox extension on the ported extension."
},
"CosmosSocialProfileModernTabs": {
"value": true,
"description": "Enables a modern version of the tabs on SocialProfile profile pages"
},
"CosmosSocialProfileRoundAvatar": {
"value": true,
"description": "Makes the avatar round on SocialProfile profile pages"
},
"CosmosSocialProfileShowEditCount": {
"value": true,
"description": "Show's the edit count and registration date for the user on SocialProfile profile pages, underneath their username"
},
"CosmosSocialProfileAllowBio": {
"value": true,
"description": "Allows users to add a bio to display on their user pages, through Special:MyPage/bio"
},
"CosmosSocialProfileFollowBioRedirects": {
"value": false,
"description": "Whether or not to follow redirects from Special:MyPage/bio and display the redirect target as bio instead (experimental)"
},
"CosmosSocialProfileShowGroupTags": {
"value": true,
"description": "Enables usergroup tags to appear next to user's username on SocialProfile profile pages"
},
"CosmosSocialProfileTagGroups": {
"value": [ "bureaucrat", "bot", "sysop", "interface-admin" ],
"description": "Array of usergroups to show on SocialProfile pages if the user has them"
},
"CosmosSocialProfileNumberofGroupTags": {
"value": 2,
"description": "Set the max number of group tags to show on a user's SocialProfile page if they have them"
},
"CosmosUseSocialProfileAvatar": {
"value": true,
"description": "Use SocialProfile avatar as avatar next to username in top banner"
}
},
"HookHandlers": {
"main": {
"class": "MediaWiki\\Skins\\Cosmos\\Hooks"
},
"socialprofile": {
"class": "MediaWiki\\Skins\\Cosmos\\Hooks\\Handlers\\SocialProfileHookHandler",
"services": [
"ConfigFactory",
"TitleFactory",
"UserGroupManager",
"WikiPageFactory"
]
}
},
"Hooks": {
"AdminLinks": "MediaWiki\\Skins\\Cosmos\\Hooks::addToAdminLinks",
"AlternateEditPreview": {
"handler": "main"
},
"BeforeInitialize": {
"handler": "main"
},
"GetDoubleUnderscoreIDs": {
"handler": "main"
},
"MessageCacheReplace": {
"handler": "main"
},
"OutputPageBodyAttributes": {
"handler": "main"
},
"OutputPageParserOutput": {
"handler": "main"
},
"ParserFirstCallInit": {
"handler": "main"
},
"UserProfileGetProfileTitle": {
"handler": "socialprofile"
}
},
"manifest_version": 2
}