User:Miss Toki/global.js

window.AjaxBlock = { expiryTimes: { '10 minutes': '10 minutes', '30 minutes': '30 minutes', '1 hour': '1 hour', '2 hours': '2 hours', '3 hours': '3 hours', '6 hours': '6 hours', '12 hours': '12 hours', '1 day': '1 day', '2 days': '2 days', '3 days': '3 days', '1 week': '1 week', '2 weeks': '2 weeks', '3 weeks': '3 weeks', '1 month': '1 month', '2 months': '2 months', '3 months': '3 months', '6 months': '6 months', '1 year': '1 year', 'indefinite': 'infinite' },   blockReasons: { 'Removing content from pages': 'Content removal', 'Inserting nonsense/gibberish into page': 'Nonsense content', 'Intimidating behaviour/harassment': 'Behavior', 'Uploading inappropriate images/videos': 'Inapprorpiate file', 'Spamming comments/forum threads': 'Comments, Forum threads', 'Spam': 'Spam', 'Vandalism': 'Vandalism', 'Unacceptable username': 'Username', 'Unacceptable user avatar': 'Avatar', 'Abusing multiple accounts': 'Sockpuppet' },   check: { talk: false, autoBlock: true, override: false } }; // AjaxBlock setting window.ajaxRefresh = 30000; // AjaxRC time setting window.ajaxPages = ["Special:WikiActivity", "Special:RecentChanges", "Special:Log", "Special:Contributions", "Special:Images", "Special:Videos", "Special:AbuseLog", "特別:最近の更新", "特別:WikiActivity" ]; // AjaxRC page setting batchDeleteDelay = 500; // AjaxBatchDelete delay WHAMDelay = 100; // WHAM time setting var MultiUploadoption = { max: 20, }; // MultiUpload WHAMBotReason = "Spam/Vandalism"; // WHAM importArticles({   type: "script",    articles: [        "u:dev:MediaWiki:AjaxBatchDelete/code.2.js", // Batch Delete        "u:dev:MediaWiki:AjaxBlock/code.js", // AjaxBlock        "u:dev:MediaWiki:AjaxRC/code.js", // Auto Refresh        "u:dev:MediaWiki:BackToTopButton/code.js", // Adding 'Back to top' button        "u:dev:MediaWiki:DupImageList/code.js", // List of duplicated images (Put to activate)        "u:dev:MediaWiki:DynamicImages/code.js", // Dynamic Images        "u:dev:MediaWiki:EditBio/code.js", // Edit Bio section on profile on any device        "u:dev:MediaWiki:FileUsageAuto-update/code.js", // Automatically updates file links        "u:dev:MediaWiki:LastEdited/code.js", // LastEdited        "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:MultipleFileDelete/code.js", // MultipleFileDelete (Seems only work properly on Special:PrefixIndes page) "u:dev:MediaWiki:MultiUpload/code.js", // Multi uploading images "u:dev:MediaWiki:PrivateMessageAlert/code.js", // Private message alert "u:dev:MediaWiki:PurgeButton/code.js", // Adding 'Refresh' option to page control "u:dev:MediaWiki:RecentChangesMultiple/code.2.js", // Multiple functions on Special:RecentChanges page "u:dev:MediaWiki:RedirectManagement/code.js", // Redirect management "u:dev:MediaWiki:SearchSuggest/code.js", // SearchSuggest "u:dev:MediaWiki:View_Source/code.js", // View Source tag added on edit button menu "u:dev:MediaWiki:WHAM/code.2.js", "u:dev:MediaWiki:Wikimarks/code.js", // Wikim*rks "u:dev:MediaWiki:ContribsLink/code.js", // ContribsLink ] }); /* Unchecks redirects when moving files (Doesn't work for unknown reason) if (c.wgPageName.indexOf("Special:MovePage/File:") !== -1)	$('#wpLeaveRedirect').removeAttr('checked'); */