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

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;

See also

  • Manual:Skins
  • Manual:$wgAllowUserJs
  • Manual:$wgUseSiteJs
  • Manual:$wgUseSiteCss
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.