MediaWiki:EditToolbar.js

if (mw.toolbar && mw.toolbar.addButtons) { mw.toolbar.addButtons({   "imageFile": "//upload.wikimedia.org/wikipedia/en/c/c8/Button_redirect.png",    "speedTip": "Redirect",    "tagOpen": "#REDIRECT ",    "tagClose": "",    "sampleText": "Insert text"   }, {    "imageFile": "//upload.wikimedia.org/wikipedia/commons/8/88/Btn_toolbar_enum.png",    "speedTip": "# list",    "tagOpen": "#",    "tagClose": "\n",    "sampleText": "list text"   }, {    "imageFile": "//upload.wikimedia.org/wikipedia/commons/1/11/Btn_toolbar_liste.png",    "speedTip": "* item",    "tagOpen": "*",    "tagClose": "\n",    "sampleText": "item text"   }, {    "imageFile": "//upload.wikimedia.org/wikipedia/commons/b/b4/Button_category03.png",    "speedTip": "Category",    "tagOpen": "[[Category:",    "tagClose": mw.config.get('wgPageName') + "]]",    "sampleText": "insert category"   }, {    "imageFile": "//upload.wikimedia.org/wikipedia/commons/3/3b/Button_template_alt.png", "speedTip": "", "tagOpen": "", "sampleText": "sofixit" }, {   "imageFile": "//upload.wikimedia.org/wikipedia/commons/f/fd/Button_underline.png", "speedTip": "Underline", "tagOpen": " ", "tagClose": " ", "sampleText": "underline text" }, {    "imageFile": "//upload.wikimedia.org/wikipedia/en/c/c9/Button_strike.png", "speedTip": "Strike", "tagOpen": " ", "tagClose": " ", "sampleText": "strikeout text" }, {    "imageFile": "//upload.wikimedia.org/wikipedia/en/8/80/Button_upper_letter.png", "speedTip": "Superscript", "tagOpen": " ", "tagClose": " ", "sampleText": "Superscript text" }, {    "imageFile": "//upload.wikimedia.org/wikipedia/en/7/70/Button_lower_letter.png", "speedTip": "Subscript", "tagOpen": " ", "tagClose": " ", "sampleText": "Subscript text" }, {    "imageFile": "//upload.wikimedia.org/wikipedia/commons/1/17/Button_small_2.png", "speedTip": "small text", "tagOpen": " ", "tagClose": " ", "sampleText": "Small Text" }, {    "imageFile": " //upload.wikimedia.org/wikipedia/commons/5/56/Button_big.png", "speedTip": "BIG text", "tagOpen": " ", "tagClose": " ", "sampleText": "big" }, {    "imageFile": "//upload.wikimedia.org/wikipedia/commons/7/79/Button_reflink.png", "speedTip": " ", "sampleText": "Insert reference material" }, {    "imageFile":  "//upload.wikimedia.org/wikipedia/commons/a/a0/Button_references_alt.png", "speedTip": "Reference footer", "tagOpen": " ", "tagClose": "", "sampleText": "" }, {    "imageFile": "//upload.wikimedia.org/wikipedia/commons/f/fd/Button_blockquote.png", "speedTip": "block of quoted text", "tagOpen": " \n", "tagClose": "\n ", "sampleText": "Block quote" }, {    "imageFile":  "//upload.wikimedia.org/wikipedia/commons/e/ea/Button_align_left.png", "speedTip": "align left", "tagOpen": "", "tagClose": " ", "sampleText": "left text" }, {    "imageFile":  "//upload.wikimedia.org/wikipedia/commons/5/5f/Button_center.png", "speedTip": "align center", "tagOpen": "", "tagClose": " ", "sampleText": "center text" }, {    "imageFile":  "//upload.wikimedia.org/wikipedia/commons/a/a5/Button_align_right.png", "speedTip": "align right", "tagOpen": "", "tagClose": " ", "sampleText": "right text" }); }