User:Bob Bricks/wikia.js

importScriptPage('FastDelete/code.js', 'dev'); importScriptPage('MediaWiki:WhamAPI.js','monchbox'); importScriptPage('MediaWiki:Common.js/displayTimer.js', 'runescape');

/* 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'};

/* edit message wall greeting button */ function EditGreeting { if (wgCanonicalNamespace == 'Message_Wall' && wgAction != 'history') { if (wgTitle == wgUserName) { $('.WikiaMainContent').prepend('  Edit greeting	 '); }	} } addOnloadHook(EditGreeting);