MediaWiki:Gadget-EditingEditingButtons.js

// // BEGIN MW GADGET // ********* // Edit buttons to add various editing tags and shit // Made by Callofduty4 // *********

if (wgAction == "edit" || wgAction == "submit") {

if (mwCustomEditButtons) { mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images.wikia.com/callofduty/images/e/e5/Center_button.png", "speedTip": "Centered text", "tagOpen": " ", "tagClose": " ", "sampleText": "TEXT" };

mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images.wikia.com/callofduty/images/9/91/I_button.png", "speedTip": "Italic text", "tagOpen": "''", "tagClose": "''", "sampleText": "TEXT" };

mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images.wikia.com/callofduty/images/5/5c/Noinclude_button.png", "speedTip": "Noinclude", "tagOpen": " ", "tagClose": " ", "sampleText": "TEXT" };		mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images.wikia.com/callofduty/images/8/85/Ref_button.png", "speedTip": "Reference", "tagOpen": " ", "sampleText": "TEXT" };

mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images.wikia.com/callofduty/images/5/56/S_button.png", "speedTip": "Struck out text", "tagOpen": " ", "tagClose": " ", "sampleText": "TEXT" };

mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images.wikia.com/callofduty/images/9/9d/Sub_button.png", "speedTip": "Subscript", "tagOpen": " ", "tagClose": " ", "sampleText": "TEXT" };

mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images.wikia.com/callofduty/images/4/4d/Sup_button.png", "speedTip": "Superscript", "tagOpen": " ", "tagClose": " ", "sampleText": "TEXT" };

mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images.wikia.com/callofduty/images/4/4e/U_button.png", "speedTip": "Underlined text", "tagOpen": " ", "tagClose": " ", "sampleText": "TEXT" };		mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images.wikia.com/callofduty/images/4/46/Redirect_button.png", "speedTip": "Redirect", "tagOpen": "#Redirect",			"tagClose": "", "sampleText": "PAGE" };	} }

// END MW GADGET //