User:Juandev (usurped)/vector.js

// // - custom edit toolbar - mw.loader.using('mediawiki.action.edit', function {      var button = { id: 'button-comment',      imageFile: "http://upload.wikimedia.org/wikipedia/commons/5/55/Button_nbsp_1.png",      speedTip: "Tvrdá mezera",      tagOpen: " ",      tagClose: "",      sampleText: ""            };   mw.toolbar.addButton(button.imageFile, button.speedTip, button.tagOpen, button.tagClose, button.sampleText, button.id, button.id); var button = { id: 'button-comment',      imageFile: "http://upload.wikimedia.org/wikipedia/commons/0/05/Button_Anf%C3%BChrung.png",      speedTip: "Úvozovky",      tagOpen: "„",      tagClose: "“",      sampleText: ""};     mw.toolbar.addButton(button.imageFile, button.speedTip, button.tagOpen, button.tagClose, button.sampleText, button.id, button.id); var button = { id: 'button-comment',      imageFile: "http://upload.wikimedia.org/wikipedia/commons/4/42/Buttonsablona.png", speedTip: "Šablona", tagOpen: "", sampleText: "šablona"}; mw.toolbar.addButton(button.imageFile, button.speedTip, button.tagOpen, button.tagClose, button.sampleText, button.id, button.id); var button = { id: 'button-comment', imageFile: "http://upload.wikimedia.org/wikipedia/commons/f/f6/Button_wikt_new.png", speedTip: "WsSlovo", tagOpen: "", sampleText: "WsSlovo|slovo"}; mw.toolbar.addButton(button.imageFile, button.speedTip, button.tagOpen, button.tagClose, button.sampleText, button.id, button.id); var button = { id: 'button-comment', imageFile: "http://upload.wikimedia.org/wikipedia/commons/2/22/Button_ellipsis.png", speedTip: "Tři tečky", tagOpen: "…", tagClose: "", sampleText: ""}; mw.toolbar.addButton(button.imageFile, button.speedTip, button.tagOpen, button.tagClose, button.sampleText, button.id, button.id); var button = { id: 'button-comment', imageFile: "http://upload.wikimedia.org/wikipedia/commons/4/41/Button_hr_halfwidth.png", speedTip: "Pomlčka", tagOpen: "–", tagClose: "", sampleText: ""}; mw.toolbar.addButton(button.imageFile, button.speedTip, button.tagOpen, button.tagClose, button.sampleText, button.id, button.id); var button = { id: 'button-comment', imageFile: "http://upload.wikimedia.org/wikipedia/commons/e/e4/Button_with_Celsius_degree.png", speedTip: "Stupeň Celsia", tagOpen: " °C", tagClose: "", sampleText: ""}; mw.toolbar.addButton(button.imageFile, button.speedTip, button.tagOpen, button.tagClose, button.sampleText, button.id, button.id); var button = { id: 'button-comment', imageFile: "http://upload.wikimedia.org/wikipedia/commons/1/1b/Button_hide_wiki_tag.png", speedTip: "Sktytý text", tagOpen: "", sampleText: ""}; mw.toolbar.addButton(button.imageFile, button.speedTip, button.tagOpen, button.tagClose, button.sampleText, button.id, button.id); var button = { id: 'button-comment', imageFile: "http://upload.wikimedia.org/wikipedia/commons/7/79/Button_reflink.png", speedTip: "Ref", tagOpen: " ", sampleText: ""}; mw.toolbar.addButton(button.imageFile, button.speedTip, button.tagOpen, button.tagClose, button.sampleText, button.id, button.id); var button = { id: 'button-comment', imageFile: "http://upload.wikimedia.org/wikipedia/commons/1/17/Button_small_2.png", speedTip: "Small", tagOpen: " ", tagClose: " ", sampleText: ""}; mw.toolbar.addButton(button.imageFile, button.speedTip, button.tagOpen, button.tagClose, button.sampleText, button.id, button.id); var button = { id: 'button-comment', imageFile: "http://upload.wikimedia.org/wikipedia/commons/f/f7/Button_referencesR.png", speedTip: " ", sampleText: ""}; mw.toolbar.addButton(button.imageFile, button.speedTip, button.tagOpen, button.tagClose, button.sampleText, button.id, button.id); var button = { id: 'button-comment', imageFile: "http://upload.wikimedia.org/wikipedia/commons/9/9e/Btn_toolbar_gallery.png", speedTip: "", sampleText: ""}; mw.toolbar.addButton(button.imageFile, button.speedTip, button.tagOpen, button.tagClose, button.sampleText, button.id, button.id); var button = { id: 'button-comment', imageFile: "http://upload.wikimedia.org/wikipedia/commons/4/4e/Button_fait2.png", speedTip: "Hotovo s podpisem", tagOpen: "--Juandev 15. 2. 2012, 11:47 (UTC)", tagClose: "", sampleText: ""}; mw.toolbar.addButton(button.imageFile, button.speedTip, button.tagOpen, button.tagClose, button.sampleText, button.id, button.id); var button = { id: 'button-comment', imageFile: "http://upload.wikimedia.org/wikipedia/commons/2/23/Button_code.png", speedTip: "Kód", tagOpen: " ", sampleText: ""}; mw.toolbar.addButton(button.imageFile, button.speedTip, button.tagOpen, button.tagClose, button.sampleText, button.id, button.id); var button = { id: 'button-comment', imageFile: "https://upload.wikimedia.org/wikipedia/commons/e/e5/Button_%28S%29.png", speedTip: "socnet", tagOpen: "", tagClose: "", sampleText: ""}; w.toolbar.addButton(button.imageFile, button.speedTip, button.tagOpen, button.tagClose, button.sampleText, button.id, button.id); }); //