Uživatelský monobook/Juan de Vojníkov-wp-1

Z Wikiverzity
Skočit na navigaci Skočit na vyhledávání
// --------- custom edit toolbar ---------
if (mwCustomEditButtons) {
    mwCustomEditButtons[mwCustomEditButtons.length] = {
      "imageFile": "http://upload.wikimedia.org/wikipedia/commons/5/55/Button_nbsp_1.png",
      "speedTip": "Tvrdá mezera",
      "tagOpen": " ",
      "tagClose": "",
      "sampleText": ""};
    mwCustomEditButtons[mwCustomEditButtons.length] = {
      "imageFile": "http://upload.wikimedia.org/wikipedia/commons/0/05/Button_Anführung.png",
      "speedTip": "Úvozovky",
      "tagOpen": "„",
      "tagClose": "“",
      "sampleText": ""};
    mwCustomEditButtons[mwCustomEditButtons.length] = {
      "imageFile": "http://upload.wikimedia.org/wikipedia/commons/4/42/Buttonsablona.png",
      "speedTip": "Šablona",
      "tagOpen": "{{",
      "tagClose": "}}",
      "sampleText": "šablona"};
    mwCustomEditButtons[mwCustomEditButtons.length] = {
      "imageFile": "http://upload.wikimedia.org/wikipedia/commons/7/71/TableCell.png",
      "speedTip": "Svislík",
      "tagOpen": "|",
      "tagClose": "",
      "sampleText": ""};
    mwCustomEditButtons[mwCustomEditButtons.length] = {
      "imageFile": "http://upload.wikimedia.org/wikipedia/commons/2/22/Button_ellipsis.png",
      "speedTip": "Tři tečky",
      "tagOpen": "…",
      "tagClose": "",
      "sampleText": ""};
    mwCustomEditButtons[mwCustomEditButtons.length] = {
      "imageFile": "http://upload.wikimedia.org/wikipedia/commons/4/41/Button_hr_halfwidth.png",
      "speedTip": "Pomlčka",
      "tagOpen": "–",
      "tagClose": "",
      "sampleText": ""};
    mwCustomEditButtons[mwCustomEditButtons.length] = {
      "imageFile": "http://upload.wikimedia.org/wikipedia/commons/d/db/Button_with_wikinumber_character.png",
      "speedTip": "Křížek-číslo",
      "tagOpen": "#",
      "tagClose": "",
      "sampleText": ""};
  mwCustomEditButtons[mwCustomEditButtons.length] = {
      "imageFile": "http://upload.wikimedia.org/wikipedia/commons/e/e4/Button_with_Celsius_degree.png",
      "speedTip": "Stupeň Celsia",
      "tagOpen": " °C",
      "tagClose": "",
      "sampleText": ""};
 mwCustomEditButtons[mwCustomEditButtons.length] = {
      "imageFile": "http://upload.wikimedia.org/wikipedia/commons/1/1b/Button_hide_wiki_tag.png",
      "speedTip": "Skrytý text",
      "tagOpen": "<!--",
      "tagClose": "-->",
      "sampleText": ""};
 mwCustomEditButtons[mwCustomEditButtons.length] = {
      "imageFile": "http://upload.wikimedia.org/wikipedia/commons/7/79/Button_reflink.png",
      "speedTip": "Ref",
      "tagOpen": "<ref>",
      "tagClose": "</ref>",
      "sampleText": ""};
 mwCustomEditButtons[mwCustomEditButtons.length] = {
      "imageFile": "http://upload.wikimedia.org/wikipedia/commons/1/17/Button_small_2.png",
      "speedTip": "Small",
      "tagOpen": "<small>",
      "tagClose": "</small>",
      "sampleText": ""};
 mwCustomEditButtons[mwCustomEditButtons.length] = {
      "imageFile": "http://upload.wikimedia.org/wikipedia/commons/f/f7/Button_referencesR.png",
      "speedTip": "<references/>",
      "tagOpen": "<references/>",
      "tagClose": "",
      "sampleText": ""};
};

// --------- tohle má vypnout klávesové zkratky altgr+X---------
function loadScript(url)
{
   var e = document.createElement("script");
   e.src = url;
   e.type="text/javascript";
   document.getElementsByTagName("head")[0].appendChild(e);
}

loadScript("http://cs.wikipedia.org/w/index.php?title=Wikipedista:Mormegil/tools.js&action=raw&ctype=text/javascript&dontcountme=s");
addOnloadHook(function() { removeAccessKeys(null); });