User:Captainthundertron/global.js

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: [        'w:c:dev:HideRail/code.js',        'u:wikimarks:Client.js',        "w:c:dev:RevealAnonIP/usercode.js",        'w:c:dev:BackToTopButton/code.js',        'w:c:dev:CustomToolbarLinks/code.js',        'w:c:dev:VisualSpellCheck/code.js',        'w:c:transformershistory:MediaWiki:Common.js/displayTimer.js',        "w:c:dev:WHAM/code.js",        'w:c:dev:AllPagesHideRedirect/code.js',        'u:dev:View_Source/code.js',        "w:c:dev:FileUsageAuto-update/code.js",        'w:c:dev:SearchSuggest/code.js',        'w:c:dev:PurgeButton/code.js',        'w:c:dev:ReferencePopups/custom.js',        'u:dev:PortableCSSPad/code.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')); }	}); });