MediaWiki:Common.js

/* Adds icons to page header bottom border * by: User:The 888th Avatar */ $(document).ready(function {	if (skin == "oasis" || skin == "wikia") {		$('.WikiaPageHeader').append($('#icons'));		$('#icons').css({'position' : 'absolute', 'right' : '0', 'bottom' : '-1.2em', 'z-index' : '100'});	} });

/* Autorefresh */ var ajaxPages = ["Special:RecentChanges","Special:Watchlist","Special:Log","Special:Contributions","Special:WikiActivity","Blog:Recent_posts"]; var AjaxRCRefreshText = 'Auto-refresh'; highlight = { selectAll: true, bot: '#A400A4', users: { CoreyBot: '#A400A4', } }; /* UserTags */ window.UserTagsJS = { modules: {}, tags: { bot: { u: 'Bot', m: 'Bot', f: 'Bot'}, threadmoderator: { u: 'Moderator', m: 'Moderator', f: 'Moderator', link:'Project:The_Staff_Department', order:-1e10 }, rollback: { u: 'Rollback', m: 'Rollback', f: 'Rollback', link:'Project:The_Staff_Department', order:-1e10 }, RB: { u: 'Rollback', m: 'Rollback', f: 'Rollback', link:'Project:The_Staff_Department', order:-1e10 }, sysop: { u: 'Admin', m: 'Admin', f: 'Admin', link:'Project:The_Staff_Department', order:-1e10 }, bureaucrat: { u: 'Bureaucrat', m: 'Bureaucrat', f: 'Bureaucrat', link:'Project:The_Staff_Department', order:-1e100 }, Founder: { u: 'Founder', m: 'Founder', f: 'Founder', order:-1e200 }, TS: { u: 'Technical Specialist', m: 'Technical Specialist', f: 'Technical Specialist', link:'Project:The_Staff_Department', order:-1e1 }, CS: { u: 'Community Specialist', m: 'Community Specialist', f: 'Community Specialist', link:'Project:The_Staff_Department', order:-1e1 }, inactive: { u: 'Inactive', m: 'Inactive', f: 'Inactive', order:-1e300 }, BFC: { u: 'Banned From Chat', m: 'Banned From Chat', f: 'Banned From Chat', order:-1e10 }, PB: { u: 'Permanently Banned', m: 'Permanently Banned', f: 'Permanently Banned', order:-1/0 }, F: { u: 'Faceless Founder', m: 'Faceless Founder', f: 'Faceless Founder', link:'Faceless', order:1/0 }, JD: { u: 'Jade Dragon Founder', m: 'Jade Dragon Founder', f: 'Jade Dragon Founder', link:'Jade_Dragon', order:1/0 }, LSI: { u: 'Lan Shen Investigations Founder', m: 'Lan Shen Investigations Founder', f: 'Lan Shen Investigations Founder', order:1/0 }, RC: { u: 'Ryuketsu Clan Founder', m: 'Ryuketsu Clan Founder', f: 'Ryuketsu Clan Founder', link:'Ryuketsu_Clan', order:1/0 }, YS: { u: 'Yin Shi Founder', m: 'Yin Shi Founder', f: 'Yin Shi Founder', link: 'Yin_Shi', order:1/0 }, } };

UserTagsJS.modules.inactive = { days: 31, namespaces: [0, 'Talk', 'User talk', 'Forum', 'Thread', 'Board', 'Board Thread'] };

UserTagsJS.modules.implode = { /* Mod Implosion */ 'mod': ['chatmoderator', 'threadmoderator'], 'RB': ['chatmoderator', 'threadmoderator', 'rollback'], };

UserTagsJS.modules.stopblocked = false;

UserTagsJS.modules.userfilter = { 'Zhu Li the Assistant': ['inactive', 'sysop'], 'CoreyBot': ['inactive', 'sysop'], 'Akira of the Tarot': ['blocked'], };

UserTagsJS.modules.custom = { /* ARPW Founder+Communty Specialist+Faction Founder */ 'Hydrocarbon1997': ['Founder', 'CS', 'bureaucrat', 'F'], /* ARPW Founder only */ 'AsteriaNyx': ['Founder'], 'TheDarkMerc VI': ['Founder'], 'Azrael the Sorrowful': ['Founder'], 'OnyxVolcano': ['Founder'], 'Elentári of the Stars': ['Founder'], /* Technical Specialist+Faction Founder */ 'Wingstrike': ['bureaucrat', 'TS', 'YS'], /* Community Specialist */ 'Riri25': ['CS', 'rollback'], 'Gigitygig': ['CS', 'JD'], /* Faction Founder */ 'Nebuliss': ['LSI', 'rollback'], /* Bot List */ 'Zhu Li the Assistant': ['bot'], 'CoreyBot': ['bot'], /* Chat Ban list */ 'Djinnamon': ['BFC'], /* Permanent Ban list */ 'Akira of the Tarot':['PB'], };

/* MessageWallUserTags */ window.MessageWallUserTags = { tagColor: '#7E3D3D', txtSize: '10px', glow: true, glowSize: '15px', glowColor: '#ffffff', users: { 'Wingstrike': 'Bureaucrat', 'Hydrocarbon1997': 'Bureaucrat', 'Gigitygig': 'Administrator', 'Riri25': 'Rollback', 'Torrun the Neko': 'Moderator', } };

/* Article Import */ importArticles({	type:'script',	articles: [	'u:dev:UserTags/code.js',	'u:dev:DisableBotMessageWalls/code.js',	'u:dev:HighlightUsers/code.js',	'u:dev:AjaxRC/code.js',   'u:dev:DupImageList/code.js',    'u:dev:User Rights Reasons Dropdown/code.js',    'MediaWiki:Common.js/FairUseUpload.js',    'u:dev:MessageWallUserTags/code.js',	] });