Manual:$wgUseSiteCss

From MediaWiki.org
Jump to navigation Jump to search

Other languages:
Deutsch • ‎English • ‎Nederlands • ‎català • ‎español • ‎français • ‎italiano • ‎polski • ‎português • ‎português do Brasil • ‎suomi • ‎русский • ‎中文 • ‎日本語
Frontend: $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
Other settings: Alphabetical | By function

Details[edit]

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[edit]