User:Spydar007/global.js

/* Import Articles */ importScriptPage('User:Monchoman45/ChatHacks.js', 'community'); 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/ForumNameLinks.js',        'w:c:dev:AjaxBatchDelete/code.js',        'w:c:dev:AjaxEmoticons/code.js',        'w:c:dev:AjaxPatrol/code.js',        'w:c:dev:FloatingToc/code.js',        'w:c:dev:HideRail/code.js',        'w:c:dev:MessageBlocker/code.js',        'w:c:dev:PurgeButton/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'); /* 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 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 */

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

/* 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 */