User:Game Boterator/global.js

window.ajaxRefresh = 1000; window.ajaxPages = [ "Special:WikiActivity", "Special:RecentChanges", "Special:Log", "Special:Log/upload", "Special:Images", "Special:Video" ]; window.AutoEditDropdownConfig = { expandedAreaContribute: true, expandedAreaEdit: true }; PRAoptions = { editSummary: 'Updating page links' } window.linkSweepConfirmation = true; window.LinkSweeperDelay = 100; //milliseconds window.CategoryList = []; window.CategoryList = ["myfavcat", "spam"]; linkSweepConfirmation = true; LinkSweeperDelay = 100; window.cacheSkip = []; window.cacheSkipLimit = 1000; window.topLevelCat = ''; massRedirectDelay = 100; massCategorizationDelay = 100; batchDeleteDelay = 100; importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:View_Source/code.js',        'u:kocka:MediaWiki:AjaxThreadDelete/code.js',        'u:dev:MediaWiki:FileUsageAuto-update/code.js',        'u:dev:PageRenameAuto-update/code.js',        'u:dev:MediaWiki:AjaxBatchDelete/code.js',        'u:monchbox:MediaWiki:Torus.js',        'u:starmanw:MultiUpload/code.js',        'u:dev:WHAM/code.2.js',        'u:kocka:MediaWiki:AjaxCommentDelete/code.js',        'u:dev:GlobalChatJS.js',        'u:dev:QuickDiff/code.js',        'u:dev:QuickToolsv2/code.js',        'u:dev:QuickComments/advanced.js',        'u:dev:MediaWiki:ViewRemoved/code.js',        'u:dev:MediaWiki:HoverEditCount/code.js',        'u:dev:User:Dorumin/wikia.js',        'u:admintools:MediaWiki:Common.js/extraRollbacks.js',        'u:dev:AjaxDelete/code.js',        'u:dev:AjaxRC/code.js',,        'u:dev:AutoEditDropdown/code.js', 'u:dev:AutoEditPages/code.js', 'u:dev:CacheCheck/code.js', 'u:dev:CategoryRenameAuto-update/code.js', 'u:dev:DupImageList/code.js', 'u:dev:FastDelete/code.js', 'u:dev:FastOldImageDelete/code.js', 'u:dev:Linksweeper/code.js', 'u:dev:ListFiles/code.js', 'u:dev:MarkForDeletion/code.js', 'u:dev:MassRedirect/code.1.js', 'u:dev:MediaWiki:AjaxBatchDelete/code.2.js', 'u:dev:MediaWiki:AnchoredRollback/code.js', 'u:dev:MediaWiki:ChatEditTools/code.js', 'u:dev:MediaWiki:CustomChatPings/code.js', 'u:dev:MediaWiki:RedirectManagement/code.js', ] });

massRenameDelay = 1000; massRenameSummary = 'Renaming.'; importScriptPage('User:Robyn_Grayson/ScriptBox', 'steven-universe');

//Userpage $('', {   id: 'qcup', }).html('User Page') .prependTo('#my-tools-menu') .click(function {   $.ajax( { type: 'POST', url: mw.util.wikiScript( 'api' ), dataType: 'json', data: { action: 'edit', title: 'User:Game Boterator', summary: 'Creating userpage', text: '', format: 'json', token: mw.user.tokens.get( 'editToken' ) }   } ).done( function ( data ) { if ( data.edit.result === 'Success' ) { new BannerNotification("Successfully created page!","confirm").show; } else { new BannerNotification("An error occurred.","error").show; }   } ).fail( function ( data ) { new BannerNotification("An error occurred.","error").show; } ); }); //Chat Bot $('', {   id: 'qcup', }).html('Chat Bot') .prependTo('#my-tools-menu') .click(function {   $.ajax( { type: 'POST', url: mw.util.wikiScript( 'api' ), dataType: 'json', data: { action: 'edit', title: 'User:Game Boterator/chat.js', summary: 'Creating subpage.', text: 'importScriptPage(\'User:Game Boterator/core.javascript\', \'gmods-hideout\');', format: 'json', token: mw.user.tokens.get( 'editToken' ) }   } ).done( function ( data ) { if ( data.edit.result === 'Success' ) { new BannerNotification("Successfully created page!","confirm").show; } else { new BannerNotification("An error occurred.","error").show; }   } ).fail( function ( data ) { new BannerNotification("An error occurred.","error").show; } ); });