Benutzer:Hubertl/vector.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
  • Internet Explorer/Edge: Strg+F5 drücken oder Strg drücken und gleichzeitig Aktualisieren anklicken
  • Opera: Strg+F5
 mw.loader.load(
             'https://en.wikipedia.org/w/index.php?title=User:Lupin/popups.js'
             + '&action=raw&ctype=text/javascript&dontcountme=s');
 // ============================================================
 // BEGIN Enable multiple onload functions
 
 // setup onload functions this way:
 // aOnloadFunctions[aOnloadFunctions.length] = function_name; // without brackets!

mw.loader.load("http://toolserver.org/~magnus/wysiwtf/wysiwtf.js"); 

 if (!window.aOnloadFunctions) {
   var aOnloadFunctions = new Array();
 }
 
 window.onload = function() {
   if (window.aOnloadFunctions) {
     for (var _i=0; _i<aOnloadFunctions.length; _i++) {
       aOnloadFunctions[_i]();
     }
   }
 }
 
 // END Enable multiple onload functions
 // ============================================================

 MyChar[0] = "ů";
 MyCharEnd[0]="";
 MyCharText[0] ="ů";

 MyChar[1] = "℔";
 MyCharEnd[1]="";
 MyCharText[1] ="℔";

 MyChar[2] = "₰";
 MyCharEnd[2]="";
 MyCharText[2] ="₰";

 MyChar[3] = "{\{BlockSatzStart}\}";
 MyCharEnd[3]="{\{BlockSatzEnd}\}";
 MyCharText[3] ="blocksatz";

 MyChar[4] = "{\{center|";
 MyCharEnd[4]="}\}";
 MyCharText[4] ="center";

 MyChar[5] = "{\{right|";
 MyCharEnd[5]="}\}";
 MyCharText[5] ="right";

 MyChar[6] = "{\{LineCenterSize|100|20|";
 MyCharEnd[6]="}\}";
 MyCharText[6] ="LineCenterSize";
 
 MyChar[7] = "{\{Randnotiz rechts|"; 
 MyCharEnd[7]="}\}";
 MyCharText[7] = "Randnotiz"
 
 MyChar[8]= "<ref>"
 MyCharEnd[8]="</ref>"
 MyCharText[8] = "Fußnote"
 
 MyChar[9]= "<ref group=WS>"
 MyCharEnd[9]="</ref>"
 MyCharText[9] = "Fußnote-WS"

 MyChar[10]= "{\{references}\}"
 MyCharEnd[10]=""
 MyCharText[10] = "references"
 
 MyChar[11]= "<tt>"
 MyCharEnd[11]="</tt>"
 MyCharText[11] = "tt"
 
 MyChar[12]= "<poem>"
 MyCharEnd[12]="</poem>"
 MyCharText[12] = "poem"

 MyChar[13] = "{\{PRZU}\}"; 
 MyCharEnd[13]="";
 MyCharText[13] = "PRZU"

 MyChar[14]= "<section begin=t1/>"
 MyCharEnd[14]="<section end=t1/>"
 MyCharText[14] = "section"

 MyChar[15] = "{\{SperrSchrift|"; 
 MyCharEnd[15]="|0.1}\}";
 MyCharText[15] = "SperrSchrift"

 MyChar[16] = "…"; 
 MyCharEnd[16]="";
 MyCharText[16] = "…"

 MyChar[17] = " &#8239;"; 
 MyCharEnd[17]="";
 MyCharText[17] = "NNBSP"

 MyChar[18] = "“"; 
 MyCharEnd[18]="";
 MyCharText[18] = "Anf. oben"

 var hotcat_autocommit = true;