MediaWiki:Group-editor.js: Difference between revisions

From FamilySearch Wiki
No edit summary
No edit summary
Line 1: Line 1:
/* This code should load for all editors */
/* This code should load for all editors */


var wikiErrorMessage = 'FamilySearch Wiki is in read only mode for an update.';
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>';

Revision as of 10:18, 25 January 2018

/* This code should load for all editors */

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>';