Skin:Cosmos/nl
Appearance
![]() Release status: stabiel |
|||
---|---|---|---|
![]() |
|||
Beschrijving | Cosmos is een skin ontworpen en gebaseerd op de skin van Fandom's Oasis. Ontworpen om hun ontwerp te verbeteren en een efficiënt MediaWiki-scherm te bieden voor niet-Fandom-gebruikers of voor gebruikers die uit Fandom overstappen. | ||
Auteur(s) | |||
Laatste versie | 7.0.0 (2023-05-11) | ||
Compatibiliteit beleid | Snapshots releases samen met MediaWiki. Master is niet achterwaarts compatibel. | ||
MediaWiki | 1.39.0+ | ||
Licentie | GNU General Public Licentie 3.0 of hoger | ||
Download | README.md Meld u aan bij de Cosmos Discord server als u hulp nodig heeft, of maak een taak op Phabricator aan over het onderwerp (link hieronder). |
||
Voorbeeld | Cosmos Example Wiki, Wikimedia Skins Lab | ||
|
|||
Downloads kwartaal | 83 (Ranked 6th) | ||
Publieke wiki's die het gebruiken | 25 (Ranked 71st) | ||
Publieke wiki's die het standaard skin gebruiken | 2 | ||
Vertaal de Cosmos skin indien beschikbaar op translatewiki.net | |||
Problemen : | Open taken · Rapporteer een bug |
Cosmos is een skin ontworpen en gebaseerd op de skin van Fandom's Oasis. Ontworpen om hun ontwerp te verbeteren en een efficiënt MediaWiki-scherm te bieden voor niet-Fandom-gebruikers of voor gebruikers die uit Fandom overstappen. Als u wilt weten hoe u kunt bijdragen, lees dan onze handleiding.
Installeren
- Download en plaats de bestanden in de map
Cosmos
in de mapskins/
. - Voeg de volgende code onderaan aan je bestand LocalSettings.php toe:
wfLoadSkin( 'Cosmos' );
- Configureer naar vereiste.
Klaar - Navigeer naar Special:Version op de wiki om te controleren dat de vormgeving succesvol is geïnstalleerd.
Configuratie
Deze instellingen gelden als Cosmos de actieve skin is.
Optie | Type | Standaardwaarde | Vereist | Documentatie |
---|---|---|---|---|
$wgCosmosWordmark
|
String; volledige URL of bestandsnaam |
|
Voegt een woordenmerk toe aan de wiki-navigatie | |
$wgCosmosBannerBackgroundColor
|
String; kleurnaam of hexcode | '#c0c0c0'
|
Wijzigt de achtergrondkleur van de bovenste banner (die met de vervolgkeuzelijst voor persoonlijke hulpmiddelen). | |
$wgCosmosWikiHeaderBackgroundImage
|
String; volledige URL of bestandsnaam | false
|
Voegt een achtergrondafbeelding toe aan de wiki-header (de met de site-navigatielinks); vermengt beeld met hoofdkleur met behulp van gradient. | |
$wgCosmosWikiHeaderBackgroundColor
|
String; kleurnaam of hexcode | '#c0c0c0'
|
Verandert de achtergrondkleur van de wiki-header (de met de navigatielinks op de site); $wgCosmosWikiHeaderBackgroundImage gebruikt dit om de afbeelding te mengen met deze kleur, als de afbeelding is ingesteld.
| |
$wgCosmosBackgroundImage
|
String; volledige URL of bestandsnaam | false
|
Voegt een achtergrondafbeelding toe aan de hoofdtekst van de pagina (achter het inhoudsgebied); vernietigt effectief $wgCosmosMainBackgroundColor , omdat de afbeelding de kleur zou bedekken.
| |
$wgCosmosMainBackgroundColor
|
String; kleurnaam of hexcode | '#1A1A1A'
|
Voegt een achtergrondkleur toe aan de page-body (achter het inhoudsgebied); effectief geannuleerd met $wgCosmosBackgroundImage , omdat de afbeelding de kleur zou bedekken.
| |
$wgCosmosContentBackgroundColor
|
String; kleurnaam of hexcode | '#ffffff'
|
Verandert de achtergrondkleur van het hoofd wiki-artikelinhoudgebied; $wgCosmosContentOpacityLevel gebruikt dit om een achtergrondkleur-opaciteitniveau in RGBA-stijl te maken.
| |
$wgCosmosBackgroundImageSize
|
Strings; auto, contain or cover | 'cover'
|
$wgCosmosBackgroundImage set;
|
Stelt de grootte van de achtergrondafbeelding in voor de achtergrond van de hoofdtekst, indien ingesteld; Hoewel de tekenreeks alle waarden accepteert, wordt aanbevolen om een van de volgende opties te gebruiken: auto, contain, of cover. |
$wgCosmosContentWidth
|
String; default, large, or full | 'default'
|
Sets the main content area width. Can be 'default', 'large', or 'full'. 'default' means the width is 1024px on screen sizes 1084px to 1595px, and 1178px on screen sizes 1596px and above. 'large' means it is the default (for the relevent screen size) plus 176px. 'full' will set the width to 'auto' for either screen size. In addition if it is set to 'full', the screen-size specific max-width, and padding on #mw-content-wrapper are not set on either of the mentioned screen sizes, and use the default ones or that of lower screen sizes, making max-width much larger, and making the content area have much less padding. | |
$wgCosmosButtonBackgroundColor
|
String; kleurnaam of hexcode | '#c0c0c0'
|
Wijzigt de achtergrondkleur van de pagina-actieknoppen voor Cosmos; stelt ook de kleuren van PortableInfobox in door middel van mengen als de extensie is geïnstalleerd. | |
$wgCosmosToolbarBackgroundColor
|
String; kleurnaam of hexcode | '#000000'
|
Wijzigt de achtergrondkleur van de drijvende toolbar onderaan. | |
$wgCosmosFooterBackgroundColor
|
String; kleurnaam of hexcode | '#c0c0c0'
|
Wijzigt de achtergrondkleur van de voet; de voet heeft altijd een opaciteit van 0,8, dus deze variabele wordt omgezet in RGBA om deze opaciteit in te stellen. | |
$wgCosmosBackgroundImageRepeat
|
Boolean | false
|
$wgCosmosBackgroundImage set;
|
bij true wordt de achtergrondbeeld ingesteld op 'repeat', bij false wordt deze ingesteld op 'no-repeat'. |
$wgCosmosBackgroundImageFixed
|
Boolean | true
|
$wgCosmosBackgroundImage set;
|
bij true wordt de achtergrondafbeelding ingesteld op position: fixed; .
|
$wgCosmosLinkColor
|
String; kleurnaam of hexcode | '#0645ad'
|
wijzigt de kleur van de links. | |
$wgCosmosContentOpacityLevel
|
Integer | 100 | $wgCosmosContentBackgroundColor set;
|
Stelt de opaciteit van de achtergrond van het inhoudsgebied in op een percentage, zonder het symbool (%). |
$wgCosmosRailDisabledNamespaces
|
Array | [ NS_SPECIAL, NS_MEDIAWIKI, NS_MEDIAWIKI_TALK ] | List of namespace constants or IDs to always hide the rail in. | |
$wgCosmosRailDisabledPages
|
Array | [ 'mainpage' ]
|
List of page titles or 'mainpage' to always hide the rail in. Works exactly like __NORAIL__ magic word.
| |
$wgCosmosEnableWantedPages
|
Boolean | true
|
Whether or not to enable the WantedPages feature of the create page dialog. | |
$wgCosmosFetchWantedPagesFromCache
|
Boolean | false
|
Whether or not to fetch the wanted pages shown within the create page dialog 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.
| |
$wgCosmosWantedPagesMaxTitlesCount
|
Integer | 6 | Set to the max number of wanted pages to display in the create page dialog, if wanted pages are enabled. | |
$wgCosmosWantedPagesFetchedNamespaces
|
Array | [ NS_MAIN ] | Set to an array of namespaces to fetch wanted pages from, if wanted pages are enabled for the create page dialog. |
- Associatieve arrays
Optie | Standaardwaarde | Documentatie |
---|---|---|
$wgCosmosEnabledRailModules
|
'recentchanges' => false,
'interface' => [
'cosmos-custom-rail-module' => 'normal',
'cosmos-custom-sticky-rail-module' => 'sticky'
]
|
Sets which rail modules will be enabled on Cosmos, and whether they are 'sticky' or 'normal'. 'interface' can be an array of any size with a list of interface messages for Cosmos to recognize as a new custom right rail. For any rail module, it can be mapped to either 'normal' or 'sticky', 'normal' will make them stay in a fixed position on the page, and 'sticky' makes them stick to the page as you scroll down. Setting it to false will disable the specific rail module entirely. If interface messages, set in the config are set to '-', don't exist, or are completely empty, it will treat them as disabled and won't appear in the rail at all. If no modules are appearing in rail, then the article area will expand to cover the rail area. If you don't have JavaScript enabled in your browser, then it is recommended to only have one sticky rail module enabled at the same time, otherwise they will overlap on top of each other. Also see other configs for rail. |
Configuratie opties extensie
SocialProfile
Het gebruiken van deze instellingen vereist dat SocialProfile is geïnstalleerd.
Optie | Type | Standaardwaarde | Vereist | Documentatie |
---|---|---|---|---|
$wgCosmosSocialProfileAllowBio
|
Boolean | true
|
Allows users to add a bio to display on their user pages, through Special:MyPage/bio. | |
$wgCosmosSocialProfileFollowBioRedirects
|
Boolean | false
|
$wgCosmosSocialProfileAllowBio set to true
|
Whether or not to follow redirects from Special:MyPage/bio and display the redirect target as bio instead. (experimental) |
$wgCosmosSocialProfileModernTabs
|
Boolean | true
|
Maakt een moderne versie van de tabbladen op SocialProfile-profielpagina's mogelijk. | |
$wgCosmosSocialProfileRoundAvatar
|
Boolean | true
|
Maakt de avatar rond op SocialProfile-profielpagina's. | |
$wgCosmosSocialProfileShowEditCount
|
Boolean | true
|
Toont het bewerkingsgetal en de registratiedatum van de gebruiker op de SocialProfile-profielpagina's, onder hun gebruikersnaam. | |
$wgCosmosSocialProfileShowGroupTags
|
Boolean | true
|
$wgCosmosNumberofGroupTags set and more than zero; $wgCosmosProfileTagGroups set with at least one usergroup in the array
|
Maakt het mogelijk om gebruikersgroeptags te tonen naast de gebruikersnaam van de gebruiker op SocialProfile-profielpagina's. |
$wgCosmosSocialProfileTagGroups
|
Array | [ 'bureaucrat', 'bot', 'sysop', 'interface-admin' ]
|
$wgCosmosSocialProfileNumberofGroupTags set and more then zero; $wgCosmosSocialProfileShowGroupTags set to true
|
Array van gebruikersgroepen om te tonen op SocialProfile-pagina's als de gebruiker ze heeft. |
$wgCosmosSocialProfileNumberofGroupTags
|
Integer | 2 | $wgCosmosSocialProfileTagGroups set with at least one usergroup in the array; $wgCosmosSocialProfileShowGroupTags set to true
|
Stel het maximale aantal groepstags in dat op de SocialProfile-pagina van een gebruiker moet worden weergegeven als ze deze hebben. |
$wgCosmosUseSocialProfileAvatar
|
Boolean | true
|
Gebruik SocialProfile-avatar als avatar naast de gebruikersnaam in de bovenste banner (de banner met de dropdown van de persoonlijke hulpmiddelen). Als de gebruiker geen avatar heeft en dit is ingesteld, zal de standaard SocialProfile-avatar worden gebruikt. |
PortableInfobox
Het gebruiken van deze instellingen vereist dat PortableInfobox is geïnstalleerd.
Optie | Type | Standaardwaarde | Vereist | Documentatie |
---|---|---|---|---|
$wgCosmosEnablePortableInfoboxEuropaTheme
|
Boolean | true
|
$wgCosmosButtonBackgroundColor set;
|
Schakelt het Europa-thema in vanuit de draagbare infobox-extensie van Fandom op de geporteerde extensie. |
Usage
Interface
- MediaWiki:Cosmos-tagline
- Wijzigt de tekst van de site-naam in de wiki-header. Standaardwaarde is de waarde van MediaWiki:Sitenname.
- MediaWiki:Cosmos-navigation
- Wijzigt de sitenavigatie voor deze skin; standaard naar MediaWiki:Sidebar, hoewel het wordt aanbevolen om MediaWiki:Sidebar te kopiëren naar MediaWiki:Cosmos-navigation en het Cosmos-navigatieformaat te volgen voor de beste resultaten. Deze navigatie kan tot 3 niveaus diep zijn en maakt het mogelijk om een paar variabelen te gebruiken:
{$NEWVIDEOS_CONDITIONAL}
(alternatively,{$NEWVIDEOS}
) will display a link to Special:NewVideos only when the Video extension is enabled.{$WANTEDPAGES_CONDITIONAL}
(alternatively,{$WANTEDPAGES}
) will display a link to Special:WantedPages only when the Video extension is not enabled.{$WANTEDPAGES_FORCE}
will display a link to Special:WantedPages regardless of if the Video extension is enabled or not.
The navigation should be in the format of:
*#|Community **mainpage|mainpage-description **recentchanges-url|recentchanges **portal-url|portal *link|Tab title/level one **Level 2 tab title ***Level 3 content 1 *cosmos-explore **recentchanges-url|recentchanges **randompage-url|randompage **Special:NewFiles|cosmos-newfiles {$NEWVIDEOS_CONDITIONAL} {$WANTEDPAGES_CONDITIONAL}
and, defaults to:
{{int:Sidebar}} *cosmos-explore **recentchanges-url|recentchanges **randompage-url|randompage **Special:NewFiles|cosmos-newfiles {$NEWVIDEOS_CONDITIONAL} {$WANTEDPAGES_CONDITIONAL}
Parser functions
Cosmos provides a couple parser functions:
{{#ADDITIONALBODYCLASS}}
- Description: Allows to add additional body class to particular pages to allow for further per-page customisation with CSS. Available as of version 6.2.0.
- Usage:
{{#ADDITIONALBODYCLASS:class-name}}
__NORAIL__
- Description: provides a magic word to hide the rail on particular pages. Available as of version 6.0.0.
- Usage: Put
__NORAIL__
at the top of the page you want to hide the rail on.
Opmerkingen
- On large wikis, it is recommended to set either
$wgCosmosEnableWantedPages = false;
or$wgCosmosFetchWantedPagesFromCache = true;
(both available since version 6.2.0), otherwise it can have significant performance impact. - As of version 6.2.0, MediaWiki:Cosmos-navigation is cached to provide performance improvements and not fetch this on every page load. This cache is reset when any interface message is updated.
- As of version 5.0.0 Cosmos has a special page, Special:ThemeDesigner, that allows some theme-related Cosmos configs be modified on-wiki. It also comes with the themdesigner right, which is given to sysops by default and is required in order to enter Special:ThemeDesigner. This is a highly experimental feature.
- As of version 4.0.0, Cosmos supports MediaWiki 1.36.
- Cosmos uses the Special:Statistics article count, therefore setting
$wgArticleCountMethod = 'any';
and afterwards running maintenance/UpdateArticleCount.php will make that counter use all content pages.- Counter will not display at all if user does not have the
read
userright.
- Counter will not display at all if user does not have the
- Een "Admin Dashboard" -icon verschijnt als de extensie AdminLinks is ingeschakeld en u het vereiste recht (adminlinks) heeft.
- Linkt naar Special:AddVideo, zal verschijnen als de extensie Video is ingeschakeld en u het nodige recht heeft (addvideo).
- Cosmos gebruikt standaard cookies voor de site-notice. Als de extensie DismissableSiteNotice is ingeschakeld, dan zal Cosmos in plaats daarvan omzetten naar die extensie.
- Cosmos ondersteunt Echo-meldingen. Als de extensie Echo is ingeschakeld en de gebruiker is ingelogd, wordt er een meldingspictogram naast het menu voor persoonlijke hulpmiddelen weergegeven.
- Cosmos heeft een methode om een artikel te maken om gemakkelijk artikelen te maken via een pop-up.
- Will not appear if user does not have both the
edit
andcreatepage
rights.
- Will not appear if user does not have both the
- Cosmos supports the mobile responsiveness preference provided by MediaWiki core.
- Cosmos is getest en werkt met VisualEditor .
- Er zijn body-classes voor de hoofdpagina, of een gebruiker is aangemeld of niet, en of
$wgCosmosContentBackgroundColor
is ingesteld op een licht of donker thema (theme-dark
oftheme-light
classes).
Geplande functies
- All the formerly planned features have now been implemented. If you wish to request a feature, please do so on the talk page of this skin.
![]() | Deze skin is beschikbaar op de volgende wiki-families en/of onderdeel van de volgende pakketten: Dit is geen gezaghebbende lijst. Sommige wikifarms/hosts en/of pakketten kunnen deze skin bevatten, zelfs als ze hier niet worden vermeld. Controleer het altijd bij uw wiki farms/hosts of bundel. |
Categories:
- GPL licensed skins/nl
- Stable skins/nl
- Skins in Wikimedia version control/nl
- AdminLinks extensions/nl
- GetDoubleUnderscoreIDs extensions/nl
- MessageCacheReplace extensions/nl
- OutputPageBodyAttributes extensions/nl
- OutputPageParserOutput extensions/nl
- ParserFirstCallInit extensions/nl
- SkinPageReadyConfig extensions/nl
- UserProfileGetProfileTitle extensions/nl
- All skins/nl
- Skins included in Miraheze/nl
- Skins included in MyWikis/nl
- Skins included in Telepedia/nl
- Skins included in WikiForge/nl
- Mobile skins/nl
- Extensions by Fandom/nl