Jump to content

Manual:$wgUseSiteCss

From mediawiki.org
Security: $wgUseSiteCss
Use the site's Cascading Style Sheets (CSS)
Introduced in version:1.4.0 (r6223)
Removed in version:Still in use
Allowed values:(boolean)
Default value:true

Details

Use the site's Cascading Style Sheets (CSS) located at MediaWiki:Common.css.

To make site CSS work on user login and preferences pages, you can enable $wgAllowSiteCSSOnRestrictedPages . Note that this is not recommended, for security reasons (see the linked manual entry for reasons).

See also