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 }, coder: { u:'Coder' }, eleven: { u:'Eleven' }, yogscast: { u:'Yogscast' }, verified: { u:'Verified' }, inactive: { u:'Inactive' }, retired: { u:'Retired' }, yogmod: { u:'Yogscast Forum Moderator' }, artist: { u:'Artist' } } }; UserTagsJS.modules.inactive = 30; UserTagsJS.modules.newuser = true; UserTagsJS.modules.autoconfirmed = true; UserTagsJS.modules.mwGroups = ['bureaucrat', 'chatmoderator', 'patroller', 'rollback', 'sysop', 'bannedfromchat', 'bot', 'bot-global']; UserTagsJS.modules.custom = { 'Aethelhelm': ['retired'], 'Thepenguin9': ['retired'], 'AbiHaines': ['eleven', 'retired'], 'MintyMinute': ['yogscast', 'verified', 'yogmod'], 'Lomadia': ['yogscast', 'verified'], 'Ghostofsparkles': ['yogscast', 'verified', 'eleven'], 'SamStrippin': ['yogscast', 'verified'], 'RealTeutron': ['yogscast', 'verified', 'artist'], 'Kaeyidream': ['verified'], 'SoTotallyToby': ['yogscast', 'verified'], 'Yogszach': ['verified', 'yogmod'], 'Ravsy': ['yogscast', 'verified'], 'NanoSounds': ['yogscast', 'verified'], 'Phminehalo': ['eleven'], 'Bluriteboy02': ['eleven'], 'SnowyNix': ['eleven', 'retired'], 'Soldier Elite': ['eleven'], 'TkaiaWolf': ['eleven', 'retired'], 'Adamo Magus': ['eleven', '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'], 'SnowyNix' : ['retired'], 'Wolfii' : ['retired'], 'MisterGryphon' : ['retired'], 'Space Jam' : ['retired'], 'DarknightWolf' : ['retired'], 'Shadow Phoenix Azazel' : ['eleven'], 'Xasparaz' : ['artist', 'retired'], 'SwampinBlazes': ['artist'], 'Guardian of the Garde' : ['artist'], 'Napkat' : ['verified', 'yogmod'], 'ThinWhiteMale' : ['retired'], 'RatingHyperion' : ['eleven'], 'Mighty claw' : ['verified', 'yogmod'], 'Cynicalwolf' : ['verified', 'yogmod'], 'ActuallyCranks' : ['verified', 'yogmod'], 'Icildor' : ['verified', 'yogmod'], 'Radderss' : ['verified'], 'Juntapp' : ['retired'], 'Thijsmie' : ['verified'], 'ImJessicat' : ['verified'], 'LittleNom' : ['verified'], 'Jaderos' : ['verified', 'yogmod'], 'Totallyneena' : ['retired'] 'Hazzat' : ['yogscast', 'verified']

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