diff --git a/Sitenotice.php b/Sitenotice.php index ec518f09..c7ef9c1a 100644 --- a/Sitenotice.php +++ b/Sitenotice.php @@ -1,40 +1,40 @@ config->settings['wgNoticeProject']['default'] = 'optout'; } // Global SiteNotice // Increment this version number whenever you change the site notice // and don't comment it out $wgMajorSiteNoticeID = 56; /* if ( !$wmgSiteNoticeOptOut ) { $wgHooks['SiteNoticeAfter'][] = 'onSiteNoticeAfter'; // show to all users function onSiteNoticeAfter( &$siteNotice, $skin ) { global $wmgSiteNoticeOptOut, $snImportant; $siteNotice .= << We are aware of issues where some wikis are unable to upload files, or are experiencing issues in thumbnail rendering. We are trying to resolve this as fast as we can, but we don't currently have an estimated time as to when this will be resolved. We apologise for the inconvenience this may cause, and thank you for your patience. EOF; } } */ // Specific wiki sitenotice if ( $wmgUseApprovedRevs && $wmgUseMyVariables ) { $wgHooks['SiteNoticeAfter'][] = 'onSiteNoticeAfter'; function onSiteNoticeAfter( &$siteNotice, $skin ) { global $wmgSiteNoticeOptOut, $snImportant; $siteNotice .= << - We've discovered that the ApprovedRevs and MyVariables extensions are not compatible with each other, and having ApprovedRevs enabled will cause MyVariables not to work. From now on, they can now no longer both be enabled via ManageWiki. You are invited to go to [[Special:ManageWiki/extensions]] and choose which one you would like to keep on your wiki until the issue is resolved upstream. + We've discovered that the ApprovedRevs and MyVariables extensions are not compatible with each other, and having ApprovedRevs enabled will cause MyVariables not to work. From now on, they can now no longer both be enabled via ManageWiki. You are invited to go to Special:ManageWiki/extensions and choose which one you would like to keep on your wiki until the issue is resolved upstream. EOF; return true; } }