User:Andrey Andrey/global.js

importScriptPage('FastDelete/code.js', 'dev'); var fdButtons = []; fdButtons[fdButtons.length] = { 'summary': 'Spam', 'label': 'Spam'}; fdButtons[fdButtons.length] = { 'summary': 'Vandalism', 'label': 'Vandalism'}; fdButtons[fdButtons.length] = { 'summary': 'Housekeeping', 'label': 'Clean-up'}; $(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; });

importArticles({   type: 'script',    articles: [        'u:dev:ListFiles/code.js',        'u:dev:AjaxBatchDelete/code.js'    ] });