Skip to content

Commit

Permalink
MediaWiki 1.40 upgrade notice (#5339)
Browse files Browse the repository at this point in the history
Co-authored-by: The-Voidwalker <[email protected]>
  • Loading branch information
paladox and The-Voidwalker authored Oct 18, 2023
1 parent 7837991 commit 5879ba5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Sitenotice.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@
}

// Increment this version number whenever you change the site notice
$wgMajorSiteNoticeID = 86;
$wgMajorSiteNoticeID = 87;

/**
* Wrap your sitenotice with <div data-nosnippet>(sitenotice)</div>
* or Google will use the sitenotice for their search result snippet.
*/

// Global SiteNotice
/*if ( !$wmgSiteNoticeOptOut ) {
if ( !$wmgSiteNoticeOptOut ) {
$wgHooks['SiteNoticeAfter'][] = 'wfGlobalSiteNotice';

function wfGlobalSiteNotice( &$siteNotice, $skin ) {
Expand All @@ -31,15 +31,15 @@ function wfGlobalSiteNotice( &$siteNotice, $skin ) {
<div data-nosnippet style="padding-top:0.3em; padding-bottom:0.1em;">
<div class="floatleft"><img alt="Maintenance" src="https://upload.wikimedia.org/wikipedia/commons/d/d0/OOjs_UI_icon_imageLock-ltr.svg" decoding="async" width="50" height="50"></div>
<div style="padding-bottom: 15px; font-size: 13pt; font-weight: bold;">
Miraheze will be doing maintenance on the servers on the 6th of July at 22:00 UTC. Some wiki's will be unavailable, whilst others will be read-only during the period of 3 hours (ends at 01:00 UTC). Less if we complete it before the 3 hour window is up. We apologize for the inconvenience caused.
Miraheze will be upgrading to MediaWiki 1.40 on Saturday October 21st from 22:00 PM UTC until 02:00 AM UTC. There may be some downtime for wikis so please ensure you save your edits before the maintenance window.
</div>
</div>
</td></tr></tbody>
</table>
EOF;
}

}*/
}

// Specific wiki SiteNotice
if ( $wi->isExtensionActive( 'Graph' ) ) {
Expand Down

0 comments on commit 5879ba5

Please sign in to comment.