mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-23 22:03:39 +00:00
Merge "Wrap sitenotices in core"
This commit is contained in:
commit
f1d455893b
|
@ -925,7 +925,7 @@ class SkinMinerva extends SkinMustache {
|
|||
protected function prepareBanners( $siteNotice ) {
|
||||
$banners = [];
|
||||
if ( $siteNotice && $this->getConfig()->get( 'MinervaEnableSiteNotice' ) ) {
|
||||
$banners[] = '<div id="siteNotice">' . $siteNotice . '</div>';
|
||||
$banners[] = $siteNotice;
|
||||
} else {
|
||||
$banners[] = '<div id="siteNotice"></div>';
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue