User:A morris/global.js

/* Custom edit buttons


 * http://help.wikia.com/wiki/Help:Custom_edit_buttons
 * http://en.wikipedia.org/wiki/User:MarkS/Extra_edit_buttons and
 * http://en.wikipedia.org/wiki/User:MarkS/extraeditbuttons.js

if (mwCustomEditButtons) { mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images2.wikia.nocookie.net/central/images/b/b4/Button_category03.png", "speedTip": "Category", "tagOpen": "[[Category:",    "tagClose": "]]", "sampleText": "Category name"}; } if (mwCustomEditButtons) { mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images.wikia.com/central/images/c/c8/Button_redirect.png", "speedTip": "Redirect", "tagOpen": "#REDIRECT ",    "tagClose": "", "sampleText": "Insert text"}; } if (mwCustomEditButtons) { mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images4.wikia.nocookie.net/central/images/f/fd/Button_blockquote.png", "speedTip": "Blockquote", "tagOpen": " ", "tagClose": " ", "sampleText": "Insert text"}; } if (mwCustomEditButtons) { mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images4.wikia.nocookie.net/central/images/c/c4/Button_ref.png", "speedTip": "Insert a reference", "tagOpen": " ", "sampleText": "Insert reference material"}; } if (mwCustomEditButtons) { mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images1.wikia.nocookie.net/central/images/3/3b/Button_template_alt.png", "speedTip": "Template", "tagOpen": "", "sampleText": "Template"}; } if (mwCustomEditButtons) { mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://upload.wikimedia.org/wikipedia/commons/3/37/Button_tl_template.png", "speedTip": "Template", "tagOpen": "", "tagClose": "", "sampleText": "Template"}; } if (mwCustomEditButtons) { mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images3.wikia.nocookie.net/central/images/2/29/Button_user.png", "speedTip": "User", "tagOpen": "User:",    "tagClose": "", "sampleText": "Username"}; } if (mwCustomEditButtons) { mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://upload.wikimedia.org/wikipedia/commons/0/0c/Button_P_template.png", "speedTip": "", "tagOpen": "|", "tagClose": "", "sampleText": ""}; }