User:Dorumin/global.js

// Redirect to base page if ends with '/' if (wgPageName.match("/$")) { wgNewPageName = wgPageName.slice(0, -1); window.location.href = wgServer + '/' + wgNewPageName; } // AjaxRC window.ajaxPages = ["Blog:Recent_posts","Special:Chat","Special:WikiActivity","Special:RecentChanges","Special:Watchlist","Special:Log","Special:Log/upload","Special:Contributions"]; window.ajaxIndicator = 'http://vignette2.wikia.nocookie.net/dev/images/8/82/Facebook_throbber.gif'; window.ajaxRefresh = 30000; window.AjaxRCRefreshText = 'Auto-refresh'; window.AjaxRCRefreshHoverText = 'Automatically refresh the page';

// Delay Settings batchDeleteDelay = 600; massCategorizationDelay = 600; nullEditDelay = 600;

// Quick Deletion var fdButtons = []; fdButtons[fdButtons.length] = { 'summary': 'Housekeeping', 'label': 'HK'}; $(window).load(function {   switch( wgCanonicalNamespace ) {        case 'User':        case 'User_talk':        $('.UserProfileActionButton .wikia-menu-button').css('margin-left','24px').appendTo('.UserProfileActionButton');        break;    }    $('.UserProfileActionButton .wikia-button').show; });

/****************** QuickCreateUserPage on dev wikia ******************/

/*  */

/****************** Import scripts ******************/ importArticles({   type: 'script',    articles: [        'u:dev:MassCategorization/code.js',        'u:dev:MassNullEdit/code.js',        'u:dev:AjaxBatchDelete/code.js',        'u:dev:DupImageList/code.js',        'u:dev:ListFiles/code.js',        'u:dev:AjaxUndo/code.js',        'u:dev:AjaxRC/code.js',        'u:dev:FastDelete/code.js',        'u:dev:FindAndReplace/code.js',        'u:starmanw:MultiUpload/code.js'    ] });