Manual:$wgAllowUserCss
Безопасность: $wgAllowUserCss | |
---|---|
Allow user Cascading Style Sheets (CSS) |
|
Введено в версии: | 1.3.0 |
Удалено в версии: | всё ещё используется |
Допустимые значения: | (булевы значения) |
Значение по умолчанию: | false (1.3.10+)true (1.3.0-1.3.9) r7357 |
Другие настройки: По алфавиту | По функциональности |
Подробнее
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;