User:Flash of Memory/common.js

/***** Custom edit buttons *****/ if (wgAction == "edit" || wgAction == "submit") { if (mwCustomEditButtons) { mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://i.imgur.com/avDCR.png", "speedTip": "Images", "tagOpen": "{"+"{subst:User:Ozuzanna/t}}", "tagClose": "", "sampleText": ""}; } }

/***** Quick delete *****/ if (wgCanonicalNamespace == "File") { importScript('FastDelete/code.js', 'dev'); var fdButtons = []; fdButtons[fdButtons.length] = { 'summary': 'Misnamed file', 'label': 'DN' };  fdButtons[fdButtons.length] = { 'summary': 'Duplicated/superseded file', 'label': '2' };  fdButtons[fdButtons.length] = { 'summary': 'Unused file', 'label': 'U'  }; }

if (wgAction == "delete") { importScript('FastDelete/code.js', 'dev'); var fdButtons = []; fdButtons[fdButtons.length] = { 'summary': 'Irrelevant', 'label': 'I'  }; fdButtons[fdButtons.length] = { 'summary': 'Inappropriate', 'label': '!' };  fdButtons[fdButtons.length] = { 'summary': 'Harassment/intimidating behavior', 'label': '*' }; }