User:JPhil2.0/global.js

//Imports importScriptPage('User:Monchoman45/ChatHacks.js', 'c'); importScriptPage('User:Joeytje50/ChatPMs.js', 'c'); importScriptPage('MessageBlocker/code.js', 'dev'); importScriptPage('User:Madnessfan34537/multikick.js','cod'); importScriptPage("PageMakerPro/code.js", "dev"); importScriptPage('User:Joeytje50/tabinsert.js', 'runescape'); importScriptPage('PurgeButton/code.js', 'dev'); importScriptPage('MediaWiki:B3.js', 'monchbox'); importScriptPage('View_Source/code.js', 'dev'); importScriptPage('MediaWiki:WhamAPI.js', 'monchbox'); importScriptPage('User:Joeyaa/wham.js','vstf'); importScriptPage('Translator/Translator.js', 'dev');

//Quick create userpage var qtUserPageTemplate = ""; var qtEnableUserPageOverwrite = true; //Ajax RC window.ajaxPages = ["Special:RecentChanges","Special:Watchlist","Special:Log","Special:Contributions"]; window.ajaxCallAgain = window.ajaxCallAgain || []; window.ajaxCallAgain.push(highlightAnons); importArticles({   type: "script",    articles: [      "u:c:User:Prince(ss)_Platinum/vda.js",      "u:dev:AjaxRC/code.js",      "u:c:User:Lil'_Miss_Rarity/queue.js",      "u:cpw:MediaWiki:Gadget-HotCat.js",      "u:dev:AjaxUndo/code.js",      "u:dev:MarkForDeletion/code.js",      "u:dev:PortableCSSPad/code.js",	      "u:dev:QuickCreateUserPage/code.js",      "u:dev:RevealAnonIP/usercode.js",      "u:dev:WHAM/code.js",      "u:princess-platinum-test:MediaWiki:Stuff.js"    ] }); function highlightAnons { //IP regular expression var ip = /\d{2,3}\.\d{2,3}\.\d{2,3}/; //Check if user is anon and highlight $(".mw-userlink").each(function {       var text = $(this).text;        if (text.match(ip)) {            //Highlight            $(this).css("background", "yellow");        }    }); } $(document).ready(function {   highlightAnons; });

// Wiki Activity to Recent Changes if (mw.config.get('skin') === 'oasis') { $(function {       $("a[data-canonical='wikiactivity']").attr('href', '/wiki/Special:RecentChanges').text('Recent Changes');        if (mw.config.get('wgCityId') == 177) {            $("a[data-canonical='chat']").click(function (event) { event.preventDefault; });       }    }); }

// Account Navigation $(function { $('Global.css').insertBefore('.AccountNavigation .subnav li:first'); }); $(function { $('Global.js').insertBefore('.AccountNavigation .subnav li:first'); }); $(function { $('Special Pages').insertBefore('.AccountNavigation .subnav li:first'); }); $(function { $('Leaderboard').insertBefore('.AccountNavigation .subnav li:first'); }); $(function { $('<a href="/wiki/User blog:JPhil2.0">Blog</a></li>').insertBefore('.AccountNavigation .subnav li:first'); });

// Skin Switch Button for monobook to oasis and vice versa $( function {	if ( !document.getElementById( 'ca-skins' ) ) {		if ( skin === 'oasis' || skin === 'wikia' ) {			$( '<a href="/index.php?title=' + encodeURIComponent( wgPageName ) + '&useskin=monobook">MB</a></li>' ).appendTo( '#AccountNavigation' ); $( '<a href="/index.php?title=' + encodeURIComponent( wgPageName ) + '&useskin=wikiamobile">WM</a></li>' ).appendTo( '#AccountNavigation' );		} else {			$( '<a href="/index.php?title=' + encodeURIComponent( wgPageName ) + '&useskin=wikia">Oasis</a></li>' ).appendTo( '#p-cactions > .pBody > ul' ); $( '<a href="/index.php?title=' + encodeURIComponent( wgPageName ) + '&useskin=wikiamobile">Mobile</a></li>' ).appendTo( '#p-cactions > .pBody > ul' );		} 	} } );

$.getScript("https://raw.githubusercontent.com/DoctorWhooves/Main/master/chat/Tabcomplete.js");

$.getScript('https://raw.github.com/PrincessPlatinum/Ajax-Scripts/master/Advanced%20Tools.js');