User:Tim H/global.js

window.AjaxThreadDeleteConfig = { fastDelete: true, reason: "Deleting comment" }; window.nullEditDelay = 100; window.batchDeleteDelay = 500; window.massEditConfig = { editInterval: 100 }; var MultiUploadoption = { defaultlicense:'' }; importArticles({ type: "script",  articles: [    "u:dev:MediaWiki:DisableInfoboxBuilder.js",    "u:dev:MediaWiki:FindAndReplace/code.js",    "u:dev:MediaWiki:AjaxThreadDelete/code.js",    "u:dev:MediaWiki:AjaxBatchDelete.js",    'u:dev:MediaWiki:MaximizeAce.js',    "u:dev:MediaWiki:MultipleFileDelete/code.js",    "u:dev:MediaWiki:CategoryRenameAuto-update/code.js",    "u:dev:MediaWiki:DisambiguationManagement/code.js",    "u:dev:MediaWiki:FastDelete/code.js",    "u:dev:MediaWiki:MassNullEdit/code.js",    "u:dev:MediaWiki:MultiUpload.js",    "u:dev:MediaWiki:FileUsageAuto-update/code.js",    "u:dev:MediaWiki:WantedPagesFilter/code.js",    'u:dev:MediaWiki:NoGlobalNav.js',  ] });

$(function { $(document).keydown(function(e) { if (e.keyCode == 82) { $("a", "#WikiaPage").mouseenter(function(e) {       var a = new mw.Uri($(this).attr("href"));        a.extend({ redirect: "no" });       $(this).attr("href", a);      }); } }); }); $('#WikiaBar a[data-tracking="admindashboard/toolbar/reported"]').parent.hide; $('#WikiaBar a[data-tracking="admindashboard/toolbar/admin"]').parent.hide; $('#WikiaBar .global-shortcuts-help-entry-point').parent.hide;

/* --- Unchecks "Watch this page" by default. --- */   if($("input[name=wpWatch").length) { $("input[name=wpWatch").prop("checked", false); }