Uživatel:Juandev/vector.js

Z Wikimedia ČR
(rozdíl) ← Starší verze | zobrazit aktuální verzi (rozdíl) | Novější verze → (rozdíl)
Skočit na navigaci Skočit na vyhledávání
// --------- custom edit toolbar ---------
mw.loader.using('mediawiki.action.edit', function () {
 
        var button = { id: 'button-comment',
"id": "tvrdamez",
      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',
"id": "uvoz",
      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',
"id": "sablon",
      imageFile: "http://upload.wikimedia.org/wikipedia/commons/4/42/Buttonsablona.png",
      speedTip: "Šablona",
      tagOpen: "{{",
      tagClose: "}}",
      sampleText: "šablona"};
   mw.toolbar.addButton(button.imageFile, button.speedTip, button.tagOpen, button.tagClose, button.sampleText, button.id, button.id);var button = { id: 'button-comment',
"id": "wslovnik",
      imageFile: "http://upload.wikimedia.org/wikipedia/commons/f/f6/Button_wikt_new.png",
      speedTip: "WsSlovo",
      tagOpen: "{{",
      tagClose: "}}",
      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',
"id": "vypustek",
      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',
"id": "pomlcka",
      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',
"id": "celsius",
      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',
"id": "hidtext",
      imageFile: "http://upload.wikimedia.org/wikipedia/commons/1/1b/Button_hide_wiki_tag.png",
      speedTip: "Sktytý text",
      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',
"id": "ref",
      imageFile: "http://upload.wikimedia.org/wikipedia/commons/7/79/Button_reflink.png",
      speedTip: "Ref",
      tagOpen: "<ref>",
      tagClose: "</ref>",
      sampleText: ""};
 mw.toolbar.addButton(button.imageFile, button.speedTip, button.tagOpen, button.tagClose, button.sampleText, button.id, button.id);var button = { id: 'button-comment',
"id": "small",
      imageFile: "http://upload.wikimedia.org/wikipedia/commons/1/17/Button_small_2.png",
      speedTip: "Small",
      tagOpen: "<small>",
      tagClose: "</small>",
      sampleText: ""};
 mw.toolbar.addButton(button.imageFile, button.speedTip, button.tagOpen, button.tagClose, button.sampleText, button.id, button.id);var button = { id: 'button-comment',
"id": "reflist",
      imageFile: "http://upload.wikimedia.org/wikipedia/commons/f/f7/Button_referencesR.png",
      speedTip: "<references/>",
      tagOpen: "<references/>",
      tagClose: "",
      sampleText: ""};
 mw.toolbar.addButton(button.imageFile, button.speedTip, button.tagOpen, button.tagClose, button.sampleText, button.id, button.id);var button = { id: 'button-comment',
"id": "sipka",
      imageFile: "http://upload.wikimedia.org/wikipedia/commons/f/ff/Button_arrow_right.png",
      speedTip: "šipka",
      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',
"id": "sourceformat",
      imageFile: "http://upload.wikimedia.org/wikipedia/commons/a/af/JSbutton.png",
      speedTip: "PHP kód",
      tagOpen: "<source lang=\"PHP\">",
      tagClose: "</source>",
      sampleText: ""};
 mw.toolbar.addButton(button.imageFile, button.speedTip, button.tagOpen, button.tagClose, button.sampleText, button.id, button.id);var button = { id: 'button-comment',
"id": "gal",
      imageFile: "http://upload.wikimedia.org/wikipedia/commons/9/9e/Btn_toolbar_gallery.png",
      speedTip: "<gallery></gallery>",
      tagOpen: "<gallery>",
      tagClose: "</gallery>",
      sampleText: ""};
 mw.toolbar.addButton(button.imageFile, button.speedTip, button.tagOpen, button.tagClose, button.sampleText, button.id, button.id);var button = { id: 'button-comment',
"id": "tick",
      imageFile: "http://upload.wikimedia.org/wikipedia/commons/4/4e/Button_fait2.png",
      speedTip: "Hotovo s podpisem",
      tagOpen: "{{hotovo}}--[[Uživatel:Juandev|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',
"id": "code",
      imageFile: "http://upload.wikimedia.org/wikipedia/commons/2/23/Button_code.png",
      speedTip: "Kód",
      tagOpen: "<code>",
      tagClose: "</code>",
      sampleText: ""};
 mw.toolbar.addButton(button.imageFile, button.speedTip, button.tagOpen, button.tagClose, button.sampleText, button.id, button.id);var button = { id: 'button-comment',
"id": "socnet",
      imageFile: "https://upload.wikimedia.org/wikipedia/commons/e/e5/Button_%28S%29.png",
      speedTip: "socnet",
      tagOpen: "{{Sociální sítě}}",
      tagClose: "",
      sampleText: ""};
      mw.toolbar.addButton(button.imageFile, button.speedTip, button.tagOpen, button.tagClose, button.sampleText, button.id, button.id);
});