User:DoCheonGong/global.js

window.ajaxRefresh = 30000; // AjaxRC time setting window.ajaxPages = ["Special:WikiActivity", "Special:RecentChanges", "Special:Log", "Special:Contributions", "Special:NewFiles", "Special:Videos"]; // AjaxRC page setting window.AjaxRCRefreshText = '자동 갱신'; // AjaxRC text setting window.AjaxRCRefreshHoverText = '페이지를 자동으로 갱신'; // AjaxRC text hover setting

batchDeleteDelay = 500; // AjaxBatchDelete delay

WHAMBotMe = true; WHAMBotReason = "Spam or vandalism"; WHAMDelay = 100; // WHAM time setting

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

importArticles({   type: "script",    articles: [        "u:dev:AjaxBatchDelete/code.2.js", // Batch Delete        "u:dev:AjaxRC/code.js", // Auto Refresh        "u:dev:DupImageList/code.js", // List of duplicated images (Put to activate)        "u:dev:DynamicImages/code.js", // Dynamic Images        "u:dev:ExternalImageLoader/code.js", // External Image Loader        "u:dev:FileUsageAuto-update/code.js", // Automatically updates file links        "u:dev:LastEdited/code.js", // LastEdited        "u:dev:MassProtect/code.js", // Protecting massive amount of articles        "u:dev:MultipleFileDelete/code.js", // Adding more functions on Admin Dashboard pages        "u:dev:MultiUpload/code.js", // Multi uploading images        "u:dev:PurgeButton/code.js", // Adding 'Refresh' option to page control        "u:dev:RecentChangesMultiple/code.2.js", // Multiple functions on Special:RecentChanges page "u:dev:View_Source/code.js", // View Source tag added on edit button menu "u:dev:ViewRemoved/code.js", "u:dev:WHAM/code.2.js" // WHAM ] });

// BackToTopButton (Korean variant) - adding '맨 위로' button to make the user click it to go to the top of the article function hideFade { // hide #backtotop first $( "#backtotop" ).hide ; // fade in #backtotop $( function {		$( window ).scroll( function  { if ( $( this ).scrollTop > ButtonStart ) { switch(FadeSwitch) { case 0: $( '#backtotop' ).show ; break; default: $( '#backtotop' ).fadeIn ; break; }			} else { switch(FadeSwitch) { case 0: $( '#backtotop' ).hide ; break; default: $( '#backtotop' ).fadeOut ; break; }								}		});	}); } function goToTop { // scroll body to 0px on click $( 'body,html' ).animate ({		scrollTop: 0	}, ScrollSpeed ); return false; } function addBackToTop { if( skin == 'oasis' ) { $('맨 위로 ').appendTo('#WikiaBarWrapper .toolbar > .tools'); hideFade ; }	} var ButtonStart = 800; var ScrollSpeed = 600; var FadeSwitch = 1; if( !window.BackToTop ) { $( document ).ready( addBackToTop ); } var BackToTop = true; // prevent duplication if( typeof Start == "number" ) { ButtonStart = Start; } if( typeof Speed == "number" ) { ScrollSpeed = Speed; }	if( typeof ToggleFading == "number" ) { FadeSwitch = ToggleFading; } // end of BackToTopButton (Korean variant)