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 = ''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 wikiErrorMessage = '''Please note that all edits made between 3am to 11am MST on Monday, Jan 29, 2018, 6am MST have been lost. You will need to redo your edits.  We apologize for this inconvenience''';


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 12:17, 29 January 2018

/* This code should load for all editors */

var wikiErrorMessage = '''Please note that all edits made between 3am to 11am MST on Monday, Jan 29, 2018, 6am MST have been lost. You will need to redo your edits.  We apologize for this inconvenience''';

var siteNotice = document.querySelector('#localNotice');
siteNotice.innerHTML = '<div class="fs-alert fs-alert--error"><p>'+wikiErrorMessage+'</p></div>';