Difference between revisions of "MediaWiki:Group-administrator.js"

From FamilySearch Wiki
Jump to: navigation, search
(Created page with "This code should load for all administrators: var wikiErrorMessage = 'FamilySearch Wiki is in read only mode for an update.'; var siteNotice = document.querySelector('#...")
 
Line 1: Line 1:
 
/* This code should load for all administrators */
 
/* This code should load for all administrators */
  
var wikiErrorMessage = 'FamilySearch Wiki is in read only mode for an update.';
+
var wikiErrorMessage = 'This is a test';
  
 
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 00:21, 24 January 2018

/* This code should load for all administrators */

var wikiErrorMessage = 'This is a test';

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