From 52e42aa84a04d7ac63640ffff6a753dbaf345197 Mon Sep 17 00:00:00 2001 From: paladox Date: Sun, 22 Oct 2023 04:50:07 +0100 Subject: [PATCH] Remove sitenotice (#5343) --- Sitenotice.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sitenotice.php b/Sitenotice.php index 993b0523e5..4b42da87f3 100644 --- a/Sitenotice.php +++ b/Sitenotice.php @@ -15,7 +15,7 @@ */ // Global SiteNotice -if ( !$wmgSiteNoticeOptOut ) { +/*if ( !$wmgSiteNoticeOptOut ) { $wgHooks['SiteNoticeAfter'][] = 'wfGlobalSiteNotice'; function wfGlobalSiteNotice( &$siteNotice, $skin ) { @@ -39,7 +39,7 @@ function wfGlobalSiteNotice( &$siteNotice, $skin ) { EOF; } -} +}*/ // Specific wiki SiteNotice if ( $wi->isExtensionActive( 'Graph' ) ) {