User:Ursuul/global.js

////////////////////////////////////////////////////////////////////////// /************************************************************************/ /**************************** Import Configs ****************************/ /************************************************************************/ ////////////////////////////////////////////////////////////////////////// /* Ajax Delete */ window.AjaxDelete = { deleteReasons: { 'Housekeeping': 'Housekeeping', 'Marked for deletion': 'Marked for deletion', 'Author request': 'Author request', 'Empty page': 'Empty', 'Irrelevant to Diep.io': 'Irrelevant', 'Broken Redirect': 'Broken Redirect', 'Help:Vandalism': 'Vandalism', 'Help:Spam': 'Spam', 'Other': 'Other' },   imageDeleteReasons: { 'Innapropiate': 'Innapropiate', 'Harassment': 'Harassment', 'Housekeeping/Unused': 'Housekeeping', 'Copyright infringement': 'Copyright', 'Author request': 'Author request', 'Refuse Image': 'Refuse Image' },   autoCheckWatch: true, noUndelete: false };//End AD*/

/* Back to Top Button */ window.BackToTopSpeed = 1500; window.BackToTopStart = 400;//End BtTB*/

/* Talk Notifications */ window.talkWikis = ['diepio', 'zh.diepio', 'rings-of-the-master'/*, 'dresdenfiles', 'es.diepio', 'ru.diepio', 'fr.diepio', 'tr.diepio', 'pl.diepio', 'pt-br.diepio', 'ko.diepio', 'ja.diepio', 'hu.diepio', 'diepio-conception', 'lightbringer-series', 'community', 'portability', 'communitycouncil', 'cohdev', 'mopeio', 'es.mopeio', 'fr.mopeio', 'pl.mopeio', 'ru.mopeio', 'doblonsio', 'ru.doblonsio', 'deeeep-io', 'pl.deeeep-io', 'geometry-dash', 'tbacontest', 'fallout', 'rezero', 'hordesio', 'blocksio', 'orange-io', 'shadowofmordor', 'bloonsconception', 'team-of-cool-peeps', 'cohdev2', 'town-of-salem', 'mithermages', 'slitherio', 'agario', 'psychokid', 'tes-mods', 'cinder-spires', 'steven-universe', 'spookys-house-of-jump-scares', 'warmetal', 'onceuponatime', 'hillclimbracing', 'driftinio', 'kurofox', 'extreme-test', 'totmgsrocks-creatures-and-stuff', 'the-outstanding-remarkable-robotguy39', 'vstf', 'subnautica-concept'*/]; //window.talkName = 'Talk';//End TN*/

/* Cache Check */ window.cacheSkip = []; window.cacheSkipLimit = 1000; window.topLevelCat = '';//End CC*/

/* Skin Switch */ window.monoBookText = "Switch to Monobook"; window.oasisText = "Switch to Oasis"; window.mobileText = "Switch to Mercury";//End SS*/

/* RevealAnonIP */ window.RevealAnonIP = { permissions : ['user'] };//End RAIP*/

/* WAM Rail */ window.railWAM = { loadOnNamespace: 0, load: true };//End WR*/

/* Mass Effect Configs */ batchDeleteDelay = 250; nukeDeleteReason = "Cleanup (Nuke Script)"; massRenameDelay = 500; massRenameSummary = 'Automatic Process'; massRedirectDelay = 500; massBlockDelay = 500; WHAMDelay = 1000; batchDeleteDelay = 1000; //End MEC*/

////////////////////////////////////////////////////////////////////////// /************************************************************************/ /******************************** Imports *******************************/ /************************************************************************/ ////////////////////////////////////////////////////////////////////////// /* If Admin */ if (mw.config.get("wgUserGroups").indexOf('sysop') > -1) { importArticles({       type: 'script',        articles: [            'u:dev:AjaxBatchDelete/code.js',            //'u:dev:AjaxDelete/code.js'            'u:dev:AnchoredRollback/code.js',            'u:dev:AutoEditPages/code.js',            'u:dev:LastEdited/code.js',            'u:dev:MassBlock/code.js',            'u:dev:MassCategorization/code.js',            'u:dev:MassProtect/code.js',            'u:dev:MassRedirect/code.1.js',            'u:dev:MassRename/code.js',            'u:dev:MassRenameRevert/code.js',            'u:dev:MassUserRights/code.js',            'u:dev:MultipleFileDelete/code.js',            'u:dev:Nuke/code.js',            'u:dev:PageRenameAuto-update/code.js',            'u:dev:RedirectManagement/code.js',        ]    }); }//End IA*/

/* If Content Mod */ if (mw.config.get("wgUserGroups").indexOf('content-moderator') > -1) { importArticles({       type: 'script',        articles: [            'u:dev:AjaxBatchDelete/code.js',            'u:dev:AjaxDelete/code.js',            'u:dev:AnchoredRollback/code.js',            'u:dev:AutoEditPages/code.js',            'u:dev:LastEdited/code.js',            'u:dev:MassCategorization/code.js',            'u:dev:MassProtect/code.js',            'u:dev:MassRedirect/code.1.js',            'u:dev:MassRename/code.js',            'u:dev:MassRenameRevert/code.js',            'u:dev:MultipleFileDelete/code.js',            'u:dev:Nuke/code.js',            'u:dev:PageRenameAuto-update/code.js',            'u:dev:RedirectManagement/code.js'        ]    }); }//End IfConMod*/

/* If Rollback */ if (mw.config.get("wgUserGroups").indexOf('rollback') > -1) { importArticles({       type: 'script',        articles: [            'u:dev:LastEdited/code.js',            'u:dev:AnchoredRollback/code.js'        ]    }); }//End IR*/

/* If Disc Mod */ if (mw.config.get("wgUserGroups").indexOf('threadmoderator') > -1) { importArticles({       type: 'script',        articles: [            'u:dev:LastEdited/code.js'        ]    }); }//End IDM*/

/* If Chat Mod */ if (mw.config.get("wgUserGroups").indexOf('chatmoderator') > -1) { importArticles({       type: 'script',        articles: [            'u:dev:LastEdited/code.js'        ]    }); }//End ICM*/

/* Universal Imports */ importArticles({   type: 'script',    articles: [        'u:cohdev:User:Count_of_Howard/MG.lenny',        'u:cohdev:User:Count_of_Howard/MUUW.coh',        'u:community:User:Ursuul/common.js',        'u:dev:AjaxRedirect/code.js',        'u:dev:AjaxUndo/code.js',        'u:dev:AllPagesHideRedirect/code.js',        'u:dev:AntiSoundcloud/code.js',        'u:dev:AutoEditDropdown/code.js',        'u:dev:BackToTopButton/code.js',        'u:dev:BlankBlogBugfix/code.js',        'u:dev:BlogLink/code.js',        'u:dev:CacheCheck/code.js',        'u:dev:DiscussionsFeed.js',        'u:dev:FindAndReplace/code.js',        'u:dev:Flags/code.js',        //'u:dev:GlobalChatJS.js',        'u:dev:MarkBlocked.js',        'u:dev:NullEditButton/code.js',        'u:dev:PortableCSSPad/code.js',        'u:dev:QuickToolsv2/code.js',        'u:dev:RTCL.js',        'u:dev:RailWAM/code.js',        'u:dev:ReferencePopups/code.js', 'u:dev:RevealAnonIP/usercode.js', 'u:dev:SearchSuggest/code.js', 'u:dev:ShowUserGroups.js', 'u:dev:SkinSwitchButton/code.js', //'u:dev:ToggleSideBar/code.js', 'u:dev:UnsafeScripts/code.js', 'u:dev:UserActivityTab/code.js', 'u:dev:UserCheck/code.js', 'u:dev:UserTalkNotifications/code.js', 'u:dev:WHAM/code.2.js', 'u:dev:WallGreetingButton/code.js', 'u:dev:YouTubeModal/code.js', 'u:diepio:BackToThread/code.js', 'u:kocka:VSTFReport/code.js' ] });//End UI*/