User:Ninja5Bot/global.js

/*With kind thanks to KockaAdmiralac and Ditto Creeper Bot. These guys rock. If you are gonna copy anything from here, credit them not me.*/ window.ajaxSpecialPages=['Recentchanges','Log','Newwikis','AbuseLog']; var qtUserPageTemplate = ''; var qtMessageWallGreetingTemplate = ''; var MultiUploadoption = { max: 50 }; var QuickToolsAdvancedtop = true; massProtectDelay = 1000; importScriptPage('MassProtect/code.js', 'dev'); importScriptPage('MediaWiki:Rollback/code2.js', 'dev'); importScriptPage('User:Madnessfan34537/multikick.js', 'callofduty'); importScriptPage('MessageBlocker/code.js', 'dev'); importScriptPage('AutoEditDropdown/code.js', 'dev'); importScriptPage('LightBlock/code.js', 'dev'); importScriptPage('MessageBlocker/code.js', 'dev'); importScriptPage('DisplayClock/code.js', 'dev'); importScriptPage('User:Ditto_Creeper_Bot/FixedRollback.javascript','botcentral'); importScriptPage('MediaWiki:Nuke/code.js', 'dev'); importScriptPage('MultipleFileDelete/code.js', 'dev'); importScriptPage('MultiUpload/code.js', 'dev'); importScriptPage('RevealAnonIP/code.js', 'dev'); importScriptPage('ViewRemoved/code.js', 'dev'); importScriptPage('View_Source/code.js', 'dev'); WHAMDelay = 100; importScriptPage('WHAM/code.2.js', 'dev'); importArticles({   type: 'script',    articles: [    'u:dev:MediaWiki:GlobalEditcount/code.js',		'u:dev:MediaWiki:QuickModTools/loader.js',        'u:callofduty:User:Madnessfan34537/redlinkfix.js',        'u:dev:AjaxBatchUndelete/code.js',    'u:dev:MediaWiki:AjaxRC/code.js',        'u:dev:AjaxRedirect/code.js',        'u:dev:AjaxEmoticons/code.js',        'u:dev:AjaxPatrol/code.js',        'u:dev:AjaxUndo/code.js',        'u:dev:AnchoredRollback/code.js',        'u:dev:BackToTopButton/code.js',        'u:dev:CatNav/code.js',        'u:dev:CleanWantedFiles/code.js',        'u:dev:FasterBanModule/code.js',        'u:dev:HeaderLinks/code.js',        'u:dev:LastEdited/code.js',        'u:dev:ListFiles/code.js',        'u:dev:MassCategorization/code.js',        'u:dev:Message/code.js',        'u:dev:NullEditButton/code.js',        'u:dev:PageMakerPro/code.js',        'u:dev:MediaWiki:QuickToolsv2/code.js', 'u:dev:QuickCreateMessageWallGreeting/code.js', 'u:dev:QuickCreateUserPage/code.js', 'u:dev:QuickLogs/code.js', 'u:dev:DupImageList/code.js', 'u:dev:RedirectManagement/code.js', 'u:dev:RelocateEditDiscussionButtons/code.js', 'u:dev:SearchButtonV2/code.js', 'u:dev:SearchSuggest/code.js', 'u:dev:SpellCheckModule/code.js', 'u:dev:UserTalkNotifications/code.js', 'u:dev:WallGreetingButton/code.js', 'u:kocka:MediaWiki:AjaxCommentDelete/code.js', 'u:kocka:MediaWiki:AjaxThreadDelete/code.js', ] }); importArticles({ type: "script", articles: [ "u:dev:DynamicImages/code.js", "u:dev:MediaWiki:AjaxDelete/code.js", "u:dev:MediaWiki:GlobalEditcount/code.js", "u:dev:PurgeBlogs/code.js", ] }); importArticles({ type: 'script', articles: [ 'u:dev:Wikimarks/code.js' ] }); /* Auto-categorizes images to Category:Images */ if (mw.config.get('wgCanonicalSpecialPageName') === 'MultipleUpload' || mw.config.get('wgCanonicalSpecialPageName') === 'Upload') {   if (!$.getUrlVar('wpForReUpload') && !$('#wpUploadDescription').val) {        jQuery(function ($) { 'use strict'; $('#wpUploadDescription').val(''); });   } } /* Wikia logo is back!!! :D */ $('.wds-is-wds-company-logo-fandom').replaceWith(''); $('.wds-is-wds-company-logo-powered-by-wikia').replaceWith(''); importArticles({ type: 'script', articles: [ 'u:dev:MediaWiki:MassRename/code.js', 'u:dev:MediaWiki:FindAndReplace/code.js' ] }); massRenameDelay = 1000; massRenameSummary = 'automatic'; /* QuickModTools settings */ window.QuickModTools = {	quickreasons: [		"Spam/Flooding Chat", "Profanity", "Overusing Caps", "Trolling",		"Intimidating behaviour/harassment/trolling",		"Posting/Discussing leak content/topics",		"Hate speech", "Linking NSFW content", "Sockpuppetry",		"Door spam/Connection problem, please fix it and leave a message on my wall."	],	defbanreason: "Misbehaving in chat",	defbanlength: "1200" }; importArticles({ type: 'script', articles: [ 'u:dev:ChatBlockButton/code.3.js' ] }); importArticles({ type: 'script', articles: [ 'u:dev:SeeMoreActivityButton/code.js', ] }); /* Edit Previews (Credit to Sophiedp) */ if (mw.config.get('wgAction') == 'edit' && window.location.href.indexOf("useuserjs=") == -1) {   window.location.href = window.location.href + "&useuserjs=0"; }