mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-12-01 01:06:31 +00:00
Fix banners to show CentralNotice
- Restore init of banner array to include needed selector. Bug: T296077 Change-Id: Id1cec46eadcd057062c791a30db8ca40b35224b9
This commit is contained in:
parent
79fc729e8c
commit
dddde1c208
|
@ -638,7 +638,7 @@ class SkinMinerva extends SkinMustache {
|
|||
* @return array
|
||||
*/
|
||||
protected function prepareBanners( $siteNotice ) {
|
||||
$banners = [];
|
||||
$banners = [ '<div id="siteNotice"></div>' ];
|
||||
if ( $this->getConfig()->get( 'MinervaEnableSiteNotice' ) ) {
|
||||
if ( $siteNotice ) {
|
||||
$banners[] = $siteNotice;
|
||||
|
|
Loading…
Reference in a new issue