Difference between revisions of "MediaWiki:Common.js"

From Pathfinder Wiki
Line 1: Line 1:
 
/* Any JavaScript here will be loaded for all users on every page load. */
 
/* Any JavaScript here will be loaded for all users on every page load. */
 
console.log('Test');
 
console.log('Test');
 
var interfaceLang = document.documentElement.lang;
 
var navItems = [
 
'n-Home',
 
'n-All-Honors',
 
'n-Arts.2C-Crafts.2C-and-Hobbies',
 
'n-Health-and-Science',
 
'n-Household-Arts',
 
'n-Nature',
 
'n-Outdoor-Industries',
 
'n-Recreation',
 
'n-Spiritual-Growth.2C-Outreach-and-Heritage',
 
'n-Vocational',
 
'n-Honor-Pilots',
 
'n-Investiture-Achievement',
 
'n-Master-Guide',
 
];
 
 
if (interfaceLang !== 'en') {
 
}
 

Revision as of 20:53, 29 July 2022

/* Any JavaScript here will be loaded for all users on every page load. */
console.log('Test');