diff --git a/README.md b/README.md index 1d51d5dfb..82b8b09ae 100644 --- a/README.md +++ b/README.md @@ -28,14 +28,6 @@ The following configuration options will apply only to the default mobile skin - Whether to show the language switcher button even if no languages are available for the page. -#### $wgMinervaEnableSiteNotice - -* Type: `Boolean` -* Default: `false` - -Controls whether site notices should be shown. -See . - #### $wgMinervaCountErrors * Type: `Boolean` * Default: `false` diff --git a/includes/Skins/SkinMinerva.php b/includes/Skins/SkinMinerva.php index 48b279109..1a85ea67d 100644 --- a/includes/Skins/SkinMinerva.php +++ b/includes/Skins/SkinMinerva.php @@ -589,11 +589,9 @@ class SkinMinerva extends SkinTemplate { protected function prepareBanners( BaseTemplate $tpl ) { // Make sure Zero banner are always on top $banners = [ '
' ]; - if ( $this->getConfig()->get( 'MinervaEnableSiteNotice' ) ) { - $siteNotice = $this->getSiteNotice(); - if ( $siteNotice ) { - $banners[] = $siteNotice; - } + $siteNotice = $this->getSiteNotice(); + if ( $siteNotice ) { + $banners[] = $siteNotice; } $tpl->set( 'banners', $banners ); // These banners unlike 'banners' show inside the main content chrome underneath the diff --git a/skin.json b/skin.json index 68b44d772..a677a8235 100644 --- a/skin.json +++ b/skin.json @@ -33,9 +33,6 @@ 0 ] }, - "MinervaEnableSiteNotice": { - "value": false - }, "MinervaApplyKnownTemplateHacks": { "value": false },