Jump to content

Handbuch:$wgAllowUserCss

From mediawiki.org
This page is a translated version of the page Manual:$wgAllowUserCss and the translation is 58% complete.
Sicherheit: $wgAllowUserCss
Erlaube Cascading Style Sheets (CSS) von Benutzern
Eingeführt in Version:1.3.0
Entfernt in Version:Weiterhin vorhanden
Erlaubte Werte:(Wahrheitswert)
Standardwert:false (1.3.10+)
true (1.3.0-1.3.9) r7357

Details

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.

Verwendung

Füge zu LocalSettings.php hinzu:

$wgAllowUserCss = true;

Siehe auch