MediaWiki:Group-sysop.js: Difference between revisions
No edit summary |
No edit summary |
||
(7 intermediate revisions by 2 users not shown) | |||
Line 3: | Line 3: | ||
/* This code should load for all administrators */ | /* This code should load for all administrators */ | ||
var wikiErrorMessage = ' | var wikiErrorMessage = 'For maintenance purposes, the Wiki will be in read-only mode from Sunday, Jan 28, 2018, 6pm MST until Monday, Jan 29, 2018, 6am MST. Editing the Wiki will not be possible during this time.'; | ||
var siteNotice = document.querySelector('#localNotice'); | var siteNotice = document.querySelector('#localNotice'); | ||
//siteNotice.innerHTML = '<div class="fs-alert fs-alert--error"><p>'+wikiErrorMessage+'</p></div>'; | //siteNotice.innerHTML = '<div class="fs-alert fs-alert--error"><p>'+wikiErrorMessage+'</p></div>'; |
Latest revision as of 20:45, 28 January 2018
/* Any JavaScript here will be loaded for sysops only */
/* This code should load for all administrators */
var wikiErrorMessage = 'For maintenance purposes, the Wiki will be in read-only mode from Sunday, Jan 28, 2018, 6pm MST until Monday, Jan 29, 2018, 6am MST. Editing the Wiki will not be possible during this time.';
var siteNotice = document.querySelector('#localNotice');
//siteNotice.innerHTML = '<div class="fs-alert fs-alert--error"><p>'+wikiErrorMessage+'</p></div>';