User:Captscurvy/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')); }	}); }); PurgeButtonText = 'Purge'; var Start = 0; var Speed = 0; var ToggleFading = 0; importArticles({   type: 'script',    articles: [        'w:wikimarks:Client.js',        'w:dev:AjaxBatchDelete/code.js',        'w:dev:RevealAnonIP/usercode.js',        'w:dev:BackToTopButton/code.js',        'w:dev:VisualSpellCheck/code.js',        'w:dev:AllPagesHideRedirect/code.js',        'w:dev:View_Source/code.js',        "w:dev:FileUsageAuto-update/code.js",        'w:dev:SearchSuggest/code.js',        'w:dev:PurgeButton/code.js',        'w:dev:ReferencePopups/custom.js',        'w:dev:PortableCSSPad/code.js'    ] });

if (skin == "wikiamobile") { window.location = window.location.href + '?useskin=oasis' }