User:Fica Blok38~enwiki/extraeditbuttons.js

// //============================================================ // en: ADD SOME EXTRA BUTTONS TO THE EDITPANEL //============================================================ function InsertButtonsToToolBar { //Cross mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://upload.wikimedia.org/wikipedia/commons/b/b1/Button_dagger.png", "speedTip": "Крст", "tagOpen": "†", "tagClose": "", "sampleText": ""} //Left-Text Button mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://upload.wikimedia.org/wikipedia/en/e/ea/Button_align_left.png", "speedTip": "Left-Align", "tagOpen": " \n", "tagClose": "\n ", "sampleText": "Left-aligned text"} //Center-Text Button mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://upload.wikimedia.org/wikipedia/en/5/5f/Button_center.png", "speedTip": "Центрирано", "tagOpen": " \n", "tagClose": "\n ", "sampleText": "Centered text"} //Table button mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://upload.wikimedia.org/wikipedia/en/6/60/Button_insert_table.png", "speedTip": "Табела", "tagOpen": "\n{| border='1' \n|- \n| 1 || 2\n|- \n| 3 || 4", "tagClose": "\n|}\n", "sampleText": ""} //Line break button mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://upload.wikimedia.org/wikipedia/en/1/13/Button_enter.png", "speedTip": "Line break", "tagOpen": " ", "tagClose": "", "sampleText": ""} //Small Text mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://upload.wikimedia.org/wikipedia/en/5/58/Button_small.png", "speedTip": "мало", "tagOpen": " ", "tagClose": " ", "sampleText": "Small Text"} //Gallery mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://upload.wikimedia.org/wikipedia/en/1/12/Button_gallery.png", "speedTip": "Insert a picture gallery", "tagOpen": "\n", "sampleText": "Image:FileName.jpg|Caption1\nImage:FileName2.jpg|Caption2"} //Secondary Headline mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://upload.wikimedia.org/wikipedia/en/e/e9/Button_headline2.png", "speedTip": "Secondary headline", "tagOpen": "\n===", "tagClose": "===", "sampleText": "Secondary headline"} //Block Quote 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"} //Colour mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://upload.wikimedia.org/wikipedia/en/1/1e/Button_font_color.png", "speedTip": "убаците обојени текст", "tagOpen": " ", "tagClose": " ", "sampleText": "Span of text"} //Template button mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://upload.wikimedia.org/wikipedia/commons/3/3b/Button_template_alt.png", "speedTip": "Шаблон", "tagOpen": "", "sampleText": "Template name"} //Yes mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://upload.wikimedia.org/wikipedia/commons/c/c0/Button_support_vote.png", "speedTip": "За", "tagOpen": "", "tagClose": "", "sampleText": ""} //No mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://upload.wikimedia.org/wikipedia/commons/f/fc/Button_supp.png", "speedTip": "Против", "tagOpen": "", "tagClose": "", "sampleText": ""} //:) mwCustomEditButtons[mwCustomEditButtons.length] = {   "imageFile": "http://upload.wikimedia.org/wikipedia/commons/f/f5/Button_smiley_face_grin.png",    "speedTip": "Смајли",    "tagOpen": "",    "tagClose": "",    "sampleText": ""} //:( mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://upload.wikimedia.org/wikipedia/commons/b/b0/Button_blocage.png", "speedTip": "Smajli", "tagOpen": "", "tagClose": "", "sampleText": ""} //:P mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://upload.wikimedia.org/wikipedia/commons/7/74/Button_oeil.png", "speedTip": "Smajli", "tagOpen": "", "tagClose": "", "sampleText": ""} //DEFAULTSORTKEY mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://upload.wikimedia.org/wikipedia/commons/b/b6/Vjazyce-button.png", "speedTip": "defsort", "tagOpen": "", "sampleText": ""} //Reference link button mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://upload.wikimedia.org/wikipedia/commons/7/79/Button_reflink.png", "speedTip": " ", "sampleText": "Insert reference material"} //Reference button mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://upload.wikimedia.org/wikipedia/commons/a/a0/Button_references_alt.png", "speedTip": "Reference footer", "tagOpen": " ", "tagClose": "", "sampleText": ""} //Noinclude mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://upload.wikimedia.org/wikipedia/commons/c/ce/Button_no_include.png", "speedTip": "Noinclude", "tagOpen": " ", "tagClose": " ", "sampleText": ""} //Includeonly mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://upload.wikimedia.org/wikipedia/commons/7/79/Button_include.png", "speedTip": "Includeonly", "tagOpen": " ", "tagClose": " ", "sampleText": ""} //TableCell mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://upload.wikimedia.org/wikipedia/commons/7/71/TableCell.png", "speedTip": "TableCell", "tagOpen": "|", "tagClose": "", "sampleText": ""} //Category mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://upload.wikimedia.org/wikipedia/commons/5/5a/Button_category_alt.png", "speedTip": "Category", "tagOpen": "Категорија:", "tagClose": "", "sampleText": ""} //Quote mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://upload.wikimedia.org/wikipedia/commons/2/23/Quotes-Lithuanian.png", "speedTip": "Quote", "tagOpen": "„", "tagClose": "“", "sampleText": ""} } addOnloadHook( InsertButtonsToToolBar ); //