MediaWiki:Common.js

/* Any JavaScript here will be loaded for all users on every page load. */

/* //////////////////////////////////////////////////////////////////// // THE BELOW CODE ADDS CUSTOM BUTTONS TO THE JAVASCRIPT EDIT TOOLBAR ////////////////////////////////////////////////////////////////////

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"};

mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images3.wikia.nocookie.net/marveldatabase/images/2/20/Vehicle_Button.png", "speedTip": "Insert merchandise template", "tagOpen": "\{\{Merchandise\r| Image         = ", "tagClose": "\r| Image2        = \r| Character      = \r| Artist         = \r| Category       = \r| Manufacturer   = \r| Year           = \r| Line           = \r| Wave           = \r| Number         = \r| SRP            = \r\r| Notes          = \r\}\}", "sampleText": ""}; }