Skip to content

Commit

Permalink
Add a notice due to increased reports of issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
Devin/Zppix committed Oct 28, 2020
1 parent be28fa4 commit 9323a21
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Sitenotice.php
Expand Up @@ -8,20 +8,20 @@
// Global SiteNotice
// Increment this version number whenever you change the site notice
// and don't comment it out
$wgMajorSiteNoticeID = 49;
$wgMajorSiteNoticeID = 50;

// Write your SiteNotice below. Comment out this section to disable.
/*if ( !$wmgSiteNoticeOptOut ) {
if ( !$wmgSiteNoticeOptOut ) {
$wgHooks['SiteNoticeAfter'][] = 'onSiteNoticeAfter';
function onSiteNoticeAfter( &$siteNotice, $skin ) {
global $wmgSiteNoticeOptOut, $snImportant;

$siteNotice .= <<<EOF
<table class="wikitable" style="text-align:center;"><tbody><tr>
<td style="font-size:125%">Miraheze plans to upgrade to the latest version of MediaWiki (1.35) today from 20:00 UTC time to approximately 20:30 UTC. Please save your edits 5 minutes before hand.</td>
<td style="font-size:125%">Miraheze has upgraded to the latest version of MediaWiki (1.35)! However, if you experience any issues, please do let us know on <a href="https://phabricator.miraheze.org/">Phabricator<a></a>.</td>
</tr></tbody></table>
EOF;

return true;
}
}*/
}

0 comments on commit 9323a21

Please sign in to comment.