User:Miss Toki/global.js

// VSTF tools mw.loader.load('//internal-soap.fandom.com/index.php?title=User:TokihikoH11/scripts-ucp.js&action=raw&ctype=text/javascript');

window.AjaxBlock = { blockReasons: { 'Inserting false information': 'Inserting false information', 'Removing content from pages': 'Removing content from pages', 'Inserting nonsense/gibberish into page(s)': 'Inserting nonsense/gibberish into page(s)', 'Intimidating behavior/harassment': 'Intimidating behavior/harassment', 'Uploading inappropriate images/videos': 'Uploading inappropriate images/videos', 'Spamming comments/forum threads': 'Spamming comments/forum threads', 'Spam': 'Spam', 'Vandalism': 'Vandalism', 'ToU violation':"Violation of Fandom's Terms of Use", 'Abusing multiple accounts': 'Multiaccounts' },   check: { talk: false, autoBlock: true, override: false } };

/*For AjaxBatchDelete*/ window.batchDeleteDelay = 100; window.fdButtons = [{ summary: 'vandalism', label: 'Vandalism', }, {       summary: 'spam', label: 'Spam' }, {       summary: 'Cleanup', label: 'Cleanup' }, {       summary: 'Violation of the Term of Use', label: 'ToU' }, {       summary: 'Housekeeping', label: 'H'   }, { summary: 'vandalisme', label: 'Vandalisme' }, {       summary: 'spam', label: 'Spam' }, {       summary: "Violation des conditions d'utilisation", label: 'CUvio' }, {       summary: 'Ménage', label: 'Ménage' } ]; // AjaxBlock setting window.ajaxRefresh = 30000; // AjaxRC time setting batchDeleteDelay = 500; // AjaxBatchDelete delay WHAMDelay = 100; // WHAM time setting window.massProtectDelay = 400 // MassProtect delay

// WHAM window.WHAMDelay = 100; window.WHAMDeleteReason = "spam/vandalism";

/*JS tools*/ mw.loader.using(['mediawiki.util', 'ext.fandom.ContentReview.legacyLoaders.js'], function { importArticles({ type: "script", articles: [ 'u:dev:MediaWiki:AbuseLogRC.js', // AbuseLog Recent Changes 'u:dev:MediaWiki:AjaxBatchDelete/code.2.js', // Batch Delete 'u:dev:MediaWiki:AjaxBlock/code.js', // AjaxBlock 'u:dev:MediaWiki:AnchoredRollback/code.js', 'u:dev:MediaWiki:BackToTopButton/code.js', // Adding 'Back to top' button 'u:dev:MediaWiki:CategoryQuickRemove.js', 'u:dev:MediaWiki:ContribsLink/code.js', // ContribsLink 'u:dev:MediaWiki:DisableInfoboxBuilder.js', 'u:dev:MediaWiki:Discussions Delete All/code.js', 'u:dev:MediaWiki:DiscussionsRailModule/code.js', 'u:dev:MediaWiki:DupImageList/code.js', // List of duplicated images (Put to activate) 'u:dev:MediaWiki:EditConflictAlert/code.js', 'u:dev:MediaWiki:FastDelete/code.js', // Quick delete for a common reason 'u:dev:MediaWiki:FileUsageAuto-update/code.js', // Automatically updates file links 'u:dev:MediaWiki:GlobalEditcount/code.js', // Global edits count 'u:dev:MediaWiki:GlobalNavButtons.js', // Global navigation 'u:dev:MediaWiki:LastEdited/code.js', // LastEdited 'u:dev:MediaWiki:MassEdit/code.js', // MassEdit 'u:dev:MediaWiki:MassCategorization/code.js', // MassCategorization (Category automatic cleanup script) 'u:dev:MediaWiki:MassProtect/code.js', // Protecting massive amount of articles 'u:dev:MediaWiki:MassRename/code.js', // Rename multiple pages 'u:dev:MediaWiki:MassRenameRevert/code.js', // Revert pages move 'u:dev:MediaWiki:MultipleFileDelete/code.js', // MultipleFileDelete (Seems only work properly on Special:PrefixIndex page) 'u:dev:MediaWiki:MarkBlocked.js', 'u:dev:MediaWiki:MultiUpload/code.js', // Multi uploading images 'u:dev:MediaWiki:NullEditButton/code.js', 'u:dev:MediaWiki:PageCreator/code2.js', // PageCreator 'u:dev:MediaWiki:ProtectionIcons.js',// Lock icons for protected pages 'u:dev:MediaWiki:PurgeButton/code.js', // Adding 'Refresh' option to page control 'u:dev:MediaWiki:QuickDiff/code.js', // Show the diff without quitting a page 'u:dev:MediaWiki:RedirectManagement/code.js', // Redirect management 'u:dev:MediaWiki:RevealAnonIP/usercode.js', 'u:dev:MediaWiki:SearchSuggest/code.js', // SearchSuggest 'u:dev:MediaWiki:ShowUserGroups.js', // Show User Groups 'u:dev:MediaWiki:UserAccountAge/code2.js', 'u:dev:MediaWiki:View_Source/code.js', // View Source tag added on edit button menu 'u:dev:MediaWiki:WHAM/code.2.js' ] }); });