Manual:$wgAllowSiteCSSOnRestrictedPages

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 • ‎Tiếng Việt • ‎中文
Frontend: $wgAllowSiteCSSOnRestrictedPages
Allow site-wide Cascading Style Sheets (CSS) on restricted special pages
Introduced in version: 1.23.7 (git #I1bf4dd1)
Removed in version: still in use
Allowed values: (boolean)
Default value: false
Other settings: Alphabetical | By function

Details[edit]

Many wikis use pages like MediaWiki:Common.css to create a custom 'theme' for their wiki. However, due to security concerns discussed in task T72672, site-wide CSS on restricted special pages was disabled starting with MediaWiki versions 1.19.20, 1.22.12 and 1.23.5. By default such style sheets no longer load on login or preference pages creating an inconsistent user interface. In MediaWiki 1.19.22, 1.22.14, 1.23.7 and newer, this configuration parameter allows to re-enable site-wide CSS on restricted special pages.

See also[edit]