User:Captainthundertron/global.js

$(function ($) {	"use strict";	$('.wikia-menu-button a, .editsection a').each(function { var $this = $(this), href = $this.attr('href'); if (href.indexOf('action=edit') !== -1 && href.indexOf('useeditor=source') === -1) { $this.attr('href', (href + '&useeditor=source')); }	}); }); // Monobook Skin if(skin == 'monobook') { importArticles({   type: 'script',    articles: [        'u:dev:PortableCSSPad/code.js'    ] }); }						else { // Wikia Skin PurgeButtonText = 'Purge'; customPages = [ ['http://transformershistory.wikia.com/wiki/Template:Test', 'Test Template'], ['http://transformershistory.wikia.com/wiki/User:Captainthundertron/sandbox', 'Sandbox'], ['http://transformershistory.wikia.com/wiki/User:Captainthundertron/Notes', 'Notes'], ['http://transformershistory.wikia.com/wiki/Special:WantedPages', 'To Do'] ]; var Start = 0; var Speed = 0; var ToggleFading = 0; importArticles({   type: 'script',    articles: [        'u:dev:HideRail/code.js',        'u:wikimarks:Client.js',        'u:dev:BackToTopButton/code.js',        'u:dev:CustomToolbarLinks/code.js',        'u:dev:View_Source/code.js',        'u:dev:SearchSuggest/code.js',        'u:dev:PortableCSSPad/code.js',    ] }); } // Both importArticles({   type: 'script',    articles: [        'u:dev:RevealAnonIP/usercode.js',        'u:transformershistory:MediaWiki:Common.js/displayTimer.js',        'u:dev:WHAM/code.js',        'u:dev:AllPagesHideRedirect/code.js',        'u:dev:FileUsageAuto-update/code.js',        'u:dev:PurgeButton/code.js',        'u:dev:ReferencePopups/custom.js',        'u:captscurvy:User:Captainthundertron/load.js'    ] });