Zum Inhalt springen

Benutzer:Jowinix/monobook.js

aus Wikisource, der freien Quellensammlung

Hinweis: Leere nach dem Veröffentlichen den Browser-Cache, um die Änderungen sehen zu können.

  • Firefox/Safari: Umschalttaste drücken und gleichzeitig Aktualisieren anklicken oder entweder Strg+F5 oder Strg+R (⌘+R auf dem Mac) drücken
  • Google Chrome: Umschalttaste+Strg+R (⌘+Umschalttaste+R auf dem Mac) drücken
  • Edge: Strg+F5 drücken oder Strg drücken und gleichzeitig Aktualisieren anklicken
// Anzahl und Reihenfolge wählbar (siehe: [[Wikipedia:Helferlein/Extra-Editbuttons#Die Buttons]])
var customEditButtons = "N,S,I1,I2,H";

//Insert any tag before any element with an id
 function insert_link_before(tagname, previous_element, linkcode)
 {
 	var vl_logout = document.getElementById(previous_element);
 	if (vl_logout) 
 	{
 		var ins_li = document.createElement(tagname);
 		ins_li.innerHTML=/* */linkcode;/* */
 		 vl_logout.parentNode.insertBefore(ins_li, vl_logout);
 	}
 }
 
 // <nowiki>

 MyChar[0] = "’";
 MyCharText[0] = " ’ ";
 
 MyChar[1] = "„";
 MyCharEnd[1] = "“";
 MyCharText[1] = " „ “ ";

 MyChar[2] = "‚";
 MyCharEnd[2] = "‘";
 MyCharText[2] = " ‚ ‘ ";

 MyChar[3] = "–";
 MyCharText[3] = " – ";
 
 MyChar[4] = "\{\{Idt\}\}";
 MyCharText[4] = "Idt";
 
 MyChar[5] = "\{\{Idt2|";
 MyCharEnd[5]="\}\}";
 MyCharText[5] ="Idt2";

 MyChar[6] = "\{\{Center\|";
 MyCharEnd[6] = "\}\}";
 MyCharText[6] = "Cent";
 
 MyChar[7] = "\{\{LineCenterSize\|100\|20\|\\'\\'\\'";
 MyCharEnd[7] = "\\'\\'\\'\}\}";
 MyCharText[7] = "LC100";

 MyChar[8] = "<poem>";
 MyCharEnd[8] = "</poem>";
 MyCharText[8] = "poem";
 
 MyChar[9] = "\{\{Right\|";
 MyCharEnd[9] = "\}\}";
 MyCharText[9] = "Right";

 MyChar[10] = "\{\{references\|x\}\}";
 MyCharText[10] = "REF";
 
 MyChar[11] = "\\n\\n\{\{PRZU\}\}";
 MyCharText[11] = "PRZU";

 MyChar[12] = "\{\{";
 MyCharEnd[12] = "\}\}";
 MyCharText[12] = "{{}}";

 MyChar[13] = "\[\[";
 MyCharEnd[13] = "\]\]";
 MyCharText[13] = " [[]] ";

 MyChar[14] = "<ref>";
 MyCharEnd[14] = "</ref>";
 MyCharText[14] = "ref";

 MyChar[15] = "\{\{Zeile|";
 MyCharEnd[15] = "\}\}";
 MyCharText[15] = "Zeile";
 MyCharDefault[15]= "+5";

 MyChar[16] = "<section begin= />";
 MyCharEnd[16] = "\<section end= />";
 MyCharText[16] = "section";

 MyChar[17] = "<tt>";
 MyCharEnd[17] = "\</tt>";
 MyCharText[17] = "tt";

 MyChar[18] = "<br />";
 MyCharText[18] = "br";

 MyChar[19] = "\{\{SperrSchrift\|";
 MyCharEnd[19] = "\|0.2\}\}";
 MyCharText[19] = "SperrS";

 MyChar[20] = "<center>";
 MyCharEnd[20] = "\</center>";
 MyCharText[20] = "cent";

 MyChar[21] = "<small>";
 MyCharEnd[21] = "\</small>";
 MyCharText[21] = "small";

 MyChar[22] = "<nowiki>";
 MyCharEnd[22] = "\</nowiki>";
 MyCharText[22] = "nowi";

 MyChar[23] = "\{\{BRU\|\|center\|500\|Text\|\|center\}\}"
 MyCharText[23] ="BRU";

 MyChar[24] = "ï";
 MyCharText[24] = "ï";

 // </nowiki>