Jump to content

Manual:$wgDefaultSkin

From mediawiki.org
This page is a translated version of the page Manual:$wgDefaultSkin and the translation is 62% complete.
Temas: $wgDefaultSkin
O tema predefinido para os novos utilizadores.
Introduzida na versão:1.3.0
Removida na versão:ainda em uso
Valores permitidos:(string)
Valor por omissão:'vector-2022' (1.41+)

'vector' (1.18-1.40)

'monobook' (1.3–1.17)

Detalhes

This setting sets the default skin and should be set to the lowercase name of the skin (e.g. 'monobook', not 'MonoBook').

Note that this only sets the default skin. The site renders in this skin to anonymous visitors and to registered users who have not chosen a different skin in Preferences or temporarily overridden the skin. (Use $wgSkipSkins to limit the skins that users can choose in Preferences.)

Alterar as preferências do utilizador quando remover um tema

In versions up to at most 1.11, upon registration the value of $wgDefaultSkin was copied to the user preferences; thus setting $wgDefaultSkin to another skin would not have had any effect on registered users, even if they never changed their preferences. And it did not have an effect on registered users, who did change the skin to use.

When you remove a skin from the list of skins to choose from, use the maintenance script userOptions.php to make sure that this skin is also not chosen by any user:

php userOptions.php --old "monobook" --new "vector" skin

This will change the skin for all registered users, who have selected Monobook, to Vector.

Temas disponíveis

Bundled

See Bundled extensions and skins#Skins.

Available

Legacy information

Several skins are included with the MediaWiki installer tarball (the table below details the versions they were/are available with). Pode encontrar mais temas em Categoria:Todos os temas.

The first column gives the ID which should be used to configure this setting, the second gives the name as it appears within the MediaWiki interface and the third indicates the versions of MediaWiki that this skin is available for:

Skins included with the MediaWiki installer tarball
Id. Nome Versões
standard Classic 1.001pré- 1.0 – 1.21
nostalgia Nostalgia 1.001pré- 1.0 – 1.21
cologneblue Azul colonial 1.001pré- 1.0 - 1.30
smarty Paddington 1.0002003-09-11 - 1.2
montparnasse Montparnasse 1.0002003-09-11 - 1.2
minerva MinervaNeue 1.3801.38+
davinci DaVinci 1.0301.3
modern Moderno 1.1201.12 - 1.30
monobook MonoBook 1.0301.3+
myskin MySkin 1.0301.3 – 1.21
chick Chick 1.0401.4 – 1.21
simple Simple 1.0501.5 – 1.21
timeless Timeless 1.3101.31+
vector Vector antigo (2010) 1.1601.16+
amethyst Amethyst 1.0401.4
wikimania Wikimania 1.0401.4