User:The 888th Avatar/wikia.js

importScriptPage('FastDelete/code.js', 'dev');

/* fast delete buttons */ var fdButtons = []; fdButtons[fdButtons.length] = { 'summary': 'spam', 'label': 'SP'}; fdButtons[fdButtons.length] = { 'summary': 'vandalism', 'label': 'VA'}; fdButtons[fdButtons.length] = { 'summary': 'Housekeeping', 'label': 'HK'};

/* Add "Greeting" button to see Message Wall Greeting */ function WallGreetingButton { if (wgCanonicalNamespace == 'Message_Wall' && wgAction != 'history' && wgTitle == wgUserName) { $('.WikiaMainContent').prepend(' Greeting '); } } addOnloadHook(WallGreetingButton);