User:Spydar007/global.js

/* Chat Stuff */ importArticles({   type: 'script',    articles: [        'w:c:cod:User:Madnessfan34537/multikick.js',        'w:c:community:User:Monchoman45/ChatHacks.js',        'w:c:community:User:Joeytje50/ChatPMs.js',        'w:c:dev:CapsFirst/code.js',        'w:c:dev:ChatBlockButton/code.js',    ] }); mw.loader.load('https://raw.githubusercontent.com/PrincessPlatinum/ChatOptions/master/ChatHacks.js'); mw.loader.load('https://raw.githubusercontent.com/PrincessPlatinum/ChatOptions/master/Multi-PM.js'); mw.loader.load('https://raw.githubusercontent.com/PrincessPlatinum/ChatOptions/master/Options-Menu.js'); mw.loader.load('https://raw.githubusercontent.com/PrincessPlatinum/ChatOptions/master/Search-Bar.js'); mw.loader.load('https://raw.githubusercontent.com/PrincessPlatinum/ChatOptions/master/Search-Bar.js'); /* END Chat Stuff */

/* Import Articles */ importScriptURI('//en.wikipedia.org/w/index.php?title=User:Joeytje50/AWB.js/load.js&action=raw&ctype=text/javascript'); importScriptPage('AjaxUndo/code.js', 'dev'); importArticles({   type: 'script',    articles: [        'w:c:community:User:Spydar007/clock.js',        'w:c:community:User:Spydar007/editbuttons.js',        'w:c:community:User:Spydar007/editsummaries.js',        'w:c:community:User:Spydar007/icons.js',        'w:c:community:User:Spydar007/ForumNameLinks.js',        'w:c:dev:AjaxBatchDelete/code.2.js',        'w:c:dev:AjaxEmoticons/code.js',        'w:c:dev:AjaxRedirect/code.js',        'w:c:dev:AjaxPatrol/code.js',        'w:c:dev:CapsFirst/code.js',        'w:c:dev:AnchoredRollback/code.js',        'w:c:dev:FloatingToc/code.js',        'w:c:dev:HideRail/code.js',        'w:c:dev:MassCategorization/code.js',        'w:c:dev:MassRenameRevert/code.js',        'w:c:dev:MassRedirect/code.2.js',        'w:c:dev:MessageBlocker/code.js',        'w:c:dev:PurgeButton/code.js',        'w:c:dev:RedirectManagement/code.js',        'w:c:dev:RelocateEditDiscussionButtons/code.js', 'w:c:dev:RevealAnonIP/usercode.js', 'w:c:dev:Thread Inspection/code.js', 'w:c:dev:WallGreetingButton/code.js', 'w:c:dev:WHAM/code.js', ] }); mw.loader.load('http://princess-platinum-test.wikia.com/wiki/MediaWiki:Stuff.js?action=raw'); /* END Import Articles */

/* AdvancedOasisUI */ window.AdvancedOasisUI = { accountNavFollowedPages: true, accountNavWatchlist: true, categoryRedlink: true, RCHeader: true, lightbox: true, activity2RC: true, }; importScriptPage('AdvancedOasisUI/code.js', 'dev'); /* END Advanced Oasis UI */

/* AjaxRC */ var ajaxRefresh = 5000; var ajaxPages = ["Special:RecentChanges","Special:Watchlist","Special:Log","Special:Contributions"]; var AjaxRCRefreshText = 'Auto Refresh'; var AjaxRCRefreshHoverText = 'Automatically refreshes the page every 30 seconds'; importScriptPage('AjaxRC/code.js', 'dev'); /* END AjaxRC */

/* FileUsageAuto-update */ LIRoptions = { bottomMessage: '', editSummary: 'Updating file links', singleButtonText: 'Rename and update', queueButtonText: 'Add to queue', delay: 100 } importScriptPage('FileUsageAuto-update/code.js', 'dev') /* END FileUsageAuto-update */

/* Wikimarks */ importScriptPage('Client.js', 'wikimarks'); /* END Wikimarks */

/* MassRename */ massRenameDelay = 1000; massRenameSummary = ''; importScriptPage('MassRename/code.js', 'dev'); /* END MassRename */

/* Adds link to contribs for logged-out people's article/blog comments */ $('.details span[title]').each(function{	var t = $(this),	title = $(this).attr("title");	t.html('Unregistered user (IP: ' + title + ')'); }); /* END Contrib links for logged-out people */

/* Making source mode default */ $(function ($) {	"use strict";	$('.wikia-menu-button a, .editsection a').each(function { var href = this.href; if (href.indexOf('action=edit') !== -1 && href.indexOf('useeditor=source') === -1) { this.href += "&useeditor=source"; }	}); }); /* END making source mode default */

/* Make Visual Editor links load the regular editor instead */ if ($.getUrlVar('veaction') == 'edit') location.replace(document.URL.replace('veaction','action')); /* END Make Visual Editor links load the regular editor instead */