User:DoCheonGong/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', 'infinite': 'infinite' },   blockReasons: { 'Inserting false information': 'False info', 'Removing content from pages': 'Content removal', 'Inserting nonsense/gibberish into page': 'Nonsense content', 'Intimidating behavior/harassment': 'Behavior', 'Uploading inappropriate images/videos': 'Inapprorpiate content', 'Spamming comments/forum threads': 'Comments, Forum threads', 'Spam': 'General spam', 'Vandalism': 'General 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", "특수기능:최근바뀜", "특수기능:위키활동내역", "특수기능:기록", "특수기능:Images", "특수기능:새동영상", "특수기능:기여"]; // AjaxRC page setting window.AjaxRCRefreshText = '자동 갱신'; // AjaxRC text setting window.AjaxRCRefreshHoverText = '페이지를 자동으로 갱신'; // AjaxRC text hover setting

batchDeleteDelay = 500; // AjaxBatchDelete delay

window.WHAMDelay = 100; window.WHAMBlockDuration = "infinite"; window.WHAMDeleteReason = "cleanup"; window.WHAMBlockReason = "Abusing multiple accounts"; // WHAM setting

LIRoptions = { bottomMessage: '', editSummary: 'Updating file links (automatic)', singleButtonText: '이름 수정 및 갱신', queueButtonText: '큐(queue)에 넣기', delay: 1000 }; // FileUsageAuto-update setting

var MultiUploadoption = { max: 30, defaultlicence:'Fairuse' }; // 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:PageEditInfo/code.js", // PageEditInfo "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/ko/code.2.js", // Korean variant of WHAM (version 2) script "u:dev:MediaWiki:Wikimarks/code.js", // Wikim*rks "u:dev:MediaWiki:ContribsLink/code.js", // ContribsLink "u:ko.community:User:DoCheonGong/ViewRemoved/ko/code.js", // Korean variant of ViewRemoved script ] });

/* Unchecks redirects when moving files (Doesn't work for unknown reason) if (c.wgPageName.indexOf("Special:MovePage/File:") !== -1) $('#wpLeaveRedirect').removeAttr('checked'); */