User:SuperSajuuk/global.js

// // START: jQuery code snippets //

(function (window, $, mw) {	"use strict";

// Adds link to WhatLinksHere for current page $(".WikiaMenuElement li").last.after('WhatLinksHere');

// Adds a quick link to Special:WantedPages on the WikiActivity $("nav.activity-nav li.watchlist").after(' Wanted Pages');

// Adds link to EditWatchlist/raw on tools menu $(".tools-menu li.overflow").first.before("Watchlist");

// Places an "Edit this Page" quicklink on User Talkpages (but not my own). if(mw.config.get('wgNamespaceNumber') === 3 && mw.config.get('wgPageName') !== "User_talk:SuperSajuuk") { $("div.UserProfileActionButton nav.wikia-menu-button").before(" Edit Talkpage	 	"); } }(window, jQuery, mediaWiki));

// // END: jQuery code snippets //

// // START: Pre-Script Loading //

// // START: UserTags Configuration //

// The tags themselves. window.UserTagsJS = { modules: { newuser: { days: 14, edits: 25 },	mwGroups: ['bureaucrat', 'sysop', 'rollback', 'chatmoderator', 'custodian', 'patroller', 'wikiastars', 'inactive', 'newuser'], metafilter: { 'chatmoderator': ['sysop','bureaucrat'], 'rollback': ['sysop','bureaucrat'] } }, tags: { bureaucrat: { u: 'Crat', link: 'Project:Bureaucrats', order:1 }, sysop: { u: 'Sysop', link: 'Project:Sysop', order:2 }, rollback: { link: 'Project:Rollback', order:3 }, chatmoderator: { u: 'Chat Mod', link: 'Project:Chat', order:4 }, custodian: { u: 'Custodian', link: 'Project:Patroller' }, // This one is needed for TES Wiki. patroller: { u: 'Patroller' }, // For the various other wiki's.	wikiastars: { order:5 }, coder: { u: 'Coder', title: 'This user is a coder', order:6 }, editor: { u: 'Editor', title: 'This user is an experienced editor', order:7 }, translator: { u: 'Translator', title: 'This user can translate languages', order:8 }, inactive: { title: 'This user does not visit the wiki often', order:9 }, awesome: { u: 'Awesome Person', title: 'This user is undeniably awesome in all ways possible.' } }, };

// UserTags Built-In Modules. UserTagsJS.modules.inactive = { inactive: 30, zeroIsInactive: true }; UserTagsJS.modules.autoconfirmed = true;

// UserTags User Filter UserTagsJS.modules.userfilter = { 'SuperSajuuk': ['inactive'] };

// UserTags Custom Tags UserTagsJS.modules.custom = { 'Flightmare': ['coder'], 'UltimateSupreme': ['coder'], 'Simant': ['coder'], 'Dantman': ['coder','awesome'], 'Seelentau': ['translator'], 'FF-Suzaku': ['translator'], 'Cubears': ['editor'], 'DarthOrc': ['editor'], 'SuperSajuuk': ['awesome'], 'Ghost Anubis': ['awesome'] };

// // END: UserTags Configuration //

// AjaxRC window.ajaxPages = ["Special:WikiActivity","Special:Log","Special:RecentChanges","Special:Log/rights","Special:Log/delete","Special:NewFiles"]; window.ajaxIndicator = 'http://images2.wikia.nocookie.net/__cb20100609110347/software/images/a/a9/Indicator.gif'; window.AjaxRCRefreshText = 'Auto Refresh'; window.AjaxRCRefreshHoverText = 'Silently refreshes the contents of this page every 60 seconds without requiring a full reload';

// // END: Pre-Script Loading //

// // START: Conditional Script Loader //

// NOTE: This section is for scripts that should // NOT load on particular wiki's, but should load // elsewhere. Use wgSiteName to determine non // loading sites. This should be used for wiki's // where Common.js already loads these scripts.

// Don't load these scripts on TES Mods Wiki. if(mw.config.get('wgSiteName') !== "The Elder Scrolls Mods Wiki") { importScriptPage('MediaWiki:Gadget-AcountNav.js', 'naruto'); importScriptPage('CacheCheck/code.js', 'dev'); }

// // END: Conditional Script Loader //

// // START: All Scripts Loader //

// This is for global Wikia wide scripts that should be enabled everywhere. importArticles({	type: "script",	articles: [		"w:c:dev:UnsafeScripts/code.js", // Needed for some stuff, load it first.               "w:c:dev:TabKeyInserter/code.js",                "w:c:dev:UserTags/code.js",		"w:c:dev:AjaxUndo/code.js",		"w:c:dev:NullEditButton/code.js",		"w:c:dev:User:UltimateSupreme/AjaxRollback.js",		"w:c:dev:FileUsageAuto-update/code.js",		"w:c:dev:AjaxRC/code.js",                "w:c:dev:NoImageLightbox/code.js"	] });

// // END: All Scripts Loader //