MediaWiki:Commons.js

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

}