MediaWiki:Common.js/CEB.js

// ",     "sampleText": "Code text"};   mwCustomEditButtons[mwCustomEditButtons.length] = {     "imageFile": "http://upload.wikimedia.org/wikipedia/en/8/80/Button_upper_letter.png",     "speedTip": "Superscript",     "tagOpen": " ",     "tagClose": " ",     "sampleText": "Superscript text"};   mwCustomEditButtons[mwCustomEditButtons.length] = {     "imageFile": "http://upload.wikimedia.org/wikipedia/en/7/70/Button_lower_letter.png",     "speedTip": "Subscript",     "tagOpen": " ",     "tagClose": " ",     "sampleText": "Subscript text"};   mwCustomEditButtons[mwCustomEditButtons.length] = {     "imageFile": "http://upload.wikimedia.org/wikipedia/en/5/58/Button_small.png",     "speedTip": "Small",     "tagOpen": " ",     "tagClose": " ",     "sampleText": "Small Text"}; //   mwCustomEditButtons[mwCustomEditButtons.length] = { //     "imageFile": "http://upload.wikimedia.org/wikipedia/commons/6/6e/Small_caps.svg", //    "speedTip": "Small caps", //    "tagOpen": "\n", //    "tagClose": "\n ", //    "sampleText": "Small caps"}; mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://upload.wikimedia.org/wikipedia/commons/5/5f/Button_center.png", "speedTip": "Center", "tagOpen": " ", "tagClose": " ", "sampleText": "Center Text"}; mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://upload.wikimedia.org/wikipedia/en/f/fd/Button_blockquote.png", "speedTip": "Insert block of quoted text", "tagOpen": " \n", "tagClose": "\n ", "sampleText": "Block quote"}; mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://upload.wikimedia.org/wikipedia/commons/7/72/Button_span_2.png", "speedTip": "Span", "tagOpen": " ", "tagClose": " ", "sampleText": "Span Text"}; mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://upload.wikimedia.org/wikipedia/commons/d/d4/Button_div.png", "speedTip": "Div", "tagOpen": " ", "tagClose": " ", "sampleText": "Div Text"}; mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://upload.wikimedia.org/wikipedia/en/3/34/Button_hide_comment.png", "speedTip": "Insert hidden Comment", "tagOpen": "", "sampleText": "Comment"}; mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://upload.wikimedia.org/wikipedia/en/1/13/Button_enter.png", "speedTip": "Line break", "tagOpen": " ", "tagClose": "", "sampleText": ""}; mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "https://images.wikia.nocookie.net/common/__cb37615/skins/common/images/button_hr.png", "speedTip": "Horizontal line (use sparingly)", "tagOpen": " ", "tagClose": "", "sampleText": ""}; mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://upload.wikimedia.org/wikipedia/en/1/12/Button_gallery.png", "speedTip": "Insert a picture gallery", "tagOpen": "\n", "sampleText": "Image:Example.jpg|Caption1\nImage:Example.jpg|Caption2"}; mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://upload.wikimedia.org/wikipedia/en/6/60/Button_insert_table.png", "speedTip": "Insert a table", "tagOpen": '{| class="wikitable"\n|-\n', "tagClose": "\n|}", "sampleText": "! header 1\n! header 2\n! header 3\n|-\n| row 1, cell 1\n| row 1, cell 2\n| row 1, cell 3\n|-\n| row 2, cell 1\n| row 2, cell 2\n| row 2, cell 3"}; } //