User:AIDCG/global.js

importScriptPage('User:Monchoman45/ChatHacks.js', 'c'); // Chat Hacks var logInterval = ('600000'); // Chat Logger interval (10 minutes) importScriptPage('User:Joeytje50/ChatLogger.js', 'runescape'); // Chat Logger

window.ajaxRefresh = 30000; // AjaxRC time setting window.ajaxPages = ["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

massCategorizationDelay = 500; // MassCategorization delay

WHAMBotMe = true; WHAMBotReason = "Spam or vandalism"; WHAMDelay = 100;

window.mfdExclude = [ 'Prefixindex', 'BrokenRedirects', 'Unusedcategories', 'Unusedtemplates', 'Unusedimages', 'UnusedVideos' ];

importArticles({   type: 'script',    articles: [        "u:dev:AjaxBatchDelete/code.2.js", // Batch Delete        "u:dev:AjaxRC/code.js", // Auto Refresh        "u:dev:ChatReload/code.js", // Chat 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:MassCategorization/code.js", // Categorize multiple pages        "u:dev:MassProtect/code.js", // Protecting massive amount of articles        "u:dev:MultipleFileDelete/code.js", // Adding more functions on Admin Dashboard pages        "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)