MediaWiki:SourceButtons.js

// CUSTOM EDIT BUTTONS // This is based on the original code on Wikipedia:Tools/Editing tools // To disable this script, add ",     "sampleText": "Code text"};   mwCustomEditButtons[mwCustomEditButtons.length] = {     "imageFile": "http://vignette2.wikia.nocookie.net/sonako/images/8/80/Button_upper_letter.png/revision/latest?cb=20150610035113",     "speedTip": "Superscript",     "tagOpen": " ",     "tagClose": " ",     "sampleText": "Superscript text"};   mwCustomEditButtons[mwCustomEditButtons.length] = {     "imageFile": "http://vignette1.wikia.nocookie.net/sonako/images/7/70/Button_lower_letter.png/revision/latest?cb=20150610035100",     "speedTip": "Subscript",     "tagOpen": " ",     "tagClose": " ",     "sampleText": "Subscript text"};   mwCustomEditButtons[mwCustomEditButtons.length] = {     "imageFile": "http://vignette2.wikia.nocookie.net/sonako/images/5/5f/Button_center.png/revision/latest?cb=20150610035050",     "speedTip": "Center",     "tagOpen": " ",     "tagClose": " ", "sampleText": "Center Text"}; mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://vignette1.wikia.nocookie.net/sonako/images/f/fd/Button_blockquote.png/revision/latest?cb=20150610035049", "speedTip": "Insert block of quoted text", "tagOpen": " \n", "tagClose": "\n ", "sampleText": "Block quote"}; mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://vignette3.wikia.nocookie.net/sonako/images/7/72/Button_span_2.png/revision/latest?cb=20150610035105", "speedTip": "Span", "tagOpen": " ", "tagClose": " ", "sampleText": "Span Text"}; mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://vignette1.wikia.nocookie.net/sonako/images/d/d4/Button_div.png/revision/latest?cb=20150610035052", "speedTip": "Div", "tagOpen": " ", "tagClose": " ", "sampleText": "Div Text"}; mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://vignette1.wikia.nocookie.net/sonako/images/3/34/Button_hide_comment.png/revision/latest?cb=20150610035057", "speedTip": "Insert hidden Comment", "tagOpen": "", "sampleText": "Comment"}; mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://vignette2.wikia.nocookie.net/sonako/images/1/13/Button_enter.png/revision/latest?cb=20150610035054", "speedTip": "Line break", "tagOpen": " ", "tagClose": "", "sampleText": ""}; mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://vignette3.wikia.nocookie.net/sonako/images/0/0d/Button_hr.png/revision/latest?cb=20150610035059", "speedTip": "Horizontal line (use sparingly)", "tagOpen": " ", "tagClose": "", "sampleText": ""}; mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://vignette3.wikia.nocookie.net/sonako/images/1/12/Button_gallery.png/revision/latest?cb=20150610035056", "speedTip": "Insert a picture gallery", "tagOpen": "\n", "sampleText": "Image:Example.jpg|Caption1\nImage:Example.jpg|Caption2"}; mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://vignette1.wikia.nocookie.net/sonako/images/5/59/Youtube_icon.png/revision/latest?cb=20150610035818", "speedTip": "Embed a YouTube Video", "tagOpen": " ", "tagClose": " ", "sampleText": "Video ID"}; mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://vignette1.wikia.nocookie.net/sonako/images/3/31/HighlightButton.png/revision/latest?cb=20150610035115", "speedTip": "Highlight", "tagOpen": " ", "tagClose": " ", "sampleText": "Highlighted text here."}; mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://vignette4.wikia.nocookie.net/sonako/images/5/56/Button_big.png/revision/latest?cb=20150610035048", "speedTip": "Large Text", "tagOpen": " ", "tagClose": " ", "sampleText": "Insert Text Here"}; mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://vignette3.wikia.nocookie.net/sonako/images/5/58/Button_small.png/revision/latest?cb=20150610035103", "speedTip": "Small Text", "tagOpen": " ", "tagClose": " ", "sampleText": "Insert Text Here"}; }