MediaWiki:Common.js

/**** Any JavaScript here will be loaded for all users on every page load. ****/

/** js Articles **/

/* User tags */

window.UserTagsJS = { modules: {}, tags: { bureaucrat: { order: -1/0 }, sysop: { u:'Administrator', order: -0/0 }, rollback: { u:'Rollback', order: 0/0 }, forummod: { u:'Forum Moderator', order: 1/0 }, chatmoderator: { u:'Chat Moderator', order: 2/0 }, coder: { u:'Coder' }, yogscast: { u:'Yogscast' }, verified: { u:'Verified' }, inactive: { u:'Inactive' }, retired: { u:'Retired', order: -3/0 }, yogmod: { u:'Yogscast Forum Moderator' }, artist: { u:'Artist' } } }; UserTagsJS.modules.inactive = 30; UserTagsJS.modules.newuser = true; UserTagsJS.modules.autoconfirmed = true; UserTagsJS.modules.mwGroups = ['bureaucrat', 'rollback', 'forummod', 'chatmoderator', 'patroller', 'sysop', 'bannedfromchat', 'bot', 'bot-global']; UserTagsJS.modules.custom = { 'Aethelhelm': ['retired'], 'Soldier Elite': ['forummod'], 'Thepenguin9': ['retired'], 'AbiHaines': ['retired'], 'MintyMinute': ['yogscast', 'verified', 'yogmod'], 'Lomadia': ['yogscast', 'verified'], 'Ghostofsparkles': ['yogscast', 'verified'], 'SamStrippin': ['yogscast', 'verified'], 'RealTeutron': ['yogscast', 'verified', 'artist'], 'Kaeyidream': ['verified'], 'SoTotallyToby': ['yogscast', 'verified'], 'Yogszach': ['verified', 'yogmod'], 'Ravsy': ['yogscast', 'verified'], 'NanoSounds': ['yogscast', 'verified'], 'SnowyNix': ['retired'], 'TkaiaWolf': ['retired'], 'Adamo Magus': ['retired'], 'Yogscast-Tom': ['yogscast', 'verified'], 'Turpster': ['yogscast', 'verified'], 'IBringTheFunk': ['yogscast', 'verified'], 'DaveChaos' : ['yogscast', 'verified'], 'Ferazhin' : ['yogscast', 'verified'], 'Ctrl+Alt+Llama' : ['verified'], 'IAmMaide' : ['verified'], 'Nixeu' : ['retired'], 'Gamerboy555' : ['retired'], 'Wolfii' : ['retired'], 'MisterGryphon' : ['retired'], 'Space Jam' : ['retired'], 'DarknightWolf' : ['retired'], 'Xasparaz' : ['artist', 'retired'], 'SwampinBlazes': ['artist'], 'Guardian of the Garde' : ['artist'], 'Napkat' : ['verified', 'yogmod'], 'ThinWhiteMale' : ['coder', 'artist'], 'Mighty claw' : ['verified', 'yogmod'], 'Cynicalwolf' : ['verified', 'yogmod'], 'ActuallyCranks' : ['verified', 'yogmod'], 'Icildor' : ['verified', 'yogmod'], 'Radderss' : ['verified'], 'Thijsmie' : ['verified'], 'LittleNom' : ['verified'], 'Jaderos' : ['verified', 'yogmod'], 'Matt FyreUK' : ['verified', 'yogscast'], 'Veteranharry' : ['verified', 'yogscast'], 'Smerry95' : ['verified', 'yogscast'], 'Hazzat' : ['verified'], 'Totallyneena' : ['retired']

}; UserTagsJS.modules.metafilter = { }; importArticle({type:'script', article:'w:c:dev:UserTags/code.js'});

/* Displays a GMT clock */

importArticle({type:'script', article:'w:c:dev:DisplayClock/code.js'});

/* Shows IP of Anon users */

importArticles({   type: "script",    articles: [        "w:c:dev:RevealAnonIP/code.js",    ] });

/* Enables the use of countdowns on pages */

importArticles({   type: "script",    articles: [        "w:c:dev:Countdown/code.js"    ] });

/* Message Sending */

importArticles({   type: 'script',    articles: [        'w:c:dev:Message/code.js'    ] });

/* Collapsoble infobox */

/** js Scripts **/

///////////////////////////////////////////////////////////////////////////////////////////////////////////

// ADVANCED AJAX AUTO-REFRESHING ARTICLES // Code courtesy of "pcj" of WoWpedia. Updated by Grunny of Wookiepedia for Oasis.

///////////////////////////////////////////////////////////////////////////////////////////////////////////

///////////////////////////////////////////////////////////////////////////////////////////////////////////

// END OF AJAX AUTO-REFRESH

///////////////////////////////////////////////////////////////////////////////////////////////////////////

/* Shows a "Back to Top" button in the down, right corner */

importScriptPage('BackToTopButton/code.js', 'dev');