Manual:$wgAllowSiteCSSOnRestrictedPages/tr
From Linux Web Expert
<translate> ResourceLoader</translate>: $wgAllowSiteCSSOnRestrictedPages | |
---|---|
Allow site-wide Cascading Style Sheets (CSS) on restricted special pages |
|
<translate> Introduced in version:</translate> | 1.23.7 (Gerrit change 165979; git #I1bf4dd1) |
<translate> Removed in version:</translate> | <translate> still in use</translate> |
<translate> Allowed values:</translate> | (boole) |
<translate> Default value:</translate> | false |
<translate> Other settings:</translate> <translate> Alphabetical</translate> | <translate> By function</translate> |
Details
Many wikis use pages like MediaWiki:Common.css to create a custom 'theme' for their wiki. However, due to security concerns discussed in <translate> task <tvar name=1>T72672</tvar></translate>, site-wide CSS on restricted special pages was disabled. By default such style sheets no longer load on login or preference pages creating an inconsistent user interface. This configuration parameter allows to re-enable site-wide CSS on restricted special pages.
If using MobileFrontend extension note that $wgMFSiteStylesRenderBlocking
also needs to be enabled for this to work.