Jump to content

Manual:$wgAllowUserCss

From mediawiki.org
This page is a translated version of the page Manual:$wgAllowUserCss and the translation is 33% complete.
Seguridad: $wgAllowUserCss
Allow user Cascading Style Sheets (CSS)
Introducido en la versión:1.3.0
Eliminado en la versión:aún se usa
Valores permitidos:(booleano)
Valor predeterminado:false (1.3.10+)
true (1.3.0-1.3.9) r7357

Detalles

Enables user Cascading Style Sheets (CSS). When set to 'true', people can create their own User styles by creating a page called "User:Username/skinname.css".

When enabled, users are able to make personalized customizations over and above the normal choice of skins within the 'preferences' display.

It may increase security risk to users, as well as incurring usually negligible additional server load.

A related setting $wgAllowUserJs allows user JavaScript.

Usage

Add to LocalSettings.php:

$wgAllowUserCss = true;

Véase también