Manual:$wgUseSiteCss

From MediaWiki.org
Jump to: navigation, search

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