User:DoCheonGong/global.js

window.AjaxBlock = { expiryTimes: { '2 hours': '2 hours', '6 hours': '6 hours', '12 hours': '12 hours', '1 day': '1 day', '1 week': '1 week', '2 months': '2 week', '1 month': '1 month', '3 month': '3 month', '6 month': '6 month', '1 year': '1 year', 'infinite': 'infinite' },   blockReasons: { 'Removing content from pages': 'Content removal', 'Intimidating behaviour/harassment': 'Behavior', 'Uploading inappropriate images/videos': 'File', 'Spam': 'Spam', 'Vandalism': 'Vandalism', 'Spamming comments/forum threads': 'Spamming comment/thread', 'Unacceptable username': 'Username', 'Abusing multiple accounts': 'Sockpuppet' } }; // 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

WHAMDelay = 100; // WHAM time 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:ExternalImageLoader/code.js", // External Image Loader        "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/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'); */