Jump to content

Manual:$wgAllowUserCss

From mediawiki.org
Security: $wgAllowUserCss
Allow user Cascading Style Sheets (CSS)
Introduced in version:1.3.0
Removed in version:Still in use
Allowed values:(boolean)
Default value:false (1.3.10+)
true (1.3.0-1.3.9) r7357

Details

[edit]

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

[edit]

Add to LocalSettings.php:

$wgAllowUserCss = true;

See also

[edit]