User:StarmanW/global.js

// TWEAKS $(function {   $(' WBB  ').insertBefore('.wds-global-navigation__search');    $(' RecentChanges  ').insertBefore('.wds-global-navigation__search');    $(' Admins  ').insertBefore('.wds-global-navigation__search');    $(' Global.js  ').insertBefore('.wds-global-navigation__search'); });

$(window).load(function {   importScriptPage('User:StarmanW/WHAM', 'starmanw'); });

$(window).load(function {   importArticles({ type: "script", articles: [ 'u:dev:MediaWiki:AjaxBatchDelete/code.js', 'u:dev:MediaWiki:AjaxBatchUndelete/code.js', 'u:dev:MediaWiki:AjaxDiff/code.js', 'u:dev:MediaWiki:AjaxRedirect/code.js', 'u:dev:MediaWiki:AjaxRename/code.js', 'u:dev:MediaWiki:AjaxRC/code.js', 'u:dev:MediaWiki:AjaxUndo/code.js', 'u:dev:MediaWiki:AutoEditDropdown/code.js', 'u:dev:MediaWiki:AntiSoundcloud/code.js', 'u:dev:MediaWiki:AnchoredRollback/code.js', 'u:dev:MediaWiki:CacheCheck/code.js', 'u:dev:MediaWiki:CategoryRenameAuto-update/code.js', 'u:dev:MediaWiki:ContribsLink/code.js', 'u:dev:MediaWiki:DisplayTimer/code.js', 'u:dev:MediaWiki:FastDelete/code.js', 'u:dev:MediaWiki:FindAndReplace/code.js', 'u:dev:MediaWiki:GlobalEditcount/code.js', 'u:dev:MediaWiki:LastEdited/code.js', 'u:dev:MediaWiki:Linksweeper/code.js', 'u:dev:MediaWiki:MassRename/code.js', 'u:dev:MediaWiki:MassRenameRevert/code.js', 'u:dev:MediaWiki:MassProtect/code.js', 'u:dev:MediaWiki:MassCategorization/code.js', 'u:dev:MediaWiki:MultipleFileDelete/code.js', 'u:dev:MediaWiki:Nuke/code.js', 'u:dev:MediaWiki:PortableCSSPad/code.js', 'u:dev:MediaWiki:PageCreator/code2.js', 'u:dev:MediaWiki:QuickCreateUserPage/code.js', 'u:dev:MediaWiki:RecentChangesMultiple/code.2.js', 'u:dev:MediaWiki:RevealAnonIP/code.js', 'u:dev:MediaWiki:RedirectManagement/code.js', 'u:dev:MediaWiki:SearchSuggest/code.js', 'u:dev:MediaWiki:View_Source/code.js', 'u:dev:MediaWiki:ViewRemovedAlways/code.js', 'u:starmanw:MediaWiki:MultiUpload/code.js', 'u:starmanw:MediaWiki:QuickLogs/code.js', 'u:starmanw:MediaWiki:TopandDownButton.js', 'u:starmanw:User:StarmanW/common.js', 'u:kocka:MediaWiki:AjaxThreadDelete/code.js', 'u:kocka:User:KockaAdmiralac/UnhideUserWikis.javascript', 'u:kocka:User:KockaAdmiralac/MastheadGender.javascript' ]   }); });

// Always show bots--Full Credits goes to Dorumin $('a').each(function {  if ( $(this).attr('href') == '/wiki/Special:RecentChanges' ) {      $(this).attr('href', '/wiki/Special:RecentChanges?hidebots=0');   } }); // Remove MPC--Full Credits goes to Dorumin if ( $(".youtubeplayer").length ) { $('ul.tools li:first-child:not(.tools-menu li)').after('Remove MPC'); $(".removeMPC").click(function {       $(".youtubeplayer").remove;        $(".removeMPC").remove;    }); }

// AjaxRC window.ajaxPages = ["Special:NewPages","Special:Newwikis","Special:WikiActivity","Spezial:Letzte_Änderungen","Especial:CambiosRecientes","Specjalna:Ostatnie_zmiany","Special:Senaste_ändringar","Spécial:Modifications_récentes","Speciální:Poslední_změny","Istimewa:Perubahan_terbaru","Natatangi:Mga_huling_binago","Speciális:Friss_változtatások","Speciale:UltimeModifiche","Especial:Mudanças_recentes","特別:最近の更新","Toiminnot:Tuoreet_muutokset","Special:最近更改","Özel:SonDeğişiklikler","خاص:أحدث_التغييرات","Speciaal:RecenteWijzigingen","Đặc_biệt:Thay_đổi_gần_đây","Special:RecentChanges","Special:Log","מיוחד:שינויים_אחרונים","Special:Log/newusers","Special:Log/useravatar","Special:Images","특수기능:최근바뀜","Служебная:RecentChanges"]; window.ajaxRefresh = 1000;

// CacheCheck window.cacheSkip = []; window.cacheSkipLimit = 1000; window.topLevelCat = '';

// WHAM WHAMBotMe = true; WHAMBotReason = "Cleanup"; WHAMDelay = 500;

//Linksweeper linkSweepConfirmation = true; LinkSweeperDelay = 1000;

//MassRename settings massRenameDelay = 1000;

//MassCat massCategorizationDelay = 500;

//Page Creator options var PCOptions = { namespaces: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 110, 111, 828, 829, 1202] };

// Fast Delete var fdButtons = []; fdButtons[fdButtons.length] = { 'summary': 'spam','label': 'S'   }; fdButtons[fdButtons.length] = { 'summary': 'vandalism','label': 'V'   }; fdButtons[fdButtons.length] = { 'summary': 'Housekeeping','label': 'HK' }; fdButtons[fdButtons.length] = { 'summary': 'Cleanup','label': 'C'   }; fdButtons[fdButtons.length] = { 'summary': 'Unused','label': 'U'   }; fdButtons[fdButtons.length] = { 'summary': 'Unofficial/Not-Needed/Irrelevant','label': 'UNI' }; fdButtons[fdButtons.length] = { 'summary': 'Other reason','label': 'Other' }; // Quick Userpage var qtEnableUserPageOverwrite = true; var qtUserPageTemplate = '';