User:Juandev/vector.js
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
// --------- custom edit toolbar ---------
if (mwCustomEditButtons) {
mwCustomEditButtons[mwCustomEditButtons.length] = {
"id": "tvrdamez",
"imageFile": "http://upload.wikimedia.org/wikipedia/commons/5/55/Button_nbsp_1.png",
"speedTip": "Tvrdá mezera",
"tagOpen": " ",
"tagClose": "",
"sampleText": ""};
mwCustomEditButtons[mwCustomEditButtons.length] = {
"id": "uvoz",
"imageFile": "http://upload.wikimedia.org/wikipedia/commons/0/05/Button_Anf%C3%BChrung.png",
"speedTip": "Úvozovky",
"tagOpen": "„",
"tagClose": "“",
"sampleText": ""};
mwCustomEditButtons[mwCustomEditButtons.length] = {
"id": "sablon",
"imageFile": "http://upload.wikimedia.org/wikipedia/commons/4/42/Buttonsablona.png",
"speedTip": "Šablona",
"tagOpen": "{{",
"tagClose": "}}",
"sampleText": "šablona"};
mwCustomEditButtons[mwCustomEditButtons.length] = {
"id": "wslovnik",
"imageFile": "http://upload.wikimedia.org/wikipedia/commons/f/f6/Button_wikt_new.png",
"speedTip": "WsSlovo",
"tagOpen": "{{",
"tagClose": "}}",
"sampleText": "WsSlovo|slovo"};
mwCustomEditButtons[mwCustomEditButtons.length] = {
"id": "vypustek",
"imageFile": "http://upload.wikimedia.org/wikipedia/commons/2/22/Button_ellipsis.png",
"speedTip": "Tři tečky",
"tagOpen": "…",
"tagClose": "",
"sampleText": ""};
mwCustomEditButtons[mwCustomEditButtons.length] = {
"id": "pomlcka",
"imageFile": "http://upload.wikimedia.org/wikipedia/commons/4/41/Button_hr_halfwidth.png",
"speedTip": "Pomlčka",
"tagOpen": "–",
"tagClose": "",
"sampleText": ""};
mwCustomEditButtons[mwCustomEditButtons.length] = {
"id": "celsius",
"imageFile": "http://upload.wikimedia.org/wikipedia/commons/e/e4/Button_with_Celsius_degree.png",
"speedTip": "Stupeň Celsia",
"tagOpen": " °C",
"tagClose": "",
"sampleText": ""};
mwCustomEditButtons[mwCustomEditButtons.length] = {
"id": "hidtext",
"imageFile": "http://upload.wikimedia.org/wikipedia/commons/1/1b/Button_hide_wiki_tag.png",
"speedTip": "Sktytý text",
"tagOpen": "<!--",
"tagClose": "-->",
"sampleText": ""};
mwCustomEditButtons[mwCustomEditButtons.length] = {
"id": "ref",
"imageFile": "http://upload.wikimedia.org/wikipedia/commons/7/79/Button_reflink.png",
"speedTip": "Ref",
"tagOpen": "<ref>",
"tagClose": "</ref>",
"sampleText": ""};
mwCustomEditButtons[mwCustomEditButtons.length] = {
"id": "small",
"imageFile": "http://upload.wikimedia.org/wikipedia/commons/1/17/Button_small_2.png",
"speedTip": "Small",
"tagOpen": "<small>",
"tagClose": "</small>",
"sampleText": ""};
mwCustomEditButtons[mwCustomEditButtons.length] = {
"id": "reflist",
"imageFile": "http://upload.wikimedia.org/wikipedia/commons/f/f7/Button_referencesR.png",
"speedTip": "<references/>",
"tagOpen": "<references/>",
"tagClose": "",
"sampleText": ""};
mwCustomEditButtons[mwCustomEditButtons.length] = {
"id": "sipka",
"imageFile": "http://upload.wikimedia.org/wikipedia/commons/f/ff/Button_arrow_right.png",
"speedTip": "šipka",
"tagOpen": "-->",
"tagClose": "",
"sampleText": ""};
mwCustomEditButtons[mwCustomEditButtons.length] = {
"id": "sourceformat",
"imageFile": "http://upload.wikimedia.org/wikipedia/commons/a/af/JSbutton.png",
"speedTip": "PHP kód",
"tagOpen": "<source lang=\"PHP\">",
"tagClose": "</source>",
"sampleText": ""};
mwCustomEditButtons[mwCustomEditButtons.length] = {
"id": "gal",
"imageFile": "http://upload.wikimedia.org/wikipedia/commons/9/9e/Btn_toolbar_gallery.png",
"speedTip": "<gallery></gallery>",
"tagOpen": "<gallery>",
"tagClose": "</gallery>",
"sampleText": ""};
mwCustomEditButtons[mwCustomEditButtons.length] = {
"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": ""};
mwCustomEditButtons[mwCustomEditButtons.length] = {
"id": "code",
"imageFile": "http://upload.wikimedia.org/wikipedia/commons/2/23/Button_code.png",
"speedTip": "Kód",
"tagOpen": "<code>",
"tagClose": "</code>",
"sampleText": ""};
mwCustomEditButtons[mwCustomEditButtons.length] = {
"id": "socnet",
"imageFile": "https://upload.wikimedia.org/wikipedia/commons/e/e5/Button_%28S%29.png",
"speedTip": "socnet",
"tagOpen": "{{Sociální sítě}}",
"tagClose": "",
"sampleText": ""};
};
/* Darkcode's skin importer */
importStylesheet("User:"+wgUserName+"/"+wgPageName+".css");