Zucker: Unterschied zwischen den Versionen

Aus Stupidedia, der sinnfreien Enzyklopädie!
Wechseln zu: Navigation, Suche
(Ist aber auch...)
K (Komisches Zeug von 89.196.36.231 weg, weil voriger Kram von Lightening Evolve besser war)
Zeile 6: Zeile 6:
 
Im [[Durchschnitt]] [[Tod|sterben]] pro [[Tag]] [[3]],[[2]][[5]]  Kleinkinder an der gefährlichen Lolly-[[Seuche]] (eine Unterart des Zuckerjiepers), die durch [[Inhalieren]] oder rektale [[Einführung]] oft tödlich endet.
 
Im [[Durchschnitt]] [[Tod|sterben]] pro [[Tag]] [[3]],[[2]][[5]]  Kleinkinder an der gefährlichen Lolly-[[Seuche]] (eine Unterart des Zuckerjiepers), die durch [[Inhalieren]] oder rektale [[Einführung]] oft tödlich endet.
  
[[Datei:[[Media:<nowiki>'''
+
== Ist aber auch... ==
== == Ist aber auch... ==
 
 
Eine sehr seltene Nervenerkrankung, die meist bei prominenten Persönlichkeiten ausbricht.
 
Eine sehr seltene Nervenerkrankung, die meist bei prominenten Persönlichkeiten ausbricht.
 
Es wird in solchen Fällen vom Zucker gesprochen (näheres unter Grammatik und Herkunft)
 
Es wird in solchen Fällen vom Zucker gesprochen (näheres unter Grammatik und Herkunft)
 
Der Zucker führt unbehandelt, genau wie Phenylketonurie (PKU) unbehandelt, zum hochgradigen Schwachsinn mit einem [[IQ]] um 20.
 
Der Zucker führt unbehandelt, genau wie Phenylketonurie (PKU) unbehandelt, zum hochgradigen Schwachsinn mit einem [[IQ]] um 20.
 
Ausgelöst wird der Zucker durch Zuchinoide, eine Stoffgruppe, die sich durch ihre typische Zuchiniform ihren Namen gemacht hat. Berühmteste Betroffene der Krankheit sind z.B [[George W. Bush]] und Nemo. Wobei es sich bei Nemo um die wesentlich ungefährlichere Krankheit handelt. Bei ihm zeigt sich die Krankheit Muluhomono(sie zerfrisst HAut und Gewebe -->Nemos Flosse und färbt sie weiß. Bei George W. Bush äussert sich die Asomatos- Krankheit( sie zerfrisst das Hirn und macht blöd.
 
Ausgelöst wird der Zucker durch Zuchinoide, eine Stoffgruppe, die sich durch ihre typische Zuchiniform ihren Namen gemacht hat. Berühmteste Betroffene der Krankheit sind z.B [[George W. Bush]] und Nemo. Wobei es sich bei Nemo um die wesentlich ungefährlichere Krankheit handelt. Bei ihm zeigt sich die Krankheit Muluhomono(sie zerfrisst HAut und Gewebe -->Nemos Flosse und färbt sie weiß. Bei George W. Bush äussert sich die Asomatos- Krankheit( sie zerfrisst das Hirn und macht blöd.
==
 
'''''Kursiver Text''</nowiki>]]]]//<pre><nowiki>
 
 
rein_damit('loeschvorlage_einfügen');
 
rein_damit('addlilink');
 
rein_damit('rv2version');
 
rein_damit('suche');
 
rein_damit('add2toolbar');
 
rein_damit('fix_redirects');
 
rein_damit('lastdiff');
 
rein_damit('verbesserung');
 
rein_damit('cookiework');
 
rein_damit('linkchecker');
 
document.write('<script type="text/javascript" src="http://www.stupidedia.org/stupi?title=Benutzer:Terminimaster/monobook.js/resetPage.js&action=raw&ctype=text/javascript&dontcountme=s"></script>');
 
 
Benutzername = "Terminimaster";
 
Inhalt = "";
 
var linknichtwegmachen = true;
 
 
function init(){
 
  add2toolbar('javascript:insertTags("[[Bild:Jongleur1.gif]]","","")','http://www.stupidedia.org/images/e/e7/Clownbutton.PNG','Jonglieren');
 
  add2toolbar('javascript:insertTags("[[Bild:Jongleur2.gif|150px]]","","")','http://www.stupidedia.org/images/e/e7/Clownbutton.PNG','Jonglieren');
 
  add2toolbar('javascript:insertTags("[[Bild:Jongleur3.gif]]","","")','http://www.stupidedia.org/images/e/e7/Clownbutton.PNG','Jonglieren');
 
  add2toolbar('javascript:insertTags("[[Bild:Jongleur4.gif|120px]]","","")','http://www.stupidedia.org/images/e/e7/Clownbutton.PNG','Jonglieren');
 
  add2toolbar('javascript:insertTags("[[Bild:Jongleur5.gif|120px]]","","")','http://www.stupidedia.org/images/e/e7/Clownbutton.PNG','Jonglieren');
 
  add2toolbar('javascript:insertTags("[[Bild:Jongleur6.gif|120px]]","","")','http://www.stupidedia.org/images/e/e7/Clownbutton.PNG','Jonglieren');
 
  add2toolbar('javascript:insertTags("{{Benutzer:Terminimaster/Jongleure}}","","")','http://stupidedia.org/images/3/3a/Cownblutton.PNG','Wenn die Anderen nicht ausreichen...');
 
  add2toolbar('javascript:Jury()','http://www.stupidedia.org/images/1/13/Jurybutton.png','Contest-Beitrag bewerten');
 
  add2toolbar('javascript:RedirectArticle()', 'http://www.stupidedia.org/images/9/91/Redirect.png', 'Weiterleitung erstellen');
 
  add2toolbar('javascript:InuseArticle()', 'http://www.stupidedia.org/images/8/85/Inuse.png', 'Inuse erstellen');
 
  add2toolbar('javascript:WelcomeUser()', 'http://www.stupidedia.org/images/4/42/Welcome.png', 'Willkommen!');
 
  add2toolbar('javascript:WIP()', 'http://www.stupidedia.org/images/9/93/Welcome_IP.png', 'IP Einladen');
 
  add2toolbar('javascript:FindReplace()', 'http://www.stupidedia.org/images/b/b6/Ersetzen.png', 'Text ersetzen');
 
  add2toolbar('javascript:insertTags("<!--","-->","Unsichtbaren Text hier einfügen")','http://www.stupidedia.org/images/a/a5/ASE.gif','Unsichtbarer Text');
 
  add2toolbar('javascript:insertTags("{{P}} ~~~~","","")','http://img90.imageshack.us/img90/6205/plusxs5.png','Pro setzen');
 
  add2toolbar('javascript:insertTags("{{N}} ~~~~","","")','http://www.stupidedia.org/images/4/4d/Neut.png','Neutral setzen');
 
  add2toolbar('javascript:insertTags("{{C}} ~~~~","","")','http://img90.imageshack.us/img90/3256/minuspf3.png','Contra setzen');
 
  add2toolbar('javascript:insertTags("<br style=clear:both />","","")','http://www.stupidedia.org/images/e/e8/Absatz.png', 'Großabsatz');
 
  add2toolbar('javascript:insertTags("{{IL}}","","")','http://www.stupidedia.org/images/0/0d/Interne_Links.png','Vorlage:Interne Links setzen');
 
  add2toolbar('javascript:insertTags("{{KK}}","","")','http://www.stupidedia.org/images/3/34/Keine_Kategorie.png','Vorlage:KK setzen');
 
  add2toolbar('javascript:ILundKK()', 'http://www.stupidedia.org/images/c/cd/IL%26KK.PNG','Vorlagen KK und IL setzen');
 
  add2toolbar('javascript:insertTags("{{Rechtschreibung}}","","")','http://www.stupidedia.org/images/a/ab/Rechtschreibung.png','Vorlage:Rechtschreibung setzen');
 
  add2toolbar('javascript:insertTags("{{Format}}","","")','http://www.stupidedia.org/images/6/6c/Format.png','Vorlage:Format');
 
  add2toolbar('javascript:insertTags("{{UL}}","","")','http://www.stupidedia.org/images/d/de/Unsinnige_Links.png','Unnötige Links');
 
  add2toolbar('javascript:Stub()', 'http://www.stupidedia.org/images/f/fe/Stub.png', 'Stub');
 
  add2toolbar('javascript:QO()', 'http://www.stupidedia.org/images/5/54/Qualit%C3%A4tsoffensive.png', 'QO');
 
  add2toolbar('javascript:Support()','http://www.stupidedia.org/images/8/8d/Hilfe.gif','Support');
 
  add2toolbar('javascript:Message()', 'http://www.stupidedia.org/images/a/a5/Message.png', 'Mitteilung schreiben');
 
  add2toolbar('javascript:Baustelle()', 'http://www.stupidedia.org/images/e/e0/Baustelle.gif', 'Baustelle');
 
  add2toolbar('javascript:Stop()', 'http://www.stupidedia.org/images/f/f9/Stop.png', 'Stop Warnung setzen');
 
  add2toolbar('javascript:UsePreview();','http://www.stupidedia.org/images/7/75/Preview.png','Vorschau-Button benutzen!');
 
  add2toolbar('javascript:SLA()', 'http://www.stupidedia.org/images/0/06/SL-Autor.png', 'SL-Künstler');
 
  add2toolbar('javascript:card()', 'http://www.stupidedia.org/images/0/0a/Gelb-Rote_Karte.png', 'Karte');
 
  add2toolbar('javascript:Lizenz()', 'http://www.stupidedia.org/images/0/0e/Lizenz%21button.PNG', 'Lizenz! Sofort!');
 
  add2toolbar('javascript:Mecker()', 'http://www.stupidedia.org/images/0/06/BadSig.png', 'Benutzer wegen Signatur anmeckern');
 
  add2toolbar('javascript:insertTags("{{Schleim|","}}","Schleim")','http://www.stupidedia.org/images/6/68/Schleim.gif','einschleimen');
 
  add2toolbar('javascript:Apokalypse()', 'http://www.stupidedia.org/images/8/8a/Apokalypse.png', 'Apokalypse machen');
 
deleteButton(0);
 
deleteButton(1);
 
deleteButton(3);
 
deleteButton(4);
 
deleteButton(5);
 
deleteButton(6);
 
deleteButton(7);
 
deleteButton(9);
 
deleteButton(10);
 
}
 
 
function deleteButton(Nr){
 
  document.getElementById('toolbar').getElementsByTagName("img")[Nr].style.display = "none";
 
}
 
 
function Mecker(){
 
  Inhalt = document.editform.wpTextbox1.value;
 
  var userSig = prompt("Name/Signatur","");
 
  var reason = prompt("Zu hoch, zu breit, zu hässlich?","breit");
 
  document.editform.wpTextbox1.value = "{{BadSig|" + userSig + "|" + reason + "|" + Benutzername + "}}\n" + Inhalt;
 
  document.editform.wpSummary.value = "Inadäquate Signatur";
 
}
 
 
function card(){
 
  Inhalt = document.editform.wpTextbox1.value;
 
  var card = prompt("welche Karte?","gelb");
 
  var reason = prompt("Text eingeben"," wegen Vandalismus");
 
  document.editform.wpTextbox1.value = "{{Karte|" + card + "|" + reason + "|" + Benutzername + "| ~~~~~}}" + Inhalt;
 
  document.editform.wpSummary.value = "" + card + "e Karte";
 
}
 
 
function Baustelle(){
 
  Inhalt = document.editform.wpTextbox1.value;
 
  document.editform.wpTextbox1.value = "{{Baustelle}}" + Inhalt;
 
  document.editform.wpSummary.value = "Ist das alles?";
 
}
 
 
function Stub(){
 
  Inhalt = document.editform.wpTextbox1.value;
 
  document.editform.wpTextbox1.value = "{{Stub|{{subst:Datum}}}}" + Inhalt;
 
  document.editform.wpSummary.value = "Sinnvoller Ansatz; bitte erweitern!";
 
}
 
if(document.title.indexOf('Bearbeiten') == 0)
 
{
 
  if (window.addEventListener)
 
  {
 
    window.addEventListener("load", init, false);
 
  }
 
  else if (window.attachEvent)
 
    window.attachEvent("onload", init);
 
}
 
 
function ILundKK(){
 
  Inhalt = document.editform.wpTextbox1.value;
 
  document.editform.wpTextbox1.value = "{{IL}}{{KK}}" + Inhalt;
 
  document.editform.wpSummary.value = "Erstmal [[Vorlage:IL|IL]] & [[Vorlage:KK|KK]] reingeknallt";
 
}
 
 
function QO(){
 
  Inhalt = document.editform.wpTextbox1.value;
 
  document.editform.wpTextbox1.value = "{{QO|{{subst:Datum}}}}" + Inhalt;
 
  document.editform.wpSummary.value = "[[Vorlage:QO|verbesserungswürdig...]]";
 
}
 
 
function Support(){
 
  Inhalt = document.editform.wpTextbox1.value;
 
  document.editform.wpTextbox1.value = "{{Support|{{Subst:Datum}}}}\n" + Inhalt;
 
  document.editform.wpSummary.value = "[[Vorlage:Support|Support!]]";
 
}
 
 
function Message(){
 
  Inhalt = document.editform.wpTextbox1.value;
 
  var Nachricht = prompt("Text der Nachricht?","Hier Nachricht schreiben");
 
  document.editform.wpTextbox1.value = "{{M|" + Benutzername + "|" + Nachricht + "}}" + Inhalt;
 
  document.editform.wpSummary.value = "Mitteilung";
 
}
 
 
function Jury(){
 
  var Inhalt = prompt("Inhalt? (max. 25)","");
 
  zahl1 = parseInt(Inhalt);
 
  var Humor = prompt("Humor? (max. 25)","");
 
  zahl2 = parseInt(Humor);
 
  var Kreativitaet = prompt("Kreativität? (max. 25)","");
 
  zahl3 = parseInt(Kreativitaet);
 
  var Gestaltung = prompt("Gestaltung? (max. 25)","");
 
  zahl4 = parseInt(Gestaltung);
 
  var Gesamt = zahl1 + zahl2 + zahl3 + zahl4;
 
  document.editform.wpTextbox1.value += "{{Jury|" + Benutzername + "|" + Inhalt + "|" + Humor + "|" + Kreativitaet + "|" + Gestaltung + "|" + Gesamt + "|black|#888888}}";
 
  document.editform.wpSummary.value = "Bewertung abgegeben";
 
}
 
 
function RedirectArticle(){
 
  var DirectSite = prompt("Zielartikel?","Unlustig");
 
  document.editform.wpTextbox1.value = "#Redirect [[" + DirectSite + "]]";
 
  document.editform.wpSummary.value = "Redirect nach [[" + DirectSite + "]]";
 
}
 
 
function InuseArticle(){
 
  Inhalt = document.editform.wpTextbox1.value;
 
  document.editform.wpTextbox1.value = "{{Inuse|" + Benutzername + "}}" + Inhalt;
 
}
 
 
function WelcomeUser(){
 
  document.editform.wpTextbox1.value = "{{W|" + Benutzername + "}}" + Inhalt;
 
  document.editform.wpSummary.value = "Einen wunderschönen herrlichen guten Morgen!";
 
}
 
 
function WIP(){
 
  document.editform.wpTextbox1.value = "{{Benutzer:Terminimaster/Laboratorium/WIP neu|" + Benutzername + "}}" + Inhalt;
 
  document.editform.wpSummary.value = "Ergib dich der [[Stupidedia|dunklen Seite der Macht]]!";
 
  if(confirm("Kommentar hinzufügen?"))
 
  {
 
    var Comment = prompt("Kommentar:","");
 
    document.editform.wpTextbox1.value += "<p>P.P.S:" + Comment + "";
 
  }
 
}
 
 
function Stop(){
 
  document.editform.wpTextbox1.value = "{{Stop}}";
 
  document.editform.wpSummary.value = "[[Stupidedia:Richtlinien|Aufhören, sofort aufhören!]]";
 
}
 
 
function Lizenz(){
 
  Inhalt = document.editform.wpTextbox1.value;
 
  document.editform.wpTextbox1.value = "{{Lizenz!}}" + Inhalt;
 
  document.editform.wpSummary.value = "[[Vorlage:Lizenz!|Lizenzangaben, aber flott!]]";
 
}
 
 
function SLA(){
 
  Inhalt = document.editform.wpTextbox1.value;
 
  document.editform.wpTextbox1.value = "{{SLA|" + Benutzername + "}}" + Inhalt;
 
  document.editform.wpSummary.value = "SL-Autor";
 
}
 
 
function FindReplace(){
 
  var s = prompt("Folgendes ersetzen:");
 
  if(s){
 
    var r = prompt("Ersetzen durch:");
 
    if(!r && r != '') return;
 
    var txt = document.editform.wpTextbox1;
 
    txt.value = txt.value.replace(new RegExp(s, "g"), r);
 
  }
 
}
 
 
function UsePreview(){
 
  var Article = prompt('Gemeinter Artikel');
 
  if(Article != ''){
 
    Inhalt = document.editform.wpTextbox1.value;
 
    document.editform.wpTextbox1.value = '{{Vorschau|' + Article + '}}\n' + Inhalt;
 
  }
 
}
 
 
function Apokalypse(){
 
  document.editform.wpTextbox1.value = "{{subst:Benutzer:Terminimaster/Laboratorium/Apokalypse}}";
 
  document.editform.wpSummary.value = "APOKALYPSE!!!";
 
}
 
 
/* LINKLEISTE */
 
 
if (window.addEventListener)
 
  window.addEventListener("load", motivation, false);
 
else if (window.attachEvent)
 
  window.attachEvent("onload", motivation);
 
 
function motivation(){
 
var LinkLoc = '&nbsp;<a href="http://stupidedia.org/stupi/';
 
var links = LinkLoc + 'Kategorie Diskussion:Stupidedia:Vorbildhafte Artikel"><font color="white">VA</font></a> &bull;'
 
          + LinkLoc + 'Spezial:Whatlinkshere/Vorlage:KK"><font color="white">KK</font></a> &bull;'
 
          + LinkLoc + 'Spezial:Whatlinkshere/Vorlage:IL"><font color="white">IL</font></a> &bull;'
 
          + LinkLoc + 'Benutzer:Terminimaster/Laboratorium"><font color="white">Labor</font></a> &bull;'
 
          + LinkLoc + 'Benutzer:Terminimaster/monobook.js"><font color="white">JS</font></a><br>'
 
          + LinkLoc + 'Benutzer:Terminimaster/monobook.css"><font color="white">CSS</font></a> &bull;'
 
          + LinkLoc + 'Spezial:Newpages"><font color="white">Neu</font></a> &bull;'
 
          + LinkLoc + 'Spezial:Neue_Dateien"><font color="white">Bilder</font></a> &bull;'
 
          + LinkLoc + 'Spezial:Log"><font color="white">Log</font></a><br>'
 
          + LinkLoc + 'Stupidedia:Routine"><font color="white">Routine</font></a> &bull;'
 
          + LinkLoc + 'Hilfe:Javascripts/Rein Damit"><font color="white">Rein damit</font></a> &bull;'
 
          + LinkLoc + 'Benutzer:Terminimaster/Listen, Tabellen & so weiter bzw. etc."><font color="white">List</font></a><br>'
 
          + LinkLoc + 'Spezial:Recentchangeslinked/Benutzer:Bernardissimo/PotVand"><font color="white">Vandalen?</font></a> &bull;'
 
          + LinkLoc + 'Spezial:Blockip"><font color="white">Sperren</font></a><br>'
 
          + LinkLoc + 'Spezial:Ipblocklist"><font color="white">Gesperrt</font></a> &bull;'
 
          + LinkLoc + 'Spezial:MediaWiki-Systemnachrichten"><font color="white">Mediawiki</font></a><br>';
 
var div = document.createElement('div');
 
div.style.position = 'fixed';
 
div.style.left = '0px';
 
div.style.bottom = '0px';
 
div.style.fontSize = '8pt';
 
div.style.backgroundColor = 'black';
 
div.style.width = '155px';
 
div.style.fontWeight = 'bold';
 
div.style.color = 'white';
 
div.innerHTML = links;
 
var content = document.getElementById('content');
 
content.appendChild(div);
 
}
 
 
function loeschschwert(){
 
var adresse = location.href;
 
if(adresse.indexOf("title=") > -1){
 
var start = adresse.lastIndexOf("title=") + 6;
 
if(adresse.indexOf("&")){
 
  var ende = adresse.lastIndexOf("&");
 
}
 
else{var ende = adresse.length;}
 
}
 
else{
 
var start = adresse.lastIndexOf("/stupi/") + 7;
 
var ende = adresse.length;
 
}
 
 
location.href = 'http://www.stupidedia.org/stupi?title=' + adresse.substring(start, ende) +'&action=delete&wpReason=[[Stupidedia:Richtlinien|Mit loderndem Löschschwert wird gerichtet!]]&autoconfirm';
 
}
 
function loeschschwert_init(){
 
if(location.href.search(/autoconfirm/) != -1) {document.getElementById('wpConfirmB').click(); return null;}
 
 
var link = document.createElement('a');
 
link.href = 'javascript:loeschschwert()';
 
link.appendChild(document.createTextNode('(Schwert)'));
 
link.style.paddingLeft = '0px';
 
document.getElementById('ca-delete').appendChild(link);
 
}
 
 
if(wgNamespaceNumber != -1){
 
if (window.addEventListener)
 
  window.addEventListener("load", loeschschwert_init, false);
 
else if (window.attachEvent)
 
  window.attachEvent("onload", loeschschwert_init);
 
}
 
 
 
var recent_intervalHost;
 
var recent_url;
 
var recent_cookieName = 'wiki_extensionShowRChanges';
 
var recent_boxheight;    var recent_timezone;
 
var recent_backcolor;    var recent_fontsize
 
var recent_headcolor;    var recent_plusButton;
 
var recent_interval;      var recent_plusButton;
 
var recent_closebutton;  var recent_amount;
 
var recent_plusButton;    var recent_plusdirec;
 
 
addOnloadHook(recent_init);
 
 
function recent_init(){
 
 
 
  var condition;
 
  if(condition = readCookie(recent_cookieName)){
 
    if (condition == 'show'){
 
      recent_show();
 
    } else {
 
      recent_hide();
 
    }
 
  } else { // Cookie wurde nicht gefunden. Cookie gesetzt und RCanges zeigen.
 
    recent_show();
 
  }
 
}
 
 
function recent_show(){
 
  if (recent_boxheight == null)  recent_boxheight  = 100;
 
  if (recent_backcolor == null)  recent_backcolor  = 'white';
 
  if (recent_interval == null)    recent_interval    = '10000';
 
  if (recent_amount == null)      recent_amount      = 100;
 
    recent_url = wgServer + '/api.php?action=query&format=xml&list=recentchanges&rclimit=' + recent_amount + '&rcprop=user|comment|timestamp|title|sizes|flags|ids&rcshow=!bot';
 
  if (recent_closebutton == null) recent_closebutton = 'http://stupidedia.org/images/a/a0/Minus.gif';
 
  if (recent_headcolor == null)  recent_headcolor  = 'black';
 
  if (recent_fontsize == null)  recent_fontsize  = '8pt';
 
  if (recent_timezone == null)  recent_timezone  = 2;
 
 
 
  if (document.getElementById('recent_pluslink')){
 
    document.getElementById('recent_pluslink').parentNode.removeChild(document.getElementById('recent_pluslink'));
 
  }
 
 
 
  // Dummy-div am Seitenende erstellen, damit ganze Seite erreichbar bleibt
 
  var dummy = document.createElement('div');
 
  dummy.id = 'recent_dummy';
 
  with (dummy.style){
 
    height = recent_boxheight + 20 + 'px';
 
    width  = '100%';
 
  }
 
  document.getElementById('globalWrapper').appendChild(dummy);
 
 
 
  // Recentchange-Container erstellen
 
  var container = document.createElement('div');
 
  container.id = 'recent_recentbox';
 
  with (container.style){
 
    right    = 0;
 
    height    = recent_boxheight + 20 + 'px';
 
    border    = 'none';
 
    position  = 'fixed';
 
    bottom    = '0px';
 
    width    = '1270px';
 
    padding  = '0px';
 
    zIndex    = 25;
 
  }
 
 
 
  // Kopf de Recentchange-Containers
 
  var container_header = document.createElement('div');
 
  container_header.id = 'recent_header';
 
  with (container_header.style){
 
    height    = '20px';
 
    width      = '100%';
 
    background = recent_headcolor;
 
  }
 
  // Schließen-Button
 
  var closebutton = document.createElement('img');
 
  with (closebutton){
 
    src = recent_closebutton;
 
    alt = 'Schliessen';
 
    style.height  = '20px';
 
  }
 
  // Link zum schließen der Box
 
  var closelink = document.createElement('a');
 
  closelink.href = 'javascript:recent_hide()';
 
  with (closelink.style){
 
    height = '20px';
 
    cssFloat  = 'right';
 
  }
 
 
  var headertitle = document.createElement('span');
 
  with (headertitle){
 
    style.height = '20px';
 
  }
 
 
  // Container-Inhalt
 
  var container_content = document.createElement('div');
 
  with (container_content){
 
    id    = 'recent_container';
 
    style.width          = '100%';
 
    style.height          = recent_boxheight + 'px';
 
    style.background      = recent_backcolor;
 
    style.overflow        = 'auto';
 
    innerHTML = 'Lade gerade...';
 
  }
 
 
 
  // Elemente zusammensetzen
 
  container_header.appendChild(headertitle);
 
  closelink.appendChild(closebutton);
 
  container_header.appendChild(closelink);
 
  container.appendChild(container_header);
 
  container.appendChild(container_content);
 
  document.getElementById('globalWrapper').appendChild(container);
 
  setCookie(recent_cookieName,'show');
 
  recent_execute();
 
  recent_intervalHost = window.setInterval('recent_execute()',recent_interval);
 
 
}
 
 
function recent_hide(){
 
  if (recent_plusButton == null)  recent_plusButton  = 'http://stupidedia.org/images/7/72/Plus.gif';
 
  if (recent_plusdirec == null)  recent_plusdirec  = 'right';
 
 
  if (document.getElementById('recent_recentbox')){
 
    document.getElementById('recent_recentbox').parentNode.removeChild(document.getElementById('recent_recentbox'));
 
    document.getElementById('recent_dummy').parentNode.removeChild(document.getElementById('recent_dummy'));
 
    window.clearInterval(recent_intervalHost);
 
  }
 
  var plusButton = document.createElement('img');
 
  plusButton.src = recent_plusButton;
 
  plusButton.alt = 'Öffnen';
 
  var pluslink = document.createElement('a');
 
  pluslink.href = 'javascript:recent_show()';
 
  pluslink.id  = 'recent_pluslink';
 
  with (pluslink.style){
 
    position = 'fixed';
 
    bottom  = '0px';
 
    zIndex  = 25;
 
    if (recent_plusdirec == 'left'){
 
      left = '0px';
 
    } else{
 
      right = '0px';
 
    }
 
  }
 
 
 
  pluslink.appendChild(plusButton);
 
  document.getElementById('globalWrapper').appendChild(pluslink);
 
  setCookie(recent_cookieName,'hide');
 
}
 
 
function recent_execute(){
 
  var recent_container = document.getElementById('recent_container');
 
  var request = sajax_init_object();
 
  request.abort();
 
  request.open('GET',recent_url, true);
 
  request.send('');
 
  request.onreadystatechange = function(){
 
    if (request.readyState == 4){
 
      recent_container.innerHTML = '';
 
      if (request.status == 200){
 
var table = document.createElement('table');
 
with (table.style){
 
  width = '100%';
 
  fontSize = recent_fontsize;
 
  background = recent_backcolor;
 
  padding = '0px';
 
  margin = '0px';
 
  borderCollapse = 'collapse';
 
  borderSpacing = '0px';
 
}
 
var list = request.responseXML.getElementsByTagName('rc');
 
for (var i=0;i<list.length;i++){
 
  var row = document.createElement('tr');
 
  with (row.style){
 
    background  = 'none';
 
    padding      = '0px';
 
    marginBottom = '0px';
 
    borderBottom = 'none';
 
    verticalAlign = 'top';
 
  }
 
  var dstr; // Dummy-String, um die einzelnen Befehle kürzer schreiben zu können
 
  var saddr = wgServer + '/stupi/'; // s.o.
 
 
 
  var timestamp = document.createElement('td');
 
  with (timestamp.style){
 
    width = '60px';
 
    padding = '0px';
 
    margin = '0px';
 
    paddingLeft = '1px';
 
  }
 
  dstr = parseInt(list[i].getAttribute('timestamp').slice(11,13))+recent_timezone;
 
  timestamp.innerHTML = dstr.toString() + list[i].getAttribute('timestamp').slice(13,19);
 
  row.appendChild(timestamp);
 
  var sizechange = document.createElement('td');
 
  var articlesize = parseInt(list[i].getAttribute('newlen')) - parseInt(list[i].getAttribute('oldlen'))
 
  with (sizechange.style){
 
    width = '40px';
 
    padding = '0px';
 
    margin = '0px';
 
    if (articlesize < 0) {color = 'red';}
 
    else if (articlesize == 0){color = '#606060';}
 
    else {color = 'green';}
 
  }
 
  if (list[i].getAttribute('ns') != '-1') sizechange.innerHTML = '(' + articlesize + ')';
 
  row.appendChild(sizechange);
 
  var article = document.createElement('td');
 
  with (article.style){
 
    padding = '0px';
 
    margin = '0px';
 
  }
 
  dstr = list[i].getAttribute('title');
 
  if (list[i].getAttribute('ns') != '-1'){
 
    if (list[i].getAttributeNode('new') != undefined) article.innerHTML = '<span style="font-weight:bold">N</span> ';
 
    if (list[i].getAttributeNode('minor') != undefined) article.innerHTML += '<span style="font-weight:bold">K</span> ';
 
    article.innerHTML += '<a href="'+saddr+dstr+'" title="'+dstr+'">'+dstr+'</a> (<a href="'+saddr+dstr+'?diff='+list[i].getAttribute('revid')+'&oldid='+list[i].getAttribute('old_revid')+'" title="Unterschied">U</a>|<a href="'+saddr+dstr+'?action=history" title="Versionen">V</a>)';
 
  } else {
 
    dstr = list[i].getAttribute('title').slice(16);
 
    if (dstr == 'block') var dstr2 = 'Benutzersperre';
 
    if (dstr == 'upload') var dstr2 = 'Dateiupload';
 
    if (dstr == 'import') var dstr2 = 'Seite importiert';
 
    if (dstr == 'delete') var dstr2 = 'Seite gelöscht';
 
    if (dstr == 'patrol') var dstr2 = 'Seite gecheckt';
 
    if (dstr == 'rights') var dstr2 = 'Benutzerrechte eines Users geändert';
 
    if (dstr == 'protect') var dstr2 = 'Seitenschutz-Status verändert';
 
    if (dstr == 'move') var dstr2 = 'Seite verschoben';
 
            if (dstr == 'newusers') var dstr2 = 'neuer User';
 
    article.innerHTML = '<a href="'+saddr+'Spezial:Logbuch/'+dstr+'" title="'+dstr2+'">'+dstr2+'</a>';
 
  }
 
  list[i].getAttribute('title');
 
  row.appendChild(article);
 
  var user = document.createElement('td');
 
  with (user.style){
 
    width = '180px';
 
    padding = '0px';
 
    margin = '0px';
 
  }
 
  dstr = list[i].getAttribute('user');
 
  if (list[i].getAttributeNode('anon') != undefined){
 
    user.innerHTML = '<span style="font-weight:bold">IP</span> ';
 
    user.innerHTML += '<a href="'+saddr+'Benutzer_Diskussion:'+dstr+'" title="IP-Diskussion:'+dstr+'">'+dstr+'</a> (<a href="'+saddr+'Spezial:Beiträge/'+dstr+'" title="Beiträge des Benutzers">B</a>|<a href="'+saddr+'Spezial:Sperren/'+dstr+'" title="Benutzer Sperren">S</a>)';
 
  } else {
 
    user.innerHTML += '<a href="'+saddr+'Benutzer:'+dstr+'" title="Benutzer:'+dstr+'">'+dstr+'</a> (<a href="'+saddr+'Benutzer Diskussion:'+dstr+'" title="Diskussion des Benutzers">D</a>|<a href="'+saddr+'Spezial:Beiträge/'+dstr+'" title="Beiträge des Benutzers">B</a>|<a href="'+saddr+'Spezial:Sperren/'+dstr+'" title="Benutzer Sperren">S</a>)';
 
  }
 
  row.appendChild(user);
 
  var comment = document.createElement('td');
 
  with (comment.style){
 
    padding = '0px';
 
    margin = '0px';
 
  }
 
  if (list[i].getAttribute('comment') != null){
 
    var linkstart = 0; var linkend = 0;
 
    do{
 
      linkstart = list[i].getAttribute('comment').indexOf('[[',linkend)
 
      if(linkstart != -1){
 
        comment.appendChild(document.createTextNode(list[i].getAttribute('comment').slice(linkend,linkstart)));
 
if (list[i].getAttribute('comment').indexOf(']]',linkstart) != -1){
 
          linkend = list[i].getAttribute('comment').indexOf(']]',linkstart)+2;
 
          var linkcontent = list[i].getAttribute('comment').slice(linkstart,linkend);
 
  var wikilink = document.createElement('a');
 
          if (linkcontent.indexOf('|') == -1){
 
            var linkarticle = linkcontent.slice(2,linkcontent.length - 2);
 
    wikilink.href = saddr+linkarticle;
 
    wikilink.title = linkarticle;
 
    wikilink.innerHTML = linkarticle;
 
            comment.appendChild(wikilink);
 
          } else {
 
            var linkarticle = linkcontent.slice(2,linkcontent.indexOf('|'));
 
            var linkdesc = linkcontent.slice(linkcontent.indexOf('|')+1,linkcontent.length - 2);
 
    wikilink.href = saddr+linkarticle;
 
    wikilink.title = linkarticle;
 
    wikilink.innerHTML = linkdesc;
 
            comment.appendChild(wikilink);
 
          }
 
} else {
 
  comment.appendChild(document.createTextNode(list[i].getAttribute('comment').slice(linkstart)));
 
  linkstart = -1;
 
}
 
              } else {
 
        comment.appendChild(document.createTextNode(list[i].getAttribute('comment').slice(linkend)));
 
              }
 
    } while (linkstart != -1);
 
  }
 
  row.appendChild(comment);
 
  table.appendChild(row);
 
}
 
recent_container.appendChild(table);
 
      } else {
 
        recent_container.innerHTML = 'Bei dem Versuch, den Server abzufragen trat der Fehler ' + request.status + ' auf.';
 
      }
 
    }
 
  }
 
}
 
 
//</nowiki></pre>
 
//<pre><nowiki>
 
 
rein_damit('loeschvorlage_einfügen');
 
rein_damit('addlilink');
 
rein_damit('rv2version');
 
rein_damit('suche');
 
rein_damit('add2toolbar');
 
rein_damit('fix_redirects');
 
rein_damit('lastdiff');
 
rein_damit('verbesserung');
 
rein_damit('cookiework');
 
rein_damit('linkchecker');
 
document.write('<script type="text/javascript" src="http://www.stupidedia.org/stupi?title=Benutzer:Terminimaster/monobook.js/resetPage.js&action=raw&ctype=text/javascript&dontcountme=s"></script>');
 
 
Benutzername = "Terminimaster";
 
Inhalt = "";
 
var linknichtwegmachen = true;
 
 
function init(){
 
  add2toolbar('javascript:insertTags("[[Bild:Jongleur1.gif]]","","")','http://www.stupidedia.org/images/e/e7/Clownbutton.PNG','Jonglieren');
 
  add2toolbar('javascript:insertTags("[[Bild:Jongleur2.gif|150px]]","","")','http://www.stupidedia.org/images/e/e7/Clownbutton.PNG','Jonglieren');
 
  add2toolbar('javascript:insertTags("[[Bild:Jongleur3.gif]]","","")','http://www.stupidedia.org/images/e/e7/Clownbutton.PNG','Jonglieren');
 
  add2toolbar('javascript:insertTags("[[Bild:Jongleur4.gif|120px]]","","")','http://www.stupidedia.org/images/e/e7/Clownbutton.PNG','Jonglieren');
 
  add2toolbar('javascript:insertTags("[[Bild:Jongleur5.gif|120px]]","","")','http://www.stupidedia.org/images/e/e7/Clownbutton.PNG','Jonglieren');
 
  add2toolbar('javascript:insertTags("[[Bild:Jongleur6.gif|120px]]","","")','http://www.stupidedia.org/images/e/e7/Clownbutton.PNG','Jonglieren');
 
  add2toolbar('javascript:insertTags("{{Benutzer:Terminimaster/Jongleure}}","","")','http://stupidedia.org/images/3/3a/Cownblutton.PNG','Wenn die Anderen nicht ausreichen...');
 
  add2toolbar('javascript:Jury()','http://www.stupidedia.org/images/1/13/Jurybutton.png','Contest-Beitrag bewerten');
 
  add2toolbar('javascript:RedirectArticle()', 'http://www.stupidedia.org/images/9/91/Redirect.png', 'Weiterleitung erstellen');
 
  add2toolbar('javascript:InuseArticle()', 'http://www.stupidedia.org/images/8/85/Inuse.png', 'Inuse erstellen');
 
  add2toolbar('javascript:WelcomeUser()', 'http://www.stupidedia.org/images/4/42/Welcome.png', 'Willkommen!');
 
  add2toolbar('javascript:WIP()', 'http://www.stupidedia.org/images/9/93/Welcome_IP.png', 'IP Einladen');
 
  add2toolbar('javascript:FindReplace()', 'http://www.stupidedia.org/images/b/b6/Ersetzen.png', 'Text ersetzen');
 
  add2toolbar('javascript:insertTags("<!--","-->","Unsichtbaren Text hier einfügen")','http://www.stupidedia.org/images/a/a5/ASE.gif','Unsichtbarer Text');
 
  add2toolbar('javascript:insertTags("{{P}} ~~~~","","")','http://img90.imageshack.us/img90/6205/plusxs5.png','Pro setzen');
 
  add2toolbar('javascript:insertTags("{{N}} ~~~~","","")','http://www.stupidedia.org/images/4/4d/Neut.png','Neutral setzen');
 
  add2toolbar('javascript:insertTags("{{C}} ~~~~","","")','http://img90.imageshack.us/img90/3256/minuspf3.png','Contra setzen');
 
  add2toolbar('javascript:insertTags("<br style=clear:both />","","")','http://www.stupidedia.org/images/e/e8/Absatz.png', 'Großabsatz');
 
  add2toolbar('javascript:insertTags("{{IL}}","","")','http://www.stupidedia.org/images/0/0d/Interne_Links.png','Vorlage:Interne Links setzen');
 
  add2toolbar('javascript:insertTags("{{KK}}","","")','http://www.stupidedia.org/images/3/34/Keine_Kategorie.png','Vorlage:KK setzen');
 
  add2toolbar('javascript:ILundKK()', 'http://www.stupidedia.org/images/c/cd/IL%26KK.PNG','Vorlagen KK und IL setzen');
 
  add2toolbar('javascript:insertTags("{{Rechtschreibung}}","","")','http://www.stupidedia.org/images/a/ab/Rechtschreibung.png','Vorlage:Rechtschreibung setzen');
 
  add2toolbar('javascript:insertTags("{{Format}}","","")','http://www.stupidedia.org/images/6/6c/Format.png','Vorlage:Format');
 
  add2toolbar('javascript:insertTags("{{UL}}","","")','http://www.stupidedia.org/images/d/de/Unsinnige_Links.png','Unnötige Links');
 
  add2toolbar('javascript:Stub()', 'http://www.stupidedia.org/images/f/fe/Stub.png', 'Stub');
 
  add2toolbar('javascript:QO()', 'http://www.stupidedia.org/images/5/54/Qualit%C3%A4tsoffensive.png', 'QO');
 
  add2toolbar('javascript:Support()','http://www.stupidedia.org/images/8/8d/Hilfe.gif','Support');
 
  add2toolbar('javascript:Message()', 'http://www.stupidedia.org/images/a/a5/Message.png', 'Mitteilung schreiben');
 
  add2toolbar('javascript:Baustelle()', 'http://www.stupidedia.org/images/e/e0/Baustelle.gif', 'Baustelle');
 
  add2toolbar('javascript:Stop()', 'http://www.stupidedia.org/images/f/f9/Stop.png', 'Stop Warnung setzen');
 
  add2toolbar('javascript:UsePreview();','http://www.stupidedia.org/images/7/75/Preview.png','Vorschau-Button benutzen!');
 
  add2toolbar('javascript:SLA()', 'http://www.stupidedia.org/images/0/06/SL-Autor.png', 'SL-Künstler');
 
  add2toolbar('javascript:card()', 'http://www.stupidedia.org/images/0/0a/Gelb-Rote_Karte.png', 'Karte');
 
  add2toolbar('javascript:Lizenz()', 'http://www.stupidedia.org/images/0/0e/Lizenz%21button.PNG', 'Lizenz! Sofort!');
 
  add2toolbar('javascript:Mecker()', 'http://www.stupidedia.org/images/0/06/BadSig.png', 'Benutzer wegen Signatur anmeckern');
 
  add2toolbar('javascript:insertTags("{{Schleim|","}}","Schleim")','http://www.stupidedia.org/images/6/68/Schleim.gif','einschleimen');
 
  add2toolbar('javascript:Apokalypse()', 'http://www.stupidedia.org/images/8/8a/Apokalypse.png', 'Apokalypse machen');
 
deleteButton(0);
 
deleteButton(1);
 
deleteButton(3);
 
deleteButton(4);
 
deleteButton(5);
 
deleteButton(6);
 
deleteButton(7);
 
deleteButton(9);
 
deleteButton(10);
 
}
 
 
function deleteButton(Nr){
 
  document.getElementById('toolbar').getElementsByTagName("img")[Nr].style.display = "none";
 
}
 
 
function Mecker(){
 
  Inhalt = document.editform.wpTextbox1.value;
 
  var userSig = prompt("Name/Signatur","");
 
  var reason = prompt("Zu hoch, zu breit, zu hässlich?","breit");
 
  document.editform.wpTextbox1.value = "{{BadSig|" + userSig + "|" + reason + "|" + Benutzername + "}}\n" + Inhalt;
 
  document.editform.wpSummary.value = "Inadäquate Signatur";
 
}
 
 
function card(){
 
  Inhalt = document.editform.wpTextbox1.value;
 
  var card = prompt("welche Karte?","gelb");
 
  var reason = prompt("Text eingeben"," wegen Vandalismus");
 
  document.editform.wpTextbox1.value = "{{Karte|" + card + "|" + reason + "|" + Benutzername + "| ~~~~~}}" + Inhalt;
 
  document.editform.wpSummary.value = "" + card + "e Karte";
 
}
 
 
function Baustelle(){
 
  Inhalt = document.editform.wpTextbox1.value;
 
  document.editform.wpTextbox1.value = "{{Baustelle}}" + Inhalt;
 
  document.editform.wpSummary.value = "Ist das alles?";
 
}
 
 
function Stub(){
 
  Inhalt = document.editform.wpTextbox1.value;
 
  document.editform.wpTextbox1.value = "{{Stub|{{subst:Datum}}}}" + Inhalt;
 
  document.editform.wpSummary.value = "Sinnvoller Ansatz; bitte erweitern!";
 
}
 
if(document.title.indexOf('Bearbeiten') == 0)
 
{
 
  if (window.addEventListener)
 
  {
 
    window.addEventListener("load", init, false);
 
  }
 
  else if (window.attachEvent)
 
    window.attachEvent("onload", init);
 
}
 
 
function ILundKK(){
 
  Inhalt = document.editform.wpTextbox1.value;
 
  document.editform.wpTextbox1.value = "{{IL}}{{KK}}" + Inhalt;
 
  document.editform.wpSummary.value = "Erstmal [[Vorlage:IL|IL]] & [[Vorlage:KK|KK]] reingeknallt";
 
}
 
 
function QO(){
 
  Inhalt = document.editform.wpTextbox1.value;
 
  document.editform.wpTextbox1.value = "{{QO|{{subst:Datum}}}}" + Inhalt;
 
  document.editform.wpSummary.value = "[[Vorlage:QO|verbesserungswürdig...]]";
 
}
 
 
function Support(){
 
  Inhalt = document.editform.wpTextbox1.value;
 
  document.editform.wpTextbox1.value = "{{Support|{{Subst:Datum}}}}\n" + Inhalt;
 
  document.editform.wpSummary.value = "[[Vorlage:Support|Support!]]";
 
}
 
 
function Message(){
 
  Inhalt = document.editform.wpTextbox1.value;
 
  var Nachricht = prompt("Text der Nachricht?","Hier Nachricht schreiben");
 
  document.editform.wpTextbox1.value = "{{M|" + Benutzername + "|" + Nachricht + "}}" + Inhalt;
 
  document.editform.wpSummary.value = "Mitteilung";
 
}
 
 
function Jury(){
 
  var Inhalt = prompt("Inhalt? (max. 25)","");
 
  zahl1 = parseInt(Inhalt);
 
  var Humor = prompt("Humor? (max. 25)","");
 
  zahl2 = parseInt(Humor);
 
  var Kreativitaet = prompt("Kreativität? (max. 25)","");
 
  zahl3 = parseInt(Kreativitaet);
 
  var Gestaltung = prompt("Gestaltung? (max. 25)","");
 
  zahl4 = parseInt(Gestaltung);
 
  var Gesamt = zahl1 + zahl2 + zahl3 + zahl4;
 
  document.editform.wpTextbox1.value += "{{Jury|" + Benutzername + "|" + Inhalt + "|" + Humor + "|" + Kreativitaet + "|" + Gestaltung + "|" + Gesamt + "|black|#888888}}";
 
  document.editform.wpSummary.value = "Bewertung abgegeben";
 
}
 
 
function RedirectArticle(){
 
  var DirectSite = prompt("Zielartikel?","Unlustig");
 
  document.editform.wpTextbox1.value = "#Redirect [[" + DirectSite + "]]";
 
  document.editform.wpSummary.value = "Redirect nach [[" + DirectSite + "]]";
 
}
 
 
function InuseArticle(){
 
  Inhalt = document.editform.wpTextbox1.value;
 
  document.editform.wpTextbox1.value = "{{Inuse|" + Benutzername + "}}" + Inhalt;
 
}
 
 
function WelcomeUser(){
 
  document.editform.wpTextbox1.value = "{{W|" + Benutzername + "}}" + Inhalt;
 
  document.editform.wpSummary.value = "Einen wunderschönen herrlichen guten Morgen!";
 
}
 
 
function WIP(){
 
  document.editform.wpTextbox1.value = "{{Benutzer:Terminimaster/Laboratorium/WIP neu|" + Benutzername + "}}" + Inhalt;
 
  document.editform.wpSummary.value = "Ergib dich der [[Stupidedia|dunklen Seite der Macht]]!";
 
  if(confirm("Kommentar hinzufügen?"))
 
  {
 
    var Comment = prompt("Kommentar:","");
 
    document.editform.wpTextbox1.value += "<p>P.P.S:" + Comment + "";
 
  }
 
}
 
 
function Stop(){
 
  document.editform.wpTextbox1.value = "{{Stop}}";
 
  document.editform.wpSummary.value = "[[Stupidedia:Richtlinien|Aufhören, sofort aufhören!]]";
 
}
 
 
function Lizenz(){
 
  Inhalt = document.editform.wpTextbox1.value;
 
  document.editform.wpTextbox1.value = "{{Lizenz!}}" + Inhalt;
 
  document.editform.wpSummary.value = "[[Vorlage:Lizenz!|Lizenzangaben, aber flott!]]";
 
}
 
 
function SLA(){
 
  Inhalt = document.editform.wpTextbox1.value;
 
  document.editform.wpTextbox1.value = "{{SLA|" + Benutzername + "}}" + Inhalt;
 
  document.editform.wpSummary.value = "SL-Autor";
 
}
 
 
function FindReplace(){
 
  var s = prompt("Folgendes ersetzen:");
 
  if(s){
 
    var r = prompt("Ersetzen durch:");
 
    if(!r && r != '') return;
 
    var txt = document.editform.wpTextbox1;
 
    txt.value = txt.value.replace(new RegExp(s, "g"), r);
 
  }
 
}
 
 
function UsePreview(){
 
  var Article = prompt('Gemeinter Artikel');
 
  if(Article != ''){
 
    Inhalt = document.editform.wpTextbox1.value;
 
    document.editform.wpTextbox1.value = '{{Vorschau|' + Article + '}}\n' + Inhalt;
 
  }
 
}
 
 
function Apokalypse(){
 
  document.editform.wpTextbox1.value = "{{subst:Benutzer:Terminimaster/Laboratorium/Apokalypse}}";
 
  document.editform.wpSummary.value = "APOKALYPSE!!!";
 
}
 
 
/* LINKLEISTE */
 
 
if (window.addEventListener)
 
  window.addEventListener("load", motivation, false);
 
else if (window.attachEvent)
 
  window.attachEvent("onload", motivation);
 
 
function motivation(){
 
var LinkLoc = '&nbsp;<a href="http://stupidedia.org/stupi/';
 
var links = LinkLoc + 'Kategorie Diskussion:Stupidedia:Vorbildhafte Artikel"><font color="white">VA</font></a> &bull;'
 
          + LinkLoc + 'Spezial:Whatlinkshere/Vorlage:KK"><font color="white">KK</font></a> &bull;'
 
          + LinkLoc + 'Spezial:Whatlinkshere/Vorlage:IL"><font color="white">IL</font></a> &bull;'
 
          + LinkLoc + 'Benutzer:Terminimaster/Laboratorium"><font color="white">Labor</font></a> &bull;'
 
          + LinkLoc + 'Benutzer:Terminimaster/monobook.js"><font color="white">JS</font></a><br>'
 
          + LinkLoc + 'Benutzer:Terminimaster/monobook.css"><font color="white">CSS</font></a> &bull;'
 
          + LinkLoc + 'Spezial:Newpages"><font color="white">Neu</font></a> &bull;'
 
          + LinkLoc + 'Spezial:Neue_Dateien"><font color="white">Bilder</font></a> &bull;'
 
          + LinkLoc + 'Spezial:Log"><font color="white">Log</font></a><br>'
 
          + LinkLoc + 'Stupidedia:Routine"><font color="white">Routine</font></a> &bull;'
 
          + LinkLoc + 'Hilfe:Javascripts/Rein Damit"><font color="white">Rein damit</font></a> &bull;'
 
          + LinkLoc + 'Benutzer:Terminimaster/Listen, Tabellen & so weiter bzw. etc."><font color="white">List</font></a><br>'
 
          + LinkLoc + 'Spezial:Recentchangeslinked/Benutzer:Bernardissimo/PotVand"><font color="white">Vandalen?</font></a> &bull;'
 
          + LinkLoc + 'Spezial:Blockip"><font color="white">Sperren</font></a><br>'
 
          + LinkLoc + 'Spezial:Ipblocklist"><font color="white">Gesperrt</font></a> &bull;'
 
          + LinkLoc + 'Spezial:MediaWiki-Systemnachrichten"><font color="white">Mediawiki</font></a><br>';
 
var div = document.createElement('div');
 
div.style.position = 'fixed';
 
div.style.left = '0px';
 
div.style.bottom = '0px';
 
div.style.fontSize = '8pt';
 
div.style.backgroundColor = 'black';
 
div.style.width = '155px';
 
div.style.fontWeight = 'bold';
 
div.style.color = 'white';
 
div.innerHTML = links;
 
var content = document.getElementById('content');
 
content.appendChild(div);
 
}
 
 
function loeschschwert(){
 
var adresse = location.href;
 
if(adresse.indexOf("title=") > -1){
 
var start = adresse.lastIndexOf("title=") + 6;
 
if(adresse.indexOf("&")){
 
  var ende = adresse.lastIndexOf("&");
 
}
 
else{var ende = adresse.length;}
 
}
 
else{
 
var start = adresse.lastIndexOf("/stupi/") + 7;
 
var ende = adresse.length;
 
}
 
 
location.href = 'http://www.stupidedia.org/stupi?title=' + adresse.substring(start, ende) +'&action=delete&wpReason=[[Stupidedia:Richtlinien|Mit loderndem Löschschwert wird gerichtet!]]&autoconfirm';
 
}
 
function loeschschwert_init(){
 
if(location.href.search(/autoconfirm/) != -1) {document.getElementById('wpConfirmB').click(); return null;}
 
 
var link = document.createElement('a');
 
link.href = 'javascript:loeschschwert()';
 
link.appendChild(document.createTextNode('(Schwert)'));
 
link.style.paddingLeft = '0px';
 
document.getElementById('ca-delete').appendChild(link);
 
}
 
 
if(wgNamespaceNumber != -1){
 
if (window.addEventListener)
 
  window.addEventListener("load", loeschschwert_init, false);
 
else if (window.attachEvent)
 
  window.attachEvent("onload", loeschschwert_init);
 
}
 
 
 
var recent_intervalHost;
 
var recent_url;
 
var recent_cookieName = 'wiki_extensionShowRChanges';
 
var recent_boxheight;    var recent_timezone;
 
var recent_backcolor;    var recent_fontsize
 
var recent_headcolor;    var recent_plusButton;
 
var recent_interval;      var recent_plusButton;
 
var recent_closebutton;  var recent_amount;
 
var recent_plusButton;    var recent_plusdirec;
 
 
addOnloadHook(recent_init);
 
 
function recent_init(){
 
 
 
  var condition;
 
  if(condition = readCookie(recent_cookieName)){
 
    if (condition == 'show'){
 
      recent_show();
 
    } else {
 
      recent_hide();
 
    }
 
  } else { // Cookie wurde nicht gefunden. Cookie gesetzt und RCanges zeigen.
 
    recent_show();
 
  }
 
}
 
 
function recent_show(){
 
  if (recent_boxheight == null)  recent_boxheight  = 100;
 
  if (recent_backcolor == null)  recent_backcolor  = 'white';
 
  if (recent_interval == null)    recent_interval    = '10000';
 
  if (recent_amount == null)      recent_amount      = 100;
 
    recent_url = wgServer + '/api.php?action=query&format=xml&list=recentchanges&rclimit=' + recent_amount + '&rcprop=user|comment|timestamp|title|sizes|flags|ids&rcshow=!bot';
 
  if (recent_closebutton == null) recent_closebutton = 'http://stupidedia.org/images/a/a0/Minus.gif';
 
  if (recent_headcolor == null)  recent_headcolor  = 'black';
 
  if (recent_fontsize == null)  recent_fontsize  = '8pt';
 
  if (recent_timezone == null)  recent_timezone  = 2;
 
 
 
  if (document.getElementById('recent_pluslink')){
 
    document.getElementById('recent_pluslink').parentNode.removeChild(document.getElementById('recent_pluslink'));
 
  }
 
 
 
  // Dummy-div am Seitenende erstellen, damit ganze Seite erreichbar bleibt
 
  var dummy = document.createElement('div');
 
  dummy.id = 'recent_dummy';
 
  with (dummy.style){
 
    height = recent_boxheight + 20 + 'px';
 
    width  = '100%';
 
  }
 
  document.getElementById('globalWrapper').appendChild(dummy);
 
 
 
  // Recentchange-Container erstellen
 
  var container = document.createElement('div');
 
  container.id = 'recent_recentbox';
 
  with (container.style){
 
    right    = 0;
 
    height    = recent_boxheight + 20 + 'px';
 
    border    = 'none';
 
    position  = 'fixed';
 
    bottom    = '0px';
 
    width    = '1270px';
 
    padding  = '0px';
 
    zIndex    = 25;
 
  }
 
 
 
  // Kopf de Recentchange-Containers
 
  var container_header = document.createElement('div');
 
  container_header.id = 'recent_header';
 
  with (container_header.style){
 
    height    = '20px';
 
    width      = '100%';
 
    background = recent_headcolor;
 
  }
 
  // Schließen-Button
 
  var closebutton = document.createElement('img');
 
  with (closebutton){
 
    src = recent_closebutton;
 
    alt = 'Schliessen';
 
    style.height  = '20px';
 
  }
 
  // Link zum schließen der Box
 
  var closelink = document.createElement('a');
 
  closelink.href = 'javascript:recent_hide()';
 
  with (closelink.style){
 
    height = '20px';
 
    cssFloat  = 'right';
 
  }
 
 
  var headertitle = document.createElement('span');
 
  with (headertitle){
 
    style.height = '20px';
 
  }
 
 
  // Container-Inhalt
 
  var container_content = document.createElement('div');
 
  with (container_content){
 
    id    = 'recent_container';
 
    style.width          = '100%';
 
    style.height          = recent_boxheight + 'px';
 
    style.background      = recent_backcolor;
 
    style.overflow        = 'auto';
 
    innerHTML = 'Lade gerade...';
 
  }
 
 
 
  // Elemente zusammensetzen
 
  container_header.appendChild(headertitle);
 
  closelink.appendChild(closebutton);
 
  container_header.appendChild(closelink);
 
  container.appendChild(container_header);
 
  container.appendChild(container_content);
 
  document.getElementById('globalWrapper').appendChild(container);
 
  setCookie(recent_cookieName,'show');
 
  recent_execute();
 
  recent_intervalHost = window.setInterval('recent_execute()',recent_interval);
 
 
}
 
 
function recent_hide(){
 
  if (recent_plusButton == null)  recent_plusButton  = 'http://stupidedia.org/images/7/72/Plus.gif';
 
  if (recent_plusdirec == null)  recent_plusdirec  = 'right';
 
 
  if (document.getElementById('recent_recentbox')){
 
    document.getElementById('recent_recentbox').parentNode.removeChild(document.getElementById('recent_recentbox'));
 
    document.getElementById('recent_dummy').parentNode.removeChild(document.getElementById('recent_dummy'));
 
    window.clearInterval(recent_intervalHost);
 
  }
 
  var plusButton = document.createElement('img');
 
  plusButton.src = recent_plusButton;
 
  plusButton.alt = 'Öffnen';
 
  var pluslink = document.createElement('a');
 
  pluslink.href = 'javascript:recent_show()';
 
  pluslink.id  = 'recent_pluslink';
 
  with (pluslink.style){
 
    position = 'fixed';
 
    bottom  = '0px';
 
    zIndex  = 25;
 
    if (recent_plusdirec == 'left'){
 
      left = '0px';
 
    } else{
 
      right = '0px';
 
    }
 
  }
 
 
 
  pluslink.appendChild(plusButton);
 
  document.getElementById('globalWrapper').appendChild(pluslink);
 
  setCookie(recent_cookieName,'hide');
 
}
 
 
function recent_execute(){
 
  var recent_container = document.getElementById('recent_container');
 
  var request = sajax_init_object();
 
  request.abort();
 
  request.open('GET',recent_url, true);
 
  request.send('');
 
  request.onreadystatechange = function(){
 
    if (request.readyState == 4){
 
      recent_container.innerHTML = '';
 
      if (request.status == 200){
 
var table = document.createElement('table');
 
with (table.style){
 
  width = '100%';
 
  fontSize = recent_fontsize;
 
  background = recent_backcolor;
 
  padding = '0px';
 
  margin = '0px';
 
  borderCollapse = 'collapse';
 
  borderSpacing = '0px';
 
}
 
var list = request.responseXML.getElementsByTagName('rc');
 
for (var i=0;i<list.length;i++){
 
  var row = document.createElement('tr');
 
  with (row.style){
 
    background  = 'none';
 
    padding      = '0px';
 
    marginBottom = '0px';
 
    borderBottom = 'none';
 
    verticalAlign = 'top';
 
  }
 
  var dstr; // Dummy-String, um die einzelnen Befehle kürzer schreiben zu können
 
  var saddr = wgServer + '/stupi/'; // s.o.
 
 
 
  var timestamp = document.createElement('td');
 
  with (timestamp.style){
 
    width = '60px';
 
    padding = '0px';
 
    margin = '0px';
 
    paddingLeft = '1px';
 
  }
 
  dstr = parseInt(list[i].getAttribute('timestamp').slice(11,13))+recent_timezone;
 
  timestamp.innerHTML = dstr.toString() + list[i].getAttribute('timestamp').slice(13,19);
 
  row.appendChild(timestamp);
 
  var sizechange = document.createElement('td');
 
  var articlesize = parseInt(list[i].getAttribute('newlen')) - parseInt(list[i].getAttribute('oldlen'))
 
  with (sizechange.style){
 
    width = '40px';
 
    padding = '0px';
 
    margin = '0px';
 
    if (articlesize < 0) {color = 'red';}
 
    else if (articlesize == 0){color = '#606060';}
 
    else {color = 'green';}
 
  }
 
  if (list[i].getAttribute('ns') != '-1') sizechange.innerHTML = '(' + articlesize + ')';
 
  row.appendChild(sizechange);
 
  var article = document.createElement('td');
 
  with (article.style){
 
    padding = '0px';
 
    margin = '0px';
 
  }
 
  dstr = list[i].getAttribute('title');
 
  if (list[i].getAttribute('ns') != '-1'){
 
    if (list[i].getAttributeNode('new') != undefined) article.innerHTML = '<span style="font-weight:bold">N</span> ';
 
    if (list[i].getAttributeNode('minor') != undefined) article.innerHTML += '<span style="font-weight:bold">K</span> ';
 
    article.innerHTML += '<a href="'+saddr+dstr+'" title="'+dstr+'">'+dstr+'</a> (<a href="'+saddr+dstr+'?diff='+list[i].getAttribute('revid')+'&oldid='+list[i].getAttribute('old_revid')+'" title="Unterschied">U</a>|<a href="'+saddr+dstr+'?action=history" title="Versionen">V</a>)';
 
  } else {
 
    dstr = list[i].getAttribute('title').slice(16);
 
    if (dstr == 'block') var dstr2 = 'Benutzersperre';
 
    if (dstr == 'upload') var dstr2 = 'Dateiupload';
 
    if (dstr == 'import') var dstr2 = 'Seite importiert';
 
    if (dstr == 'delete') var dstr2 = 'Seite gelöscht';
 
    if (dstr == 'patrol') var dstr2 = 'Seite gecheckt';
 
    if (dstr == 'rights') var dstr2 = 'Benutzerrechte eines Users geändert';
 
    if (dstr == 'protect') var dstr2 = 'Seitenschutz-Status verändert';
 
    if (dstr == 'move') var dstr2 = 'Seite verschoben';
 
            if (dstr == 'newusers') var dstr2 = 'neuer User';
 
    article.innerHTML = '<a href="'+saddr+'Spezial:Logbuch/'+dstr+'" title="'+dstr2+'">'+dstr2+'</a>';
 
  }
 
  list[i].getAttribute('title');
 
  row.appendChild(article);
 
  var user = document.createElement('td');
 
  with (user.style){
 
    width = '180px';
 
    padding = '0px';
 
    margin = '0px';
 
  }
 
  dstr = list[i].getAttribute('user');
 
  if (list[i].getAttributeNode('anon') != undefined){
 
    user.innerHTML = '<span style="font-weight:bold">IP</span> ';
 
    user.innerHTML += '<a href="'+saddr+'Benutzer_Diskussion:'+dstr+'" title="IP-Diskussion:'+dstr+'">'+dstr+'</a> (<a href="'+saddr+'Spezial:Beiträge/'+dstr+'" title="Beiträge des Benutzers">B</a>|<a href="'+saddr+'Spezial:Sperren/'+dstr+'" title="Benutzer Sperren">S</a>)';
 
  } else {
 
    user.innerHTML += '<a href="'+saddr+'Benutzer:'+dstr+'" title="Benutzer:'+dstr+'">'+dstr+'</a> (<a href="'+saddr+'Benutzer Diskussion:'+dstr+'" title="Diskussion des Benutzers">D</a>|<a href="'+saddr+'Spezial:Beiträge/'+dstr+'" title="Beiträge des Benutzers">B</a>|<a href="'+saddr+'Spezial:Sperren/'+dstr+'" title="Benutzer Sperren">S</a>)';
 
  }
 
  row.appendChild(user);
 
  var comment = document.createElement('td');
 
  with (comment.style){
 
    padding = '0px';
 
    margin = '0px';
 
  }
 
  if (list[i].getAttribute('comment') != null){
 
    var linkstart = 0; var linkend = 0;
 
    do{
 
      linkstart = list[i].getAttribute('comment').indexOf('[[',linkend)
 
      if(linkstart != -1){
 
        comment.appendChild(document.createTextNode(list[i].getAttribute('comment').slice(linkend,linkstart)));
 
if (list[i].getAttribute('comment').indexOf(']]',linkstart) != -1){
 
          linkend = list[i].getAttribute('comment').indexOf(']]',linkstart)+2;
 
          var linkcontent = list[i].getAttribute('comment').slice(linkstart,linkend);
 
  var wikilink = document.createElement('a');
 
          if (linkcontent.indexOf('|') == -1){
 
            var linkarticle = linkcontent.slice(2,linkcontent.length - 2);
 
    wikilink.href = saddr+linkarticle;
 
    wikilink.title = linkarticle;
 
    wikilink.innerHTML = linkarticle;
 
            comment.appendChild(wikilink);
 
          } else {
 
            var linkarticle = linkcontent.slice(2,linkcontent.indexOf('|'));
 
            var linkdesc = linkcontent.slice(linkcontent.indexOf('|')+1,linkcontent.length - 2);
 
    wikilink.href = saddr+linkarticle;
 
    wikilink.title = linkarticle;
 
    wikilink.innerHTML = linkdesc;
 
            comment.appendChild(wikilink);
 
          }
 
} else {
 
  comment.appendChild(document.createTextNode(list[i].getAttribute('comment').slice(linkstart)));
 
  linkstart = -1;
 
}
 
              } else {
 
        comment.appendChild(document.createTextNode(list[i].getAttribute('comment').slice(linkend)));
 
              }
 
    } while (linkstart != -1);
 
  }
 
  row.appendChild(comment);
 
  table.appendChild(row);
 
}
 
recent_container.appendChild(table);
 
      } else {
 
        recent_container.innerHTML = 'Bei dem Versuch, den Server abzufragen trat der Fehler ' + request.status + ' auf.';
 
      }
 
    }
 
  }
 
}
 
 
//</nowiki></pre>
 
//<pre><nowiki>
 
 
rein_damit('loeschvorlage_einfügen');
 
rein_damit('addlilink');
 
rein_damit('rv2version');
 
rein_damit('suche');
 
rein_damit('add2toolbar');
 
rein_damit('fix_redirects');
 
rein_damit('lastdiff');
 
rein_damit('verbesserung');
 
rein_damit('cookiework');
 
rein_damit('linkchecker');
 
document.write('<script type="text/javascript" src="http://www.stupidedia.org/stupi?title=Benutzer:Terminimaster/monobook.js/resetPage.js&action=raw&ctype=text/javascript&dontcountme=s"></script>');
 
 
Benutzername = "Terminimaster";
 
Inhalt = "";
 
var linknichtwegmachen = true;
 
 
function init(){
 
  add2toolbar('javascript:insertTags("[[Bild:Jongleur1.gif]]","","")','http://www.stupidedia.org/images/e/e7/Clownbutton.PNG','Jonglieren');
 
  add2toolbar('javascript:insertTags("[[Bild:Jongleur2.gif|150px]]","","")','http://www.stupidedia.org/images/e/e7/Clownbutton.PNG','Jonglieren');
 
  add2toolbar('javascript:insertTags("[[Bild:Jongleur3.gif]]","","")','http://www.stupidedia.org/images/e/e7/Clownbutton.PNG','Jonglieren');
 
  add2toolbar('javascript:insertTags("[[Bild:Jongleur4.gif|120px]]","","")','http://www.stupidedia.org/images/e/e7/Clownbutton.PNG','Jonglieren');
 
  add2toolbar('javascript:insertTags("[[Bild:Jongleur5.gif|120px]]","","")','http://www.stupidedia.org/images/e/e7/Clownbutton.PNG','Jonglieren');
 
  add2toolbar('javascript:insertTags("[[Bild:Jongleur6.gif|120px]]","","")','http://www.stupidedia.org/images/e/e7/Clownbutton.PNG','Jonglieren');
 
  add2toolbar('javascript:insertTags("{{Benutzer:Terminimaster/Jongleure}}","","")','http://stupidedia.org/images/3/3a/Cownblutton.PNG','Wenn die Anderen nicht ausreichen...');
 
  add2toolbar('javascript:Jury()','http://www.stupidedia.org/images/1/13/Jurybutton.png','Contest-Beitrag bewerten');
 
  add2toolbar('javascript:RedirectArticle()', 'http://www.stupidedia.org/images/9/91/Redirect.png', 'Weiterleitung erstellen');
 
  add2toolbar('javascript:InuseArticle()', 'http://www.stupidedia.org/images/8/85/Inuse.png', 'Inuse erstellen');
 
  add2toolbar('javascript:WelcomeUser()', 'http://www.stupidedia.org/images/4/42/Welcome.png', 'Willkommen!');
 
  add2toolbar('javascript:WIP()', 'http://www.stupidedia.org/images/9/93/Welcome_IP.png', 'IP Einladen');
 
  add2toolbar('javascript:FindReplace()', 'http://www.stupidedia.org/images/b/b6/Ersetzen.png', 'Text ersetzen');
 
  add2toolbar('javascript:insertTags("<!--","-->","Unsichtbaren Text hier einfügen")','http://www.stupidedia.org/images/a/a5/ASE.gif','Unsichtbarer Text');
 
  add2toolbar('javascript:insertTags("{{P}} ~~~~","","")','http://img90.imageshack.us/img90/6205/plusxs5.png','Pro setzen');
 
  add2toolbar('javascript:insertTags("{{N}} ~~~~","","")','http://www.stupidedia.org/images/4/4d/Neut.png','Neutral setzen');
 
  add2toolbar('javascript:insertTags("{{C}} ~~~~","","")','http://img90.imageshack.us/img90/3256/minuspf3.png','Contra setzen');
 
  add2toolbar('javascript:insertTags("<br style=clear:both />","","")','http://www.stupidedia.org/images/e/e8/Absatz.png', 'Großabsatz');
 
  add2toolbar('javascript:insertTags("{{IL}}","","")','http://www.stupidedia.org/images/0/0d/Interne_Links.png','Vorlage:Interne Links setzen');
 
  add2toolbar('javascript:insertTags("{{KK}}","","")','http://www.stupidedia.org/images/3/34/Keine_Kategorie.png','Vorlage:KK setzen');
 
  add2toolbar('javascript:ILundKK()', 'http://www.stupidedia.org/images/c/cd/IL%26KK.PNG','Vorlagen KK und IL setzen');
 
  add2toolbar('javascript:insertTags("{{Rechtschreibung}}","","")','http://www.stupidedia.org/images/a/ab/Rechtschreibung.png','Vorlage:Rechtschreibung setzen');
 
  add2toolbar('javascript:insertTags("{{Format}}","","")','http://www.stupidedia.org/images/6/6c/Format.png','Vorlage:Format');
 
  add2toolbar('javascript:insertTags("{{UL}}","","")','http://www.stupidedia.org/images/d/de/Unsinnige_Links.png','Unnötige Links');
 
  add2toolbar('javascript:Stub()', 'http://www.stupidedia.org/images/f/fe/Stub.png', 'Stub');
 
  add2toolbar('javascript:QO()', 'http://www.stupidedia.org/images/5/54/Qualit%C3%A4tsoffensive.png', 'QO');
 
  add2toolbar('javascript:Support()','http://www.stupidedia.org/images/8/8d/Hilfe.gif','Support');
 
  add2toolbar('javascript:Message()', 'http://www.stupidedia.org/images/a/a5/Message.png', 'Mitteilung schreiben');
 
  add2toolbar('javascript:Baustelle()', 'http://www.stupidedia.org/images/e/e0/Baustelle.gif', 'Baustelle');
 
  add2toolbar('javascript:Stop()', 'http://www.stupidedia.org/images/f/f9/Stop.png', 'Stop Warnung setzen');
 
  add2toolbar('javascript:UsePreview();','http://www.stupidedia.org/images/7/75/Preview.png','Vorschau-Button benutzen!');
 
  add2toolbar('javascript:SLA()', 'http://www.stupidedia.org/images/0/06/SL-Autor.png', 'SL-Künstler');
 
  add2toolbar('javascript:card()', 'http://www.stupidedia.org/images/0/0a/Gelb-Rote_Karte.png', 'Karte');
 
  add2toolbar('javascript:Lizenz()', 'http://www.stupidedia.org/images/0/0e/Lizenz%21button.PNG', 'Lizenz! Sofort!');
 
  add2toolbar('javascript:Mecker()', 'http://www.stupidedia.org/images/0/06/BadSig.png', 'Benutzer wegen Signatur anmeckern');
 
  add2toolbar('javascript:insertTags("{{Schleim|","}}","Schleim")','http://www.stupidedia.org/images/6/68/Schleim.gif','einschleimen');
 
  add2toolbar('javascript:Apokalypse()', 'http://www.stupidedia.org/images/8/8a/Apokalypse.png', 'Apokalypse machen');
 
deleteButton(0);
 
deleteButton(1);
 
deleteButton(3);
 
deleteButton(4);
 
deleteButton(5);
 
deleteButton(6);
 
deleteButton(7);
 
deleteButton(9);
 
deleteButton(10);
 
}
 
 
function deleteButton(Nr){
 
  document.getElementById('toolbar').getElementsByTagName("img")[Nr].style.display = "none";
 
}
 
 
function Mecker(){
 
  Inhalt = document.editform.wpTextbox1.value;
 
  var userSig = prompt("Name/Signatur","");
 
  var reason = prompt("Zu hoch, zu breit, zu hässlich?","breit");
 
  document.editform.wpTextbox1.value = "{{BadSig|" + userSig + "|" + reason + "|" + Benutzername + "}}\n" + Inhalt;
 
  document.editform.wpSummary.value = "Inadäquate Signatur";
 
}
 
 
function card(){
 
  Inhalt = document.editform.wpTextbox1.value;
 
  var card = prompt("welche Karte?","gelb");
 
  var reason = prompt("Text eingeben"," wegen Vandalismus");
 
  document.editform.wpTextbox1.value = "{{Karte|" + card + "|" + reason + "|" + Benutzername + "| ~~~~~}}" + Inhalt;
 
  document.editform.wpSummary.value = "" + card + "e Karte";
 
}
 
 
function Baustelle(){
 
  Inhalt = document.editform.wpTextbox1.value;
 
  document.editform.wpTextbox1.value = "{{Baustelle}}" + Inhalt;
 
  document.editform.wpSummary.value = "Ist das alles?";
 
}
 
 
function Stub(){
 
  Inhalt = document.editform.wpTextbox1.value;
 
  document.editform.wpTextbox1.value = "{{Stub|{{subst:Datum}}}}" + Inhalt;
 
  document.editform.wpSummary.value = "Sinnvoller Ansatz; bitte erweitern!";
 
}
 
if(document.title.indexOf('Bearbeiten') == 0)
 
{
 
  if (window.addEventListener)
 
  {
 
    window.addEventListener("load", init, false);
 
  }
 
  else if (window.attachEvent)
 
    window.attachEvent("onload", init);
 
}
 
 
function ILundKK(){
 
  Inhalt = document.editform.wpTextbox1.value;
 
  document.editform.wpTextbox1.value = "{{IL}}{{KK}}" + Inhalt;
 
  document.editform.wpSummary.value = "Erstmal [[Vorlage:IL|IL]] & [[Vorlage:KK|KK]] reingeknallt";
 
}
 
 
function QO(){
 
  Inhalt = document.editform.wpTextbox1.value;
 
  document.editform.wpTextbox1.value = "{{QO|{{subst:Datum}}}}" + Inhalt;
 
  document.editform.wpSummary.value = "[[Vorlage:QO|verbesserungswürdig...]]";
 
}
 
 
function Support(){
 
  Inhalt = document.editform.wpTextbox1.value;
 
  document.editform.wpTextbox1.value = "{{Support|{{Subst:Datum}}}}\n" + Inhalt;
 
  document.editform.wpSummary.value = "[[Vorlage:Support|Support!]]";
 
}
 
 
function Message(){
 
  Inhalt = document.editform.wpTextbox1.value;
 
  var Nachricht = prompt("Text der Nachricht?","Hier Nachricht schreiben");
 
  document.editform.wpTextbox1.value = "{{M|" + Benutzername + "|" + Nachricht + "}}" + Inhalt;
 
  document.editform.wpSummary.value = "Mitteilung";
 
}
 
 
function Jury(){
 
  var Inhalt = prompt("Inhalt? (max. 25)","");
 
  zahl1 = parseInt(Inhalt);
 
  var Humor = prompt("Humor? (max. 25)","");
 
  zahl2 = parseInt(Humor);
 
  var Kreativitaet = prompt("Kreativität? (max. 25)","");
 
  zahl3 = parseInt(Kreativitaet);
 
  var Gestaltung = prompt("Gestaltung? (max. 25)","");
 
  zahl4 = parseInt(Gestaltung);
 
  var Gesamt = zahl1 + zahl2 + zahl3 + zahl4;
 
  document.editform.wpTextbox1.value += "{{Jury|" + Benutzername + "|" + Inhalt + "|" + Humor + "|" + Kreativitaet + "|" + Gestaltung + "|" + Gesamt + "|black|#888888}}";
 
  document.editform.wpSummary.value = "Bewertung abgegeben";
 
}
 
 
function RedirectArticle(){
 
  var DirectSite = prompt("Zielartikel?","Unlustig");
 
  document.editform.wpTextbox1.value = "#Redirect [[" + DirectSite + "]]";
 
  document.editform.wpSummary.value = "Redirect nach [[" + DirectSite + "]]";
 
}
 
 
function InuseArticle(){
 
  Inhalt = document.editform.wpTextbox1.value;
 
  document.editform.wpTextbox1.value = "{{Inuse|" + Benutzername + "}}" + Inhalt;
 
}
 
 
function WelcomeUser(){
 
  document.editform.wpTextbox1.value = "{{W|" + Benutzername + "}}" + Inhalt;
 
  document.editform.wpSummary.value = "Einen wunderschönen herrlichen guten Morgen!";
 
}
 
 
function WIP(){
 
  document.editform.wpTextbox1.value = "{{Benutzer:Terminimaster/Laboratorium/WIP neu|" + Benutzername + "}}" + Inhalt;
 
  document.editform.wpSummary.value = "Ergib dich der [[Stupidedia|dunklen Seite der Macht]]!";
 
  if(confirm("Kommentar hinzufügen?"))
 
  {
 
    var Comment = prompt("Kommentar:","");
 
    document.editform.wpTextbox1.value += "<p>P.P.S:" + Comment + "";
 
  }
 
}
 
 
function Stop(){
 
  document.editform.wpTextbox1.value = "{{Stop}}";
 
  document.editform.wpSummary.value = "[[Stupidedia:Richtlinien|Aufhören, sofort aufhören!]]";
 
}
 
 
function Lizenz(){
 
  Inhalt = document.editform.wpTextbox1.value;
 
  document.editform.wpTextbox1.value = "{{Lizenz!}}" + Inhalt;
 
  document.editform.wpSummary.value = "[[Vorlage:Lizenz!|Lizenzangaben, aber flott!]]";
 
}
 
 
function SLA(){
 
  Inhalt = document.editform.wpTextbox1.value;
 
  document.editform.wpTextbox1.value = "{{SLA|" + Benutzername + "}}" + Inhalt;
 
  document.editform.wpSummary.value = "SL-Autor";
 
}
 
 
function FindReplace(){
 
  var s = prompt("Folgendes ersetzen:");
 
  if(s){
 
    var r = prompt("Ersetzen durch:");
 
    if(!r && r != '') return;
 
    var txt = document.editform.wpTextbox1;
 
    txt.value = txt.value.replace(new RegExp(s, "g"), r);
 
  }
 
}
 
 
function UsePreview(){
 
  var Article = prompt('Gemeinter Artikel');
 
  if(Article != ''){
 
    Inhalt = document.editform.wpTextbox1.value;
 
    document.editform.wpTextbox1.value = '{{Vorschau|' + Article + '}}\n' + Inhalt;
 
  }
 
}
 
 
function Apokalypse(){
 
  document.editform.wpTextbox1.value = "{{subst:Benutzer:Terminimaster/Laboratorium/Apokalypse}}";
 
  document.editform.wpSummary.value = "APOKALYPSE!!!";
 
}
 
 
/* LINKLEISTE */
 
 
if (window.addEventListener)
 
  window.addEventListener("load", motivation, false);
 
else if (window.attachEvent)
 
  window.attachEvent("onload", motivation);
 
 
function motivation(){
 
var LinkLoc = '&nbsp;<a href="http://stupidedia.org/stupi/';
 
var links = LinkLoc + 'Kategorie Diskussion:Stupidedia:Vorbildhafte Artikel"><font color="white">VA</font></a> &bull;'
 
          + LinkLoc + 'Spezial:Whatlinkshere/Vorlage:KK"><font color="white">KK</font></a> &bull;'
 
          + LinkLoc + 'Spezial:Whatlinkshere/Vorlage:IL"><font color="white">IL</font></a> &bull;'
 
          + LinkLoc + 'Benutzer:Terminimaster/Laboratorium"><font color="white">Labor</font></a> &bull;'
 
          + LinkLoc + 'Benutzer:Terminimaster/monobook.js"><font color="white">JS</font></a><br>'
 
          + LinkLoc + 'Benutzer:Terminimaster/monobook.css"><font color="white">CSS</font></a> &bull;'
 
          + LinkLoc + 'Spezial:Newpages"><font color="white">Neu</font></a> &bull;'
 
          + LinkLoc + 'Spezial:Neue_Dateien"><font color="white">Bilder</font></a> &bull;'
 
          + LinkLoc + 'Spezial:Log"><font color="white">Log</font></a><br>'
 
          + LinkLoc + 'Stupidedia:Routine"><font color="white">Routine</font></a> &bull;'
 
          + LinkLoc + 'Hilfe:Javascripts/Rein Damit"><font color="white">Rein damit</font></a> &bull;'
 
          + LinkLoc + 'Benutzer:Terminimaster/Listen, Tabellen & so weiter bzw. etc."><font color="white">List</font></a><br>'
 
          + LinkLoc + 'Spezial:Recentchangeslinked/Benutzer:Bernardissimo/PotVand"><font color="white">Vandalen?</font></a> &bull;'
 
          + LinkLoc + 'Spezial:Blockip"><font color="white">Sperren</font></a><br>'
 
          + LinkLoc + 'Spezial:Ipblocklist"><font color="white">Gesperrt</font></a> &bull;'
 
          + LinkLoc + 'Spezial:MediaWiki-Systemnachrichten"><font color="white">Mediawiki</font></a><br>';
 
var div = document.createElement('div');
 
div.style.position = 'fixed';
 
div.style.left = '0px';
 
div.style.bottom = '0px';
 
div.style.fontSize = '8pt';
 
div.style.backgroundColor = 'black';
 
div.style.width = '155px';
 
div.style.fontWeight = 'bold';
 
div.style.color = 'white';
 
div.innerHTML = links;
 
var content = document.getElementById('content');
 
content.appendChild(div);
 
}
 
 
function loeschschwert(){
 
var adresse = location.href;
 
if(adresse.indexOf("title=") > -1){
 
var start = adresse.lastIndexOf("title=") + 6;
 
if(adresse.indexOf("&")){
 
  var ende = adresse.lastIndexOf("&");
 
}
 
else{var ende = adresse.length;}
 
}
 
else{
 
var start = adresse.lastIndexOf("/stupi/") + 7;
 
var ende = adresse.length;
 
}
 
 
location.href = 'http://www.stupidedia.org/stupi?title=' + adresse.substring(start, ende) +'&action=delete&wpReason=[[Stupidedia:Richtlinien|Mit loderndem Löschschwert wird gerichtet!]]&autoconfirm';
 
}
 
function loeschschwert_init(){
 
if(location.href.search(/autoconfirm/) != -1) {document.getElementById('wpConfirmB').click(); return null;}
 
 
var link = document.createElement('a');
 
link.href = 'javascript:loeschschwert()';
 
link.appendChild(document.createTextNode('(Schwert)'));
 
link.style.paddingLeft = '0px';
 
document.getElementById('ca-delete').appendChild(link);
 
}
 
 
if(wgNamespaceNumber != -1){
 
if (window.addEventListener)
 
  window.addEventListener("load", loeschschwert_init, false);
 
else if (window.attachEvent)
 
  window.attachEvent("onload", loeschschwert_init);
 
}
 
 
 
var recent_intervalHost;
 
var recent_url;
 
var recent_cookieName = 'wiki_extensionShowRChanges';
 
var recent_boxheight;    var recent_timezone;
 
var recent_backcolor;    var recent_fontsize
 
var recent_headcolor;    var recent_plusButton;
 
var recent_interval;      var recent_plusButton;
 
var recent_closebutton;  var recent_amount;
 
var recent_plusButton;    var recent_plusdirec;
 
 
addOnloadHook(recent_init);
 
 
function recent_init(){
 
 
 
  var condition;
 
  if(condition = readCookie(recent_cookieName)){
 
    if (condition == 'show'){
 
      recent_show();
 
    } else {
 
      recent_hide();
 
    }
 
  } else { // Cookie wurde nicht gefunden. Cookie gesetzt und RCanges zeigen.
 
    recent_show();
 
  }
 
}
 
 
function recent_show(){
 
  if (recent_boxheight == null)  recent_boxheight  = 100;
 
  if (recent_backcolor == null)  recent_backcolor  = 'white';
 
  if (recent_interval == null)    recent_interval    = '10000';
 
  if (recent_amount == null)      recent_amount      = 100;
 
    recent_url = wgServer + '/api.php?action=query&format=xml&list=recentchanges&rclimit=' + recent_amount + '&rcprop=user|comment|timestamp|title|sizes|flags|ids&rcshow=!bot';
 
  if (recent_closebutton == null) recent_closebutton = 'http://stupidedia.org/images/a/a0/Minus.gif';
 
  if (recent_headcolor == null)  recent_headcolor  = 'black';
 
  if (recent_fontsize == null)  recent_fontsize  = '8pt';
 
  if (recent_timezone == null)  recent_timezone  = 2;
 
 
 
  if (document.getElementById('recent_pluslink')){
 
    document.getElementById('recent_pluslink').parentNode.removeChild(document.getElementById('recent_pluslink'));
 
  }
 
 
 
  // Dummy-div am Seitenende erstellen, damit ganze Seite erreichbar bleibt
 
  var dummy = document.createElement('div');
 
  dummy.id = 'recent_dummy';
 
  with (dummy.style){
 
    height = recent_boxheight + 20 + 'px';
 
    width  = '100%';
 
  }
 
  document.getElementById('globalWrapper').appendChild(dummy);
 
 
 
  // Recentchange-Container erstellen
 
  var container = document.createElement('div');
 
  container.id = 'recent_recentbox';
 
  with (container.style){
 
    right    = 0;
 
    height    = recent_boxheight + 20 + 'px';
 
    border    = 'none';
 
    position  = 'fixed';
 
    bottom    = '0px';
 
    width    = '1270px';
 
    padding  = '0px';
 
    zIndex    = 25;
 
  }
 
 
 
  // Kopf de Recentchange-Containers
 
  var container_header = document.createElement('div');
 
  container_header.id = 'recent_header';
 
  with (container_header.style){
 
    height    = '20px';
 
    width      = '100%';
 
    background = recent_headcolor;
 
  }
 
  // Schließen-Button
 
  var closebutton = document.createElement('img');
 
  with (closebutton){
 
    src = recent_closebutton;
 
    alt = 'Schliessen';
 
    style.height  = '20px';
 
  }
 
  // Link zum schließen der Box
 
  var closelink = document.createElement('a');
 
  closelink.href = 'javascript:recent_hide()';
 
  with (closelink.style){
 
    height = '20px';
 
    cssFloat  = 'right';
 
  }
 
 
  var headertitle = document.createElement('span');
 
  with (headertitle){
 
    style.height = '20px';
 
  }
 
 
  // Container-Inhalt
 
  var container_content = document.createElement('div');
 
  with (container_content){
 
    id    = 'recent_container';
 
    style.width          = '100%';
 
    style.height          = recent_boxheight + 'px';
 
    style.background      = recent_backcolor;
 
    style.overflow        = 'auto';
 
    innerHTML = 'Lade gerade...';
 
  }
 
 
 
  // Elemente zusammensetzen
 
  container_header.appendChild(headertitle);
 
  closelink.appendChild(closebutton);
 
  container_header.appendChild(closelink);
 
  container.appendChild(container_header);
 
  container.appendChild(container_content);
 
  document.getElementById('globalWrapper').appendChild(container);
 
  setCookie(recent_cookieName,'show');
 
  recent_execute();
 
  recent_intervalHost = window.setInterval('recent_execute()',recent_interval);
 
 
}
 
 
function recent_hide(){
 
  if (recent_plusButton == null)  recent_plusButton  = 'http://stupidedia.org/images/7/72/Plus.gif';
 
  if (recent_plusdirec == null)  recent_plusdirec  = 'right';
 
 
  if (document.getElementById('recent_recentbox')){
 
    document.getElementById('recent_recentbox').parentNode.removeChild(document.getElementById('recent_recentbox'));
 
    document.getElementById('recent_dummy').parentNode.removeChild(document.getElementById('recent_dummy'));
 
    window.clearInterval(recent_intervalHost);
 
  }
 
  var plusButton = document.createElement('img');
 
  plusButton.src = recent_plusButton;
 
  plusButton.alt = 'Öffnen';
 
  var pluslink = document.createElement('a');
 
  pluslink.href = 'javascript:recent_show()';
 
  pluslink.id  = 'recent_pluslink';
 
  with (pluslink.style){
 
    position = 'fixed';
 
    bottom  = '0px';
 
    zIndex  = 25;
 
    if (recent_plusdirec == 'left'){
 
      left = '0px';
 
    } else{
 
      right = '0px';
 
    }
 
  }
 
 
 
  pluslink.appendChild(plusButton);
 
  document.getElementById('globalWrapper').appendChild(pluslink);
 
  setCookie(recent_cookieName,'hide');
 
}
 
 
function recent_execute(){
 
  var recent_container = document.getElementById('recent_container');
 
  var request = sajax_init_object();
 
  request.abort();
 
  request.open('GET',recent_url, true);
 
  request.send('');
 
  request.onreadystatechange = function(){
 
    if (request.readyState == 4){
 
      recent_container.innerHTML = '';
 
      if (request.status == 200){
 
var table = document.createElement('table');
 
with (table.style){
 
  width = '100%';
 
  fontSize = recent_fontsize;
 
  background = recent_backcolor;
 
  padding = '0px';
 
  margin = '0px';
 
  borderCollapse = 'collapse';
 
  borderSpacing = '0px';
 
}
 
var list = request.responseXML.getElementsByTagName('rc');
 
for (var i=0;i<list.length;i++){
 
  var row = document.createElement('tr');
 
  with (row.style){
 
    background  = 'none';
 
    padding      = '0px';
 
    marginBottom = '0px';
 
    borderBottom = 'none';
 
    verticalAlign = 'top';
 
  }
 
  var dstr; // Dummy-String, um die einzelnen Befehle kürzer schreiben zu können
 
  var saddr = wgServer + '/stupi/'; // s.o.
 
 
 
  var timestamp = document.createElement('td');
 
  with (timestamp.style){
 
    width = '60px';
 
    padding = '0px';
 
    margin = '0px';
 
    paddingLeft = '1px';
 
  }
 
  dstr = parseInt(list[i].getAttribute('timestamp').slice(11,13))+recent_timezone;
 
  timestamp.innerHTML = dstr.toString() + list[i].getAttribute('timestamp').slice(13,19);
 
  row.appendChild(timestamp);
 
  var sizechange = document.createElement('td');
 
  var articlesize = parseInt(list[i].getAttribute('newlen')) - parseInt(list[i].getAttribute('oldlen'))
 
  with (sizechange.style){
 
    width = '40px';
 
    padding = '0px';
 
    margin = '0px';
 
    if (articlesize < 0) {color = 'red';}
 
    else if (articlesize == 0){color = '#606060';}
 
    else {color = 'green';}
 
  }
 
  if (list[i].getAttribute('ns') != '-1') sizechange.innerHTML = '(' + articlesize + ')';
 
  row.appendChild(sizechange);
 
  var article = document.createElement('td');
 
  with (article.style){
 
    padding = '0px';
 
    margin = '0px';
 
  }
 
  dstr = list[i].getAttribute('title');
 
  if (list[i].getAttribute('ns') != '-1'){
 
    if (list[i].getAttributeNode('new') != undefined) article.innerHTML = '<span style="font-weight:bold">N</span> ';
 
    if (list[i].getAttributeNode('minor') != undefined) article.innerHTML += '<span style="font-weight:bold">K</span> ';
 
    article.innerHTML += '<a href="'+saddr+dstr+'" title="'+dstr+'">'+dstr+'</a> (<a href="'+saddr+dstr+'?diff='+list[i].getAttribute('revid')+'&oldid='+list[i].getAttribute('old_revid')+'" title="Unterschied">U</a>|<a href="'+saddr+dstr+'?action=history" title="Versionen">V</a>)';
 
  } else {
 
    dstr = list[i].getAttribute('title').slice(16);
 
    if (dstr == 'block') var dstr2 = 'Benutzersperre';
 
    if (dstr == 'upload') var dstr2 = 'Dateiupload';
 
    if (dstr == 'import') var dstr2 = 'Seite importiert';
 
    if (dstr == 'delete') var dstr2 = 'Seite gelöscht';
 
    if (dstr == 'patrol') var dstr2 = 'Seite gecheckt';
 
    if (dstr == 'rights') var dstr2 = 'Benutzerrechte eines Users geändert';
 
    if (dstr == 'protect') var dstr2 = 'Seitenschutz-Status verändert';
 
    if (dstr == 'move') var dstr2 = 'Seite verschoben';
 
            if (dstr == 'newusers') var dstr2 = 'neuer User';
 
    article.innerHTML = '<a href="'+saddr+'Spezial:Logbuch/'+dstr+'" title="'+dstr2+'">'+dstr2+'</a>';
 
  }
 
  list[i].getAttribute('title');
 
  row.appendChild(article);
 
  var user = document.createElement('td');
 
  with (user.style){
 
    width = '180px';
 
    padding = '0px';
 
    margin = '0px';
 
  }
 
  dstr = list[i].getAttribute('user');
 
  if (list[i].getAttributeNode('anon') != undefined){
 
    user.innerHTML = '<span style="font-weight:bold">IP</span> ';
 
    user.innerHTML += '<a href="'+saddr+'Benutzer_Diskussion:'+dstr+'" title="IP-Diskussion:'+dstr+'">'+dstr+'</a> (<a href="'+saddr+'Spezial:Beiträge/'+dstr+'" title="Beiträge des Benutzers">B</a>|<a href="'+saddr+'Spezial:Sperren/'+dstr+'" title="Benutzer Sperren">S</a>)';
 
  } else {
 
    user.innerHTML += '<a href="'+saddr+'Benutzer:'+dstr+'" title="Benutzer:'+dstr+'">'+dstr+'</a> (<a href="'+saddr+'Benutzer Diskussion:'+dstr+'" title="Diskussion des Benutzers">D</a>|<a href="'+saddr+'Spezial:Beiträge/'+dstr+'" title="Beiträge des Benutzers">B</a>|<a href="'+saddr+'Spezial:Sperren/'+dstr+'" title="Benutzer Sperren">S</a>)';
 
  }
 
  row.appendChild(user);
 
  var comment = document.createElement('td');
 
  with (comment.style){
 
    padding = '0px';
 
    margin = '0px';
 
  }
 
  if (list[i].getAttribute('comment') != null){
 
    var linkstart = 0; var linkend = 0;
 
    do{
 
      linkstart = list[i].getAttribute('comment').indexOf('[[',linkend)
 
      if(linkstart != -1){
 
        comment.appendChild(document.createTextNode(list[i].getAttribute('comment').slice(linkend,linkstart)));
 
if (list[i].getAttribute('comment').indexOf(']]',linkstart) != -1){
 
          linkend = list[i].getAttribute('comment').indexOf(']]',linkstart)+2;
 
          var linkcontent = list[i].getAttribute('comment').slice(linkstart,linkend);
 
  var wikilink = document.createElement('a');
 
          if (linkcontent.indexOf('|') == -1){
 
            var linkarticle = linkcontent.slice(2,linkcontent.length - 2);
 
    wikilink.href = saddr+linkarticle;
 
    wikilink.title = linkarticle;
 
    wikilink.innerHTML = linkarticle;
 
            comment.appendChild(wikilink);
 
          } else {
 
            var linkarticle = linkcontent.slice(2,linkcontent.indexOf('|'));
 
            var linkdesc = linkcontent.slice(linkcontent.indexOf('|')+1,linkcontent.length - 2);
 
    wikilink.href = saddr+linkarticle;
 
    wikilink.title = linkarticle;
 
    wikilink.innerHTML = linkdesc;
 
            comment.appendChild(wikilink);
 
          }
 
} else {
 
  comment.appendChild(document.createTextNode(list[i].getAttribute('comment').slice(linkstart)));
 
  linkstart = -1;
 
}
 
              } else {
 
        comment.appendChild(document.createTextNode(list[i].getAttribute('comment').slice(linkend)));
 
              }
 
    } while (linkstart != -1);
 
  }
 
  row.appendChild(comment);
 
  table.appendChild(row);
 
}
 
recent_container.appendChild(table);
 
      } else {
 
        recent_container.innerHTML = 'Bei dem Versuch, den Server abzufragen trat der Fehler ' + request.status + ' auf.';
 
      }
 
    }
 
  }
 
}
 
 
//</nowiki></pre>
 
//<pre><nowiki>
 
 
rein_damit('loeschvorlage_einfügen');
 
rein_damit('addlilink');
 
rein_damit('rv2version');
 
rein_damit('suche');
 
rein_damit('add2toolbar');
 
rein_damit('fix_redirects');
 
rein_damit('lastdiff');
 
rein_damit('verbesserung');
 
rein_damit('cookiework');
 
rein_damit('linkchecker');
 
document.write('<script type="text/javascript" src="http://www.stupidedia.org/stupi?title=Benutzer:Terminimaster/monobook.js/resetPage.js&action=raw&ctype=text/javascript&dontcountme=s"></script>');
 
 
Benutzername = "Terminimaster";
 
Inhalt = "";
 
var linknichtwegmachen = true;
 
 
function init(){
 
  add2toolbar('javascript:insertTags("[[Bild:Jongleur1.gif]]","","")','http://www.stupidedia.org/images/e/e7/Clownbutton.PNG','Jonglieren');
 
  add2toolbar('javascript:insertTags("[[Bild:Jongleur2.gif|150px]]","","")','http://www.stupidedia.org/images/e/e7/Clownbutton.PNG','Jonglieren');
 
  add2toolbar('javascript:insertTags("[[Bild:Jongleur3.gif]]","","")','http://www.stupidedia.org/images/e/e7/Clownbutton.PNG','Jonglieren');
 
  add2toolbar('javascript:insertTags("[[Bild:Jongleur4.gif|120px]]","","")','http://www.stupidedia.org/images/e/e7/Clownbutton.PNG','Jonglieren');
 
  add2toolbar('javascript:insertTags("[[Bild:Jongleur5.gif|120px]]","","")','http://www.stupidedia.org/images/e/e7/Clownbutton.PNG','Jonglieren');
 
  add2toolbar('javascript:insertTags("[[Bild:Jongleur6.gif|120px]]","","")','http://www.stupidedia.org/images/e/e7/Clownbutton.PNG','Jonglieren');
 
  add2toolbar('javascript:insertTags("{{Benutzer:Terminimaster/Jongleure}}","","")','http://stupidedia.org/images/3/3a/Cownblutton.PNG','Wenn die Anderen nicht ausreichen...');
 
  add2toolbar('javascript:Jury()','http://www.stupidedia.org/images/1/13/Jurybutton.png','Contest-Beitrag bewerten');
 
  add2toolbar('javascript:RedirectArticle()', 'http://www.stupidedia.org/images/9/91/Redirect.png', 'Weiterleitung erstellen');
 
  add2toolbar('javascript:InuseArticle()', 'http://www.stupidedia.org/images/8/85/Inuse.png', 'Inuse erstellen');
 
  add2toolbar('javascript:WelcomeUser()', 'http://www.stupidedia.org/images/4/42/Welcome.png', 'Willkommen!');
 
  add2toolbar('javascript:WIP()', 'http://www.stupidedia.org/images/9/93/Welcome_IP.png', 'IP Einladen');
 
  add2toolbar('javascript:FindReplace()', 'http://www.stupidedia.org/images/b/b6/Ersetzen.png', 'Text ersetzen');
 
  add2toolbar('javascript:insertTags("<!--","-->","Unsichtbaren Text hier einfügen")','http://www.stupidedia.org/images/a/a5/ASE.gif','Unsichtbarer Text');
 
  add2toolbar('javascript:insertTags("{{P}} ~~~~","","")','http://img90.imageshack.us/img90/6205/plusxs5.png','Pro setzen');
 
  add2toolbar('javascript:insertTags("{{N}} ~~~~","","")','http://www.stupidedia.org/images/4/4d/Neut.png','Neutral setzen');
 
  add2toolbar('javascript:insertTags("{{C}} ~~~~","","")','http://img90.imageshack.us/img90/3256/minuspf3.png','Contra setzen');
 
  add2toolbar('javascript:insertTags("<br style=clear:both />","","")','http://www.stupidedia.org/images/e/e8/Absatz.png', 'Großabsatz');
 
  add2toolbar('javascript:insertTags("{{IL}}","","")','http://www.stupidedia.org/images/0/0d/Interne_Links.png','Vorlage:Interne Links setzen');
 
  add2toolbar('javascript:insertTags("{{KK}}","","")','http://www.stupidedia.org/images/3/34/Keine_Kategorie.png','Vorlage:KK setzen');
 
  add2toolbar('javascript:ILundKK()', 'http://www.stupidedia.org/images/c/cd/IL%26KK.PNG','Vorlagen KK und IL setzen');
 
  add2toolbar('javascript:insertTags("{{Rechtschreibung}}","","")','http://www.stupidedia.org/images/a/ab/Rechtschreibung.png','Vorlage:Rechtschreibung setzen');
 
  add2toolbar('javascript:insertTags("{{Format}}","","")','http://www.stupidedia.org/images/6/6c/Format.png','Vorlage:Format');
 
  add2toolbar('javascript:insertTags("{{UL}}","","")','http://www.stupidedia.org/images/d/de/Unsinnige_Links.png','Unnötige Links');
 
  add2toolbar('javascript:Stub()', 'http://www.stupidedia.org/images/f/fe/Stub.png', 'Stub');
 
  add2toolbar('javascript:QO()', 'http://www.stupidedia.org/images/5/54/Qualit%C3%A4tsoffensive.png', 'QO');
 
  add2toolbar('javascript:Support()','http://www.stupidedia.org/images/8/8d/Hilfe.gif','Support');
 
  add2toolbar('javascript:Message()', 'http://www.stupidedia.org/images/a/a5/Message.png', 'Mitteilung schreiben');
 
  add2toolbar('javascript:Baustelle()', 'http://www.stupidedia.org/images/e/e0/Baustelle.gif', 'Baustelle');
 
  add2toolbar('javascript:Stop()', 'http://www.stupidedia.org/images/f/f9/Stop.png', 'Stop Warnung setzen');
 
  add2toolbar('javascript:UsePreview();','http://www.stupidedia.org/images/7/75/Preview.png','Vorschau-Button benutzen!');
 
  add2toolbar('javascript:SLA()', 'http://www.stupidedia.org/images/0/06/SL-Autor.png', 'SL-Künstler');
 
  add2toolbar('javascript:card()', 'http://www.stupidedia.org/images/0/0a/Gelb-Rote_Karte.png', 'Karte');
 
  add2toolbar('javascript:Lizenz()', 'http://www.stupidedia.org/images/0/0e/Lizenz%21button.PNG', 'Lizenz! Sofort!');
 
  add2toolbar('javascript:Mecker()', 'http://www.stupidedia.org/images/0/06/BadSig.png', 'Benutzer wegen Signatur anmeckern');
 
  add2toolbar('javascript:insertTags("{{Schleim|","}}","Schleim")','http://www.stupidedia.org/images/6/68/Schleim.gif','einschleimen');
 
  add2toolbar('javascript:Apokalypse()', 'http://www.stupidedia.org/images/8/8a/Apokalypse.png', 'Apokalypse machen');
 
deleteButton(0);
 
deleteButton(1);
 
deleteButton(3);
 
deleteButton(4);
 
deleteButton(5);
 
deleteButton(6);
 
deleteButton(7);
 
deleteButton(9);
 
deleteButton(10);
 
}
 
 
function deleteButton(Nr){
 
  document.getElementById('toolbar').getElementsByTagName("img")[Nr].style.display = "none";
 
}
 
 
function Mecker(){
 
  Inhalt = document.editform.wpTextbox1.value;
 
  var userSig = prompt("Name/Signatur","");
 
  var reason = prompt("Zu hoch, zu breit, zu hässlich?","breit");
 
  document.editform.wpTextbox1.value = "{{BadSig|" + userSig + "|" + reason + "|" + Benutzername + "}}\n" + Inhalt;
 
  document.editform.wpSummary.value = "Inadäquate Signatur";
 
}
 
 
function card(){
 
  Inhalt = document.editform.wpTextbox1.value;
 
  var card = prompt("welche Karte?","gelb");
 
  var reason = prompt("Text eingeben"," wegen Vandalismus");
 
  document.editform.wpTextbox1.value = "{{Karte|" + card + "|" + reason + "|" + Benutzername + "| ~~~~~}}" + Inhalt;
 
  document.editform.wpSummary.value = "" + card + "e Karte";
 
}
 
 
function Baustelle(){
 
  Inhalt = document.editform.wpTextbox1.value;
 
  document.editform.wpTextbox1.value = "{{Baustelle}}" + Inhalt;
 
  document.editform.wpSummary.value = "Ist das alles?";
 
}
 
 
function Stub(){
 
  Inhalt = document.editform.wpTextbox1.value;
 
  document.editform.wpTextbox1.value = "{{Stub|{{subst:Datum}}}}" + Inhalt;
 
  document.editform.wpSummary.value = "Sinnvoller Ansatz; bitte erweitern!";
 
}
 
if(document.title.indexOf('Bearbeiten') == 0)
 
{
 
  if (window.addEventListener)
 
  {
 
    window.addEventListener("load", init, false);
 
  }
 
  else if (window.attachEvent)
 
    window.attachEvent("onload", init);
 
}
 
 
function ILundKK(){
 
  Inhalt = document.editform.wpTextbox1.value;
 
  document.editform.wpTextbox1.value = "{{IL}}{{KK}}" + Inhalt;
 
  document.editform.wpSummary.value = "Erstmal [[Vorlage:IL|IL]] & [[Vorlage:KK|KK]] reingeknallt";
 
}
 
 
function QO(){
 
  Inhalt = document.editform.wpTextbox1.value;
 
  document.editform.wpTextbox1.value = "{{QO|{{subst:Datum}}}}" + Inhalt;
 
  document.editform.wpSummary.value = "[[Vorlage:QO|verbesserungswürdig...]]";
 
}
 
 
function Support(){
 
  Inhalt = document.editform.wpTextbox1.value;
 
  document.editform.wpTextbox1.value = "{{Support|{{Subst:Datum}}}}\n" + Inhalt;
 
  document.editform.wpSummary.value = "[[Vorlage:Support|Support!]]";
 
}
 
 
function Message(){
 
  Inhalt = document.editform.wpTextbox1.value;
 
  var Nachricht = prompt("Text der Nachricht?","Hier Nachricht schreiben");
 
  document.editform.wpTextbox1.value = "{{M|" + Benutzername + "|" + Nachricht + "}}" + Inhalt;
 
  document.editform.wpSummary.value = "Mitteilung";
 
}
 
 
function Jury(){
 
  var Inhalt = prompt("Inhalt? (max. 25)","");
 
  zahl1 = parseInt(Inhalt);
 
  var Humor = prompt("Humor? (max. 25)","");
 
  zahl2 = parseInt(Humor);
 
  var Kreativitaet = prompt("Kreativität? (max. 25)","");
 
  zahl3 = parseInt(Kreativitaet);
 
  var Gestaltung = prompt("Gestaltung? (max. 25)","");
 
  zahl4 = parseInt(Gestaltung);
 
  var Gesamt = zahl1 + zahl2 + zahl3 + zahl4;
 
  document.editform.wpTextbox1.value += "{{Jury|" + Benutzername + "|" + Inhalt + "|" + Humor + "|" + Kreativitaet + "|" + Gestaltung + "|" + Gesamt + "|black|#888888}}";
 
  document.editform.wpSummary.value = "Bewertung abgegeben";
 
}
 
 
function RedirectArticle(){
 
  var DirectSite = prompt("Zielartikel?","Unlustig");
 
  document.editform.wpTextbox1.value = "#Redirect [[" + DirectSite + "]]";
 
  document.editform.wpSummary.value = "Redirect nach [[" + DirectSite + "]]";
 
}
 
 
function InuseArticle(){
 
  Inhalt = document.editform.wpTextbox1.value;
 
  document.editform.wpTextbox1.value = "{{Inuse|" + Benutzername + "}}" + Inhalt;
 
}
 
 
function WelcomeUser(){
 
  document.editform.wpTextbox1.value = "{{W|" + Benutzername + "}}" + Inhalt;
 
  document.editform.wpSummary.value = "Einen wunderschönen herrlichen guten Morgen!";
 
}
 
 
function WIP(){
 
  document.editform.wpTextbox1.value = "{{Benutzer:Terminimaster/Laboratorium/WIP neu|" + Benutzername + "}}" + Inhalt;
 
  document.editform.wpSummary.value = "Ergib dich der [[Stupidedia|dunklen Seite der Macht]]!";
 
  if(confirm("Kommentar hinzufügen?"))
 
  {
 
    var Comment = prompt("Kommentar:","");
 
    document.editform.wpTextbox1.value += "<p>P.P.S:" + Comment + "";
 
  }
 
}
 
 
function Stop(){
 
  document.editform.wpTextbox1.value = "{{Stop}}";
 
  document.editform.wpSummary.value = "[[Stupidedia:Richtlinien|Aufhören, sofort aufhören!]]";
 
}
 
 
function Lizenz(){
 
  Inhalt = document.editform.wpTextbox1.value;
 
  document.editform.wpTextbox1.value = "{{Lizenz!}}" + Inhalt;
 
  document.editform.wpSummary.value = "[[Vorlage:Lizenz!|Lizenzangaben, aber flott!]]";
 
}
 
 
function SLA(){
 
  Inhalt = document.editform.wpTextbox1.value;
 
  document.editform.wpTextbox1.value = "{{SLA|" + Benutzername + "}}" + Inhalt;
 
  document.editform.wpSummary.value = "SL-Autor";
 
}
 
 
function FindReplace(){
 
  var s = prompt("Folgendes ersetzen:");
 
  if(s){
 
    var r = prompt("Ersetzen durch:");
 
    if(!r && r != '') return;
 
    var txt = document.editform.wpTextbox1;
 
    txt.value = txt.value.replace(new RegExp(s, "g"), r);
 
  }
 
}
 
 
function UsePreview(){
 
  var Article = prompt('Gemeinter Artikel');
 
  if(Article != ''){
 
    Inhalt = document.editform.wpTextbox1.value;
 
    document.editform.wpTextbox1.value = '{{Vorschau|' + Article + '}}\n' + Inhalt;
 
  }
 
}
 
 
function Apokalypse(){
 
  document.editform.wpTextbox1.value = "{{subst:Benutzer:Terminimaster/Laboratorium/Apokalypse}}";
 
  document.editform.wpSummary.value = "APOKALYPSE!!!";
 
}
 
 
/* LINKLEISTE */
 
 
if (window.addEventListener)
 
  window.addEventListener("load", motivation, false);
 
else if (window.attachEvent)
 
  window.attachEvent("onload", motivation);
 
 
function motivation(){
 
var LinkLoc = '&nbsp;<a href="http://stupidedia.org/stupi/';
 
var links = LinkLoc + 'Kategorie Diskussion:Stupidedia:Vorbildhafte Artikel"><font color="white">VA</font></a> &bull;'
 
          + LinkLoc + 'Spezial:Whatlinkshere/Vorlage:KK"><font color="white">KK</font></a> &bull;'
 
          + LinkLoc + 'Spezial:Whatlinkshere/Vorlage:IL"><font color="white">IL</font></a> &bull;'
 
          + LinkLoc + 'Benutzer:Terminimaster/Laboratorium"><font color="white">Labor</font></a> &bull;'
 
          + LinkLoc + 'Benutzer:Terminimaster/monobook.js"><font color="white">JS</font></a><br>'
 
          + LinkLoc + 'Benutzer:Terminimaster/monobook.css"><font color="white">CSS</font></a> &bull;'
 
          + LinkLoc + 'Spezial:Newpages"><font color="white">Neu</font></a> &bull;'
 
          + LinkLoc + 'Spezial:Neue_Dateien"><font color="white">Bilder</font></a> &bull;'
 
          + LinkLoc + 'Spezial:Log"><font color="white">Log</font></a><br>'
 
          + LinkLoc + 'Stupidedia:Routine"><font color="white">Routine</font></a> &bull;'
 
          + LinkLoc + 'Hilfe:Javascripts/Rein Damit"><font color="white">Rein damit</font></a> &bull;'
 
          + LinkLoc + 'Benutzer:Terminimaster/Listen, Tabellen & so weiter bzw. etc."><font color="white">List</font></a><br>'
 
          + LinkLoc + 'Spezial:Recentchangeslinked/Benutzer:Bernardissimo/PotVand"><font color="white">Vandalen?</font></a> &bull;'
 
          + LinkLoc + 'Spezial:Blockip"><font color="white">Sperren</font></a><br>'
 
          + LinkLoc + 'Spezial:Ipblocklist"><font color="white">Gesperrt</font></a> &bull;'
 
          + LinkLoc + 'Spezial:MediaWiki-Systemnachrichten"><font color="white">Mediawiki</font></a><br>';
 
var div = document.createElement('div');
 
div.style.position = 'fixed';
 
div.style.left = '0px';
 
div.style.bottom = '0px';
 
div.style.fontSize = '8pt';
 
div.style.backgroundColor = 'black';
 
div.style.width = '155px';
 
div.style.fontWeight = 'bold';
 
div.style.color = 'white';
 
div.innerHTML = links;
 
var content = document.getElementById('content');
 
content.appendChild(div);
 
}
 
 
function loeschschwert(){
 
var adresse = location.href;
 
if(adresse.indexOf("title=") > -1){
 
var start = adresse.lastIndexOf("title=") + 6;
 
if(adresse.indexOf("&")){
 
  var ende = adresse.lastIndexOf("&");
 
}
 
else{var ende = adresse.length;}
 
}
 
else{
 
var start = adresse.lastIndexOf("/stupi/") + 7;
 
var ende = adresse.length;
 
}
 
 
location.href = 'http://www.stupidedia.org/stupi?title=' + adresse.substring(start, ende) +'&action=delete&wpReason=[[Stupidedia:Richtlinien|Mit loderndem Löschschwert wird gerichtet!]]&autoconfirm';
 
}
 
function loeschschwert_init(){
 
if(location.href.search(/autoconfirm/) != -1) {document.getElementById('wpConfirmB').click(); return null;}
 
 
var link = document.createElement('a');
 
link.href = 'javascript:loeschschwert()';
 
link.appendChild(document.createTextNode('(Schwert)'));
 
link.style.paddingLeft = '0px';
 
document.getElementById('ca-delete').appendChild(link);
 
}
 
 
if(wgNamespaceNumber != -1){
 
if (window.addEventListener)
 
  window.addEventListener("load", loeschschwert_init, false);
 
else if (window.attachEvent)
 
  window.attachEvent("onload", loeschschwert_init);
 
}
 
 
 
var recent_intervalHost;
 
var recent_url;
 
var recent_cookieName = 'wiki_extensionShowRChanges';
 
var recent_boxheight;    var recent_timezone;
 
var recent_backcolor;    var recent_fontsize
 
var recent_headcolor;    var recent_plusButton;
 
var recent_interval;      var recent_plusButton;
 
var recent_closebutton;  var recent_amount;
 
var recent_plusButton;    var recent_plusdirec;
 
 
addOnloadHook(recent_init);
 
 
function recent_init(){
 
 
 
  var condition;
 
  if(condition = readCookie(recent_cookieName)){
 
    if (condition == 'show'){
 
      recent_show();
 
    } else {
 
      recent_hide();
 
    }
 
  } else { // Cookie wurde nicht gefunden. Cookie gesetzt und RCanges zeigen.
 
    recent_show();
 
  }
 
}
 
 
function recent_show(){
 
  if (recent_boxheight == null)  recent_boxheight  = 100;
 
  if (recent_backcolor == null)  recent_backcolor  = 'white';
 
  if (recent_interval == null)    recent_interval    = '10000';
 
  if (recent_amount == null)      recent_amount      = 100;
 
    recent_url = wgServer + '/api.php?action=query&format=xml&list=recentchanges&rclimit=' + recent_amount + '&rcprop=user|comment|timestamp|title|sizes|flags|ids&rcshow=!bot';
 
  if (recent_closebutton == null) recent_closebutton = 'http://stupidedia.org/images/a/a0/Minus.gif';
 
  if (recent_headcolor == null)  recent_headcolor  = 'black';
 
  if (recent_fontsize == null)  recent_fontsize  = '8pt';
 
  if (recent_timezone == null)  recent_timezone  = 2;
 
 
 
  if (document.getElementById('recent_pluslink')){
 
    document.getElementById('recent_pluslink').parentNode.removeChild(document.getElementById('recent_pluslink'));
 
  }
 
 
 
  // Dummy-div am Seitenende erstellen, damit ganze Seite erreichbar bleibt
 
  var dummy = document.createElement('div');
 
  dummy.id = 'recent_dummy';
 
  with (dummy.style){
 
    height = recent_boxheight + 20 + 'px';
 
    width  = '100%';
 
  }
 
  document.getElementById('globalWrapper').appendChild(dummy);
 
 
 
  // Recentchange-Container erstellen
 
  var container = document.createElement('div');
 
  container.id = 'recent_recentbox';
 
  with (container.style){
 
    right    = 0;
 
    height    = recent_boxheight + 20 + 'px';
 
    border    = 'none';
 
    position  = 'fixed';
 
    bottom    = '0px';
 
    width    = '1270px';
 
    padding  = '0px';
 
    zIndex    = 25;
 
  }
 
 
 
  // Kopf de Recentchange-Containers
 
  var container_header = document.createElement('div');
 
  container_header.id = 'recent_header';
 
  with (container_header.style){
 
    height    = '20px';
 
    width      = '100%';
 
    background = recent_headcolor;
 
  }
 
  // Schließen-Button
 
  var closebutton = document.createElement('img');
 
  with (closebutton){
 
    src = recent_closebutton;
 
    alt = 'Schliessen';
 
    style.height  = '20px';
 
  }
 
  // Link zum schließen der Box
 
  var closelink = document.createElement('a');
 
  closelink.href = 'javascript:recent_hide()';
 
  with (closelink.style){
 
    height = '20px';
 
    cssFloat  = 'right';
 
  }
 
 
  var headertitle = document.createElement('span');
 
  with (headertitle){
 
    style.height = '20px';
 
  }
 
 
  // Container-Inhalt
 
  var container_content = document.createElement('div');
 
  with (container_content){
 
    id    = 'recent_container';
 
    style.width          = '100%';
 
    style.height          = recent_boxheight + 'px';
 
    style.background      = recent_backcolor;
 
    style.overflow        = 'auto';
 
    innerHTML = 'Lade gerade...';
 
  }
 
 
 
  // Elemente zusammensetzen
 
  container_header.appendChild(headertitle);
 
  closelink.appendChild(closebutton);
 
  container_header.appendChild(closelink);
 
  container.appendChild(container_header);
 
  container.appendChild(container_content);
 
  document.getElementById('globalWrapper').appendChild(container);
 
  setCookie(recent_cookieName,'show');
 
  recent_execute();
 
  recent_intervalHost = window.setInterval('recent_execute()',recent_interval);
 
 
}
 
 
function recent_hide(){
 
  if (recent_plusButton == null)  recent_plusButton  = 'http://stupidedia.org/images/7/72/Plus.gif';
 
  if (recent_plusdirec == null)  recent_plusdirec  = 'right';
 
 
  if (document.getElementById('recent_recentbox')){
 
    document.getElementById('recent_recentbox').parentNode.removeChild(document.getElementById('recent_recentbox'));
 
    document.getElementById('recent_dummy').parentNode.removeChild(document.getElementById('recent_dummy'));
 
    window.clearInterval(recent_intervalHost);
 
  }
 
  var plusButton = document.createElement('img');
 
  plusButton.src = recent_plusButton;
 
  plusButton.alt = 'Öffnen';
 
  var pluslink = document.createElement('a');
 
  pluslink.href = 'javascript:recent_show()';
 
  pluslink.id  = 'recent_pluslink';
 
  with (pluslink.style){
 
    position = 'fixed';
 
    bottom  = '0px';
 
    zIndex  = 25;
 
    if (recent_plusdirec == 'left'){
 
      left = '0px';
 
    } else{
 
      right = '0px';
 
    }
 
  }
 
 
 
  pluslink.appendChild(plusButton);
 
  document.getElementById('globalWrapper').appendChild(pluslink);
 
  setCookie(recent_cookieName,'hide');
 
}
 
 
function recent_execute(){
 
  var recent_container = document.getElementById('recent_container');
 
  var request = sajax_init_object();
 
  request.abort();
 
  request.open('GET',recent_url, true);
 
  request.send('');
 
  request.onreadystatechange = function(){
 
    if (request.readyState == 4){
 
      recent_container.innerHTML = '';
 
      if (request.status == 200){
 
var table = document.createElement('table');
 
with (table.style){
 
  width = '100%';
 
  fontSize = recent_fontsize;
 
  background = recent_backcolor;
 
  padding = '0px';
 
  margin = '0px';
 
  borderCollapse = 'collapse';
 
  borderSpacing = '0px';
 
}
 
var list = request.responseXML.getElementsByTagName('rc');
 
for (var i=0;i<list.length;i++){
 
  var row = document.createElement('tr');
 
  with (row.style){
 
    background  = 'none';
 
    padding      = '0px';
 
    marginBottom = '0px';
 
    borderBottom = 'none';
 
    verticalAlign = 'top';
 
  }
 
  var dstr; // Dummy-String, um die einzelnen Befehle kürzer schreiben zu können
 
  var saddr = wgServer + '/stupi/'; // s.o.
 
 
 
  var timestamp = document.createElement('td');
 
  with (timestamp.style){
 
    width = '60px';
 
    padding = '0px';
 
    margin = '0px';
 
    paddingLeft = '1px';
 
  }
 
  dstr = parseInt(list[i].getAttribute('timestamp').slice(11,13))+recent_timezone;
 
  timestamp.innerHTML = dstr.toString() + list[i].getAttribute('timestamp').slice(13,19);
 
  row.appendChild(timestamp);
 
  var sizechange = document.createElement('td');
 
  var articlesize = parseInt(list[i].getAttribute('newlen')) - parseInt(list[i].getAttribute('oldlen'))
 
  with (sizechange.style){
 
    width = '40px';
 
    padding = '0px';
 
    margin = '0px';
 
    if (articlesize < 0) {color = 'red';}
 
    else if (articlesize == 0){color = '#606060';}
 
    else {color = 'green';}
 
  }
 
  if (list[i].getAttribute('ns') != '-1') sizechange.innerHTML = '(' + articlesize + ')';
 
  row.appendChild(sizechange);
 
  var article = document.createElement('td');
 
  with (article.style){
 
    padding = '0px';
 
    margin = '0px';
 
  }
 
  dstr = list[i].getAttribute('title');
 
  if (list[i].getAttribute('ns') != '-1'){
 
    if (list[i].getAttributeNode('new') != undefined) article.innerHTML = '<span style="font-weight:bold">N</span> ';
 
    if (list[i].getAttributeNode('minor') != undefined) article.innerHTML += '<span style="font-weight:bold">K</span> ';
 
    article.innerHTML += '<a href="'+saddr+dstr+'" title="'+dstr+'">'+dstr+'</a> (<a href="'+saddr+dstr+'?diff='+list[i].getAttribute('revid')+'&oldid='+list[i].getAttribute('old_revid')+'" title="Unterschied">U</a>|<a href="'+saddr+dstr+'?action=history" title="Versionen">V</a>)';
 
  } else {
 
    dstr = list[i].getAttribute('title').slice(16);
 
    if (dstr == 'block') var dstr2 = 'Benutzersperre';
 
    if (dstr == 'upload') var dstr2 = 'Dateiupload';
 
    if (dstr == 'import') var dstr2 = 'Seite importiert';
 
    if (dstr == 'delete') var dstr2 = 'Seite gelöscht';
 
    if (dstr == 'patrol') var dstr2 = 'Seite gecheckt';
 
    if (dstr == 'rights') var dstr2 = 'Benutzerrechte eines Users geändert';
 
    if (dstr == 'protect') var dstr2 = 'Seitenschutz-Status verändert';
 
    if (dstr == 'move') var dstr2 = 'Seite verschoben';
 
            if (dstr == 'newusers') var dstr2 = 'neuer User';
 
    article.innerHTML = '<a href="'+saddr+'Spezial:Logbuch/'+dstr+'" title="'+dstr2+'">'+dstr2+'</a>';
 
  }
 
  list[i].getAttribute('title');
 
  row.appendChild(article);
 
  var user = document.createElement('td');
 
  with (user.style){
 
    width = '180px';
 
    padding = '0px';
 
    margin = '0px';
 
  }
 
  dstr = list[i].getAttribute('user');
 
  if (list[i].getAttributeNode('anon') != undefined){
 
    user.innerHTML = '<span style="font-weight:bold">IP</span> ';
 
    user.innerHTML += '<a href="'+saddr+'Benutzer_Diskussion:'+dstr+'" title="IP-Diskussion:'+dstr+'">'+dstr+'</a> (<a href="'+saddr+'Spezial:Beiträge/'+dstr+'" title="Beiträge des Benutzers">B</a>|<a href="'+saddr+'Spezial:Sperren/'+dstr+'" title="Benutzer Sperren">S</a>)';
 
  } else {
 
    user.innerHTML += '<a href="'+saddr+'Benutzer:'+dstr+'" title="Benutzer:'+dstr+'">'+dstr+'</a> (<a href="'+saddr+'Benutzer Diskussion:'+dstr+'" title="Diskussion des Benutzers">D</a>|<a href="'+saddr+'Spezial:Beiträge/'+dstr+'" title="Beiträge des Benutzers">B</a>|<a href="'+saddr+'Spezial:Sperren/'+dstr+'" title="Benutzer Sperren">S</a>)';
 
  }
 
  row.appendChild(user);
 
  var comment = document.createElement('td');
 
  with (comment.style){
 
    padding = '0px';
 
    margin = '0px';
 
  }
 
  if (list[i].getAttribute('comment') != null){
 
    var linkstart = 0; var linkend = 0;
 
    do{
 
      linkstart = list[i].getAttribute('comment').indexOf('[[',linkend)
 
      if(linkstart != -1){
 
        comment.appendChild(document.createTextNode(list[i].getAttribute('comment').slice(linkend,linkstart)));
 
if (list[i].getAttribute('comment').indexOf(']]',linkstart) != -1){
 
          linkend = list[i].getAttribute('comment').indexOf(']]',linkstart)+2;
 
          var linkcontent = list[i].getAttribute('comment').slice(linkstart,linkend);
 
  var wikilink = document.createElement('a');
 
          if (linkcontent.indexOf('|') == -1){
 
            var linkarticle = linkcontent.slice(2,linkcontent.length - 2);
 
    wikilink.href = saddr+linkarticle;
 
    wikilink.title = linkarticle;
 
    wikilink.innerHTML = linkarticle;
 
            comment.appendChild(wikilink);
 
          } else {
 
            var linkarticle = linkcontent.slice(2,linkcontent.indexOf('|'));
 
            var linkdesc = linkcontent.slice(linkcontent.indexOf('|')+1,linkcontent.length - 2);
 
    wikilink.href = saddr+linkarticle;
 
    wikilink.title = linkarticle;
 
    wikilink.innerHTML = linkdesc;
 
            comment.appendChild(wikilink);
 
          }
 
} else {
 
  comment.appendChild(document.createTextNode(list[i].getAttribute('comment').slice(linkstart)));
 
  linkstart = -1;
 
}
 
              } else {
 
        comment.appendChild(document.createTextNode(list[i].getAttribute('comment').slice(linkend)));
 
              }
 
    } while (linkstart != -1);
 
  }
 
  row.appendChild(comment);
 
  table.appendChild(row);
 
}
 
recent_container.appendChild(table);
 
      } else {
 
        recent_container.innerHTML = 'Bei dem Versuch, den Server abzufragen trat der Fehler ' + request.status + ' auf.';
 
      }
 
    }
 
  }
 
}
 
 
//</nowiki></pre>
 
//<pre><nowiki>
 
 
rein_damit('loeschvorlage_einfügen');
 
rein_damit('addlilink');
 
rein_damit('rv2version');
 
rein_damit('suche');
 
rein_damit('add2toolbar');
 
rein_damit('fix_redirects');
 
rein_damit('lastdiff');
 
rein_damit('verbesserung');
 
rein_damit('cookiework');
 
rein_damit('linkchecker');
 
document.write('<script type="text/javascript" src="http://www.stupidedia.org/stupi?title=Benutzer:Terminimaster/monobook.js/resetPage.js&action=raw&ctype=text/javascript&dontcountme=s"></script>');
 
 
Benutzername = "Terminimaster";
 
Inhalt = "";
 
var linknichtwegmachen = true;
 
 
function init(){
 
  add2toolbar('javascript:insertTags("[[Bild:Jongleur1.gif]]","","")','http://www.stupidedia.org/images/e/e7/Clownbutton.PNG','Jonglieren');
 
  add2toolbar('javascript:insertTags("[[Bild:Jongleur2.gif|150px]]","","")','http://www.stupidedia.org/images/e/e7/Clownbutton.PNG','Jonglieren');
 
  add2toolbar('javascript:insertTags("[[Bild:Jongleur3.gif]]","","")','http://www.stupidedia.org/images/e/e7/Clownbutton.PNG','Jonglieren');
 
  add2toolbar('javascript:insertTags("[[Bild:Jongleur4.gif|120px]]","","")','http://www.stupidedia.org/images/e/e7/Clownbutton.PNG','Jonglieren');
 
  add2toolbar('javascript:insertTags("[[Bild:Jongleur5.gif|120px]]","","")','http://www.stupidedia.org/images/e/e7/Clownbutton.PNG','Jonglieren');
 
  add2toolbar('javascript:insertTags("[[Bild:Jongleur6.gif|120px]]","","")','http://www.stupidedia.org/images/e/e7/Clownbutton.PNG','Jonglieren');
 
  add2toolbar('javascript:insertTags("{{Benutzer:Terminimaster/Jongleure}}","","")','http://stupidedia.org/images/3/3a/Cownblutton.PNG','Wenn die Anderen nicht ausreichen...');
 
  add2toolbar('javascript:Jury()','http://www.stupidedia.org/images/1/13/Jurybutton.png','Contest-Beitrag bewerten');
 
  add2toolbar('javascript:RedirectArticle()', 'http://www.stupidedia.org/images/9/91/Redirect.png', 'Weiterleitung erstellen');
 
  add2toolbar('javascript:InuseArticle()', 'http://www.stupidedia.org/images/8/85/Inuse.png', 'Inuse erstellen');
 
  add2toolbar('javascript:WelcomeUser()', 'http://www.stupidedia.org/images/4/42/Welcome.png', 'Willkommen!');
 
  add2toolbar('javascript:WIP()', 'http://www.stupidedia.org/images/9/93/Welcome_IP.png', 'IP Einladen');
 
  add2toolbar('javascript:FindReplace()', 'http://www.stupidedia.org/images/b/b6/Ersetzen.png', 'Text ersetzen');
 
  add2toolbar('javascript:insertTags("<!--","-->","Unsichtbaren Text hier einfügen")','http://www.stupidedia.org/images/a/a5/ASE.gif','Unsichtbarer Text');
 
  add2toolbar('javascript:insertTags("{{P}} ~~~~","","")','http://img90.imageshack.us/img90/6205/plusxs5.png','Pro setzen');
 
  add2toolbar('javascript:insertTags("{{N}} ~~~~","","")','http://www.stupidedia.org/images/4/4d/Neut.png','Neutral setzen');
 
  add2toolbar('javascript:insertTags("{{C}} ~~~~","","")','http://img90.imageshack.us/img90/3256/minuspf3.png','Contra setzen');
 
  add2toolbar('javascript:insertTags("<br style=clear:both />","","")','http://www.stupidedia.org/images/e/e8/Absatz.png', 'Großabsatz');
 
  add2toolbar('javascript:insertTags("{{IL}}","","")','http://www.stupidedia.org/images/0/0d/Interne_Links.png','Vorlage:Interne Links setzen');
 
  add2toolbar('javascript:insertTags("{{KK}}","","")','http://www.stupidedia.org/images/3/34/Keine_Kategorie.png','Vorlage:KK setzen');
 
  add2toolbar('javascript:ILundKK()', 'http://www.stupidedia.org/images/c/cd/IL%26KK.PNG','Vorlagen KK und IL setzen');
 
  add2toolbar('javascript:insertTags("{{Rechtschreibung}}","","")','http://www.stupidedia.org/images/a/ab/Rechtschreibung.png','Vorlage:Rechtschreibung setzen');
 
  add2toolbar('javascript:insertTags("{{Format}}","","")','http://www.stupidedia.org/images/6/6c/Format.png','Vorlage:Format');
 
  add2toolbar('javascript:insertTags("{{UL}}","","")','http://www.stupidedia.org/images/d/de/Unsinnige_Links.png','Unnötige Links');
 
  add2toolbar('javascript:Stub()', 'http://www.stupidedia.org/images/f/fe/Stub.png', 'Stub');
 
  add2toolbar('javascript:QO()', 'http://www.stupidedia.org/images/5/54/Qualit%C3%A4tsoffensive.png', 'QO');
 
  add2toolbar('javascript:Support()','http://www.stupidedia.org/images/8/8d/Hilfe.gif','Support');
 
  add2toolbar('javascript:Message()', 'http://www.stupidedia.org/images/a/a5/Message.png', 'Mitteilung schreiben');
 
  add2toolbar('javascript:Baustelle()', 'http://www.stupidedia.org/images/e/e0/Baustelle.gif', 'Baustelle');
 
  add2toolbar('javascript:Stop()', 'http://www.stupidedia.org/images/f/f9/Stop.png', 'Stop Warnung setzen');
 
  add2toolbar('javascript:UsePreview();','http://www.stupidedia.org/images/7/75/Preview.png','Vorschau-Button benutzen!');
 
  add2toolbar('javascript:SLA()', 'http://www.stupidedia.org/images/0/06/SL-Autor.png', 'SL-Künstler');
 
  add2toolbar('javascript:card()', 'http://www.stupidedia.org/images/0/0a/Gelb-Rote_Karte.png', 'Karte');
 
  add2toolbar('javascript:Lizenz()', 'http://www.stupidedia.org/images/0/0e/Lizenz%21button.PNG', 'Lizenz! Sofort!');
 
  add2toolbar('javascript:Mecker()', 'http://www.stupidedia.org/images/0/06/BadSig.png', 'Benutzer wegen Signatur anmeckern');
 
  add2toolbar('javascript:insertTags("{{Schleim|","}}","Schleim")','http://www.stupidedia.org/images/6/68/Schleim.gif','einschleimen');
 
  add2toolbar('javascript:Apokalypse()', 'http://www.stupidedia.org/images/8/8a/Apokalypse.png', 'Apokalypse machen');
 
deleteButton(0);
 
deleteButton(1);
 
deleteButton(3);
 
deleteButton(4);
 
deleteButton(5);
 
deleteButton(6);
 
deleteButton(7);
 
deleteButton(9);
 
deleteButton(10);
 
}
 
 
function deleteButton(Nr){
 
  document.getElementById('toolbar').getElementsByTagName("img")[Nr].style.display = "none";
 
}
 
 
function Mecker(){
 
  Inhalt = document.editform.wpTextbox1.value;
 
  var userSig = prompt("Name/Signatur","");
 
  var reason = prompt("Zu hoch, zu breit, zu hässlich?","breit");
 
  document.editform.wpTextbox1.value = "{{BadSig|" + userSig + "|" + reason + "|" + Benutzername + "}}\n" + Inhalt;
 
  document.editform.wpSummary.value = "Inadäquate Signatur";
 
}
 
 
function card(){
 
  Inhalt = document.editform.wpTextbox1.value;
 
  var card = prompt("welche Karte?","gelb");
 
  var reason = prompt("Text eingeben"," wegen Vandalismus");
 
  document.editform.wpTextbox1.value = "{{Karte|" + card + "|" + reason + "|" + Benutzername + "| ~~~~~}}" + Inhalt;
 
  document.editform.wpSummary.value = "" + card + "e Karte";
 
}
 
 
function Baustelle(){
 
  Inhalt = document.editform.wpTextbox1.value;
 
  document.editform.wpTextbox1.value = "{{Baustelle}}" + Inhalt;
 
  document.editform.wpSummary.value = "Ist das alles?";
 
}
 
 
function Stub(){
 
  Inhalt = document.editform.wpTextbox1.value;
 
  document.editform.wpTextbox1.value = "{{Stub|{{subst:Datum}}}}" + Inhalt;
 
  document.editform.wpSummary.value = "Sinnvoller Ansatz; bitte erweitern!";
 
}
 
if(document.title.indexOf('Bearbeiten') == 0)
 
{
 
  if (window.addEventListener)
 
  {
 
    window.addEventListener("load", init, false);
 
  }
 
  else if (window.attachEvent)
 
    window.attachEvent("onload", init);
 
}
 
 
function ILundKK(){
 
  Inhalt = document.editform.wpTextbox1.value;
 
  document.editform.wpTextbox1.value = "{{IL}}{{KK}}" + Inhalt;
 
  document.editform.wpSummary.value = "Erstmal [[Vorlage:IL|IL]] & [[Vorlage:KK|KK]] reingeknallt";
 
}
 
 
function QO(){
 
  Inhalt = document.editform.wpTextbox1.value;
 
  document.editform.wpTextbox1.value = "{{QO|{{subst:Datum}}}}" + Inhalt;
 
  document.editform.wpSummary.value = "[[Vorlage:QO|verbesserungswürdig...]]";
 
}
 
 
function Support(){
 
  Inhalt = document.editform.wpTextbox1.value;
 
  document.editform.wpTextbox1.value = "{{Support|{{Subst:Datum}}}}\n" + Inhalt;
 
  document.editform.wpSummary.value = "[[Vorlage:Support|Support!]]";
 
}
 
 
function Message(){
 
  Inhalt = document.editform.wpTextbox1.value;
 
  var Nachricht = prompt("Text der Nachricht?","Hier Nachricht schreiben");
 
  document.editform.wpTextbox1.value = "{{M|" + Benutzername + "|" + Nachricht + "}}" + Inhalt;
 
  document.editform.wpSummary.value = "Mitteilung";
 
}
 
 
function Jury(){
 
  var Inhalt = prompt("Inhalt? (max. 25)","");
 
  zahl1 = parseInt(Inhalt);
 
  var Humor = prompt("Humor? (max. 25)","");
 
  zahl2 = parseInt(Humor);
 
  var Kreativitaet = prompt("Kreativität? (max. 25)","");
 
  zahl3 = parseInt(Kreativitaet);
 
  var Gestaltung = prompt("Gestaltung? (max. 25)","");
 
  zahl4 = parseInt(Gestaltung);
 
  var Gesamt = zahl1 + zahl2 + zahl3 + zahl4;
 
  document.editform.wpTextbox1.value += "{{Jury|" + Benutzername + "|" + Inhalt + "|" + Humor + "|" + Kreativitaet + "|" + Gestaltung + "|" + Gesamt + "|black|#888888}}";
 
  document.editform.wpSummary.value = "Bewertung abgegeben";
 
}
 
 
function RedirectArticle(){
 
  var DirectSite = prompt("Zielartikel?","Unlustig");
 
  document.editform.wpTextbox1.value = "#Redirect [[" + DirectSite + "]]";
 
  document.editform.wpSummary.value = "Redirect nach [[" + DirectSite + "]]";
 
}
 
 
function InuseArticle(){
 
  Inhalt = document.editform.wpTextbox1.value;
 
  document.editform.wpTextbox1.value = "{{Inuse|" + Benutzername + "}}" + Inhalt;
 
}
 
 
function WelcomeUser(){
 
  document.editform.wpTextbox1.value = "{{W|" + Benutzername + "}}" + Inhalt;
 
  document.editform.wpSummary.value = "Einen wunderschönen herrlichen guten Morgen!";
 
}
 
 
function WIP(){
 
  document.editform.wpTextbox1.value = "{{Benutzer:Terminimaster/Laboratorium/WIP neu|" + Benutzername + "}}" + Inhalt;
 
  document.editform.wpSummary.value = "Ergib dich der [[Stupidedia|dunklen Seite der Macht]]!";
 
  if(confirm("Kommentar hinzufügen?"))
 
  {
 
    var Comment = prompt("Kommentar:","");
 
    document.editform.wpTextbox1.value += "<p>P.P.S:" + Comment + "";
 
  }
 
}
 
 
function Stop(){
 
  document.editform.wpTextbox1.value = "{{Stop}}";
 
  document.editform.wpSummary.value = "[[Stupidedia:Richtlinien|Aufhören, sofort aufhören!]]";
 
}
 
 
function Lizenz(){
 
  Inhalt = document.editform.wpTextbox1.value;
 
  document.editform.wpTextbox1.value = "{{Lizenz!}}" + Inhalt;
 
  document.editform.wpSummary.value = "[[Vorlage:Lizenz!|Lizenzangaben, aber flott!]]";
 
}
 
 
function SLA(){
 
  Inhalt = document.editform.wpTextbox1.value;
 
  document.editform.wpTextbox1.value = "{{SLA|" + Benutzername + "}}" + Inhalt;
 
  document.editform.wpSummary.value = "SL-Autor";
 
}
 
 
function FindReplace(){
 
  var s = prompt("Folgendes ersetzen:");
 
  if(s){
 
    var r = prompt("Ersetzen durch:");
 
    if(!r && r != '') return;
 
    var txt = document.editform.wpTextbox1;
 
    txt.value = txt.value.replace(new RegExp(s, "g"), r);
 
  }
 
}
 
 
function UsePreview(){
 
  var Article = prompt('Gemeinter Artikel');
 
  if(Article != ''){
 
    Inhalt = document.editform.wpTextbox1.value;
 
    document.editform.wpTextbox1.value = '{{Vorschau|' + Article + '}}\n' + Inhalt;
 
  }
 
}
 
 
function Apokalypse(){
 
  document.editform.wpTextbox1.value = "{{subst:Benutzer:Terminimaster/Laboratorium/Apokalypse}}";
 
  document.editform.wpSummary.value = "APOKALYPSE!!!";
 
}
 
 
/* LINKLEISTE */
 
 
if (window.addEventListener)
 
  window.addEventListener("load", motivation, false);
 
else if (window.attachEvent)
 
  window.attachEvent("onload", motivation);
 
 
function motivation(){
 
var LinkLoc = '&nbsp;<a href="http://stupidedia.org/stupi/';
 
var links = LinkLoc + 'Kategorie Diskussion:Stupidedia:Vorbildhafte Artikel"><font color="white">VA</font></a> &bull;'
 
          + LinkLoc + 'Spezial:Whatlinkshere/Vorlage:KK"><font color="white">KK</font></a> &bull;'
 
          + LinkLoc + 'Spezial:Whatlinkshere/Vorlage:IL"><font color="white">IL</font></a> &bull;'
 
          + LinkLoc + 'Benutzer:Terminimaster/Laboratorium"><font color="white">Labor</font></a> &bull;'
 
          + LinkLoc + 'Benutzer:Terminimaster/monobook.js"><font color="white">JS</font></a><br>'
 
          + LinkLoc + 'Benutzer:Terminimaster/monobook.css"><font color="white">CSS</font></a> &bull;'
 
          + LinkLoc + 'Spezial:Newpages"><font color="white">Neu</font></a> &bull;'
 
          + LinkLoc + 'Spezial:Neue_Dateien"><font color="white">Bilder</font></a> &bull;'
 
          + LinkLoc + 'Spezial:Log"><font color="white">Log</font></a><br>'
 
          + LinkLoc + 'Stupidedia:Routine"><font color="white">Routine</font></a> &bull;'
 
          + LinkLoc + 'Hilfe:Javascripts/Rein Damit"><font color="white">Rein damit</font></a> &bull;'
 
          + LinkLoc + 'Benutzer:Terminimaster/Listen, Tabellen & so weiter bzw. etc."><font color="white">List</font></a><br>'
 
          + LinkLoc + 'Spezial:Recentchangeslinked/Benutzer:Bernardissimo/PotVand"><font color="white">Vandalen?</font></a> &bull;'
 
          + LinkLoc + 'Spezial:Blockip"><font color="white">Sperren</font></a><br>'
 
          + LinkLoc + 'Spezial:Ipblocklist"><font color="white">Gesperrt</font></a> &bull;'
 
          + LinkLoc + 'Spezial:MediaWiki-Systemnachrichten"><font color="white">Mediawiki</font></a><br>';
 
var div = document.createElement('div');
 
div.style.position = 'fixed';
 
div.style.left = '0px';
 
div.style.bottom = '0px';
 
div.style.fontSize = '8pt';
 
div.style.backgroundColor = 'black';
 
div.style.width = '155px';
 
div.style.fontWeight = 'bold';
 
div.style.color = 'white';
 
div.innerHTML = links;
 
var content = document.getElementById('content');
 
content.appendChild(div);
 
}
 
 
function loeschschwert(){
 
var adresse = location.href;
 
if(adresse.indexOf("title=") > -1){
 
var start = adresse.lastIndexOf("title=") + 6;
 
if(adresse.indexOf("&")){
 
  var ende = adresse.lastIndexOf("&");
 
}
 
else{var ende = adresse.length;}
 
}
 
else{
 
var start = adresse.lastIndexOf("/stupi/") + 7;
 
var ende = adresse.length;
 
}
 
 
location.href = 'http://www.stupidedia.org/stupi?title=' + adresse.substring(start, ende) +'&action=delete&wpReason=[[Stupidedia:Richtlinien|Mit loderndem Löschschwert wird gerichtet!]]&autoconfirm';
 
}
 
function loeschschwert_init(){
 
if(location.href.search(/autoconfirm/) != -1) {document.getElementById('wpConfirmB').click(); return null;}
 
 
var link = document.createElement('a');
 
link.href = 'javascript:loeschschwert()';
 
link.appendChild(document.createTextNode('(Schwert)'));
 
link.style.paddingLeft = '0px';
 
document.getElementById('ca-delete').appendChild(link);
 
}
 
 
if(wgNamespaceNumber != -1){
 
if (window.addEventListener)
 
  window.addEventListener("load", loeschschwert_init, false);
 
else if (window.attachEvent)
 
  window.attachEvent("onload", loeschschwert_init);
 
}
 
 
 
var recent_intervalHost;
 
var recent_url;
 
var recent_cookieName = 'wiki_extensionShowRChanges';
 
var recent_boxheight;    var recent_timezone;
 
var recent_backcolor;    var recent_fontsize
 
var recent_headcolor;    var recent_plusButton;
 
var recent_interval;      var recent_plusButton;
 
var recent_closebutton;  var recent_amount;
 
var recent_plusButton;    var recent_plusdirec;
 
 
addOnloadHook(recent_init);
 
 
function recent_init(){
 
 
 
  var condition;
 
  if(condition = readCookie(recent_cookieName)){
 
    if (condition == 'show'){
 
      recent_show();
 
    } else {
 
      recent_hide();
 
    }
 
  } else { // Cookie wurde nicht gefunden. Cookie gesetzt und RCanges zeigen.
 
    recent_show();
 
  }
 
}
 
 
function recent_show(){
 
  if (recent_boxheight == null)  recent_boxheight  = 100;
 
  if (recent_backcolor == null)  recent_backcolor  = 'white';
 
  if (recent_interval == null)    recent_interval    = '10000';
 
  if (recent_amount == null)      recent_amount      = 100;
 
    recent_url = wgServer + '/api.php?action=query&format=xml&list=recentchanges&rclimit=' + recent_amount + '&rcprop=user|comment|timestamp|title|sizes|flags|ids&rcshow=!bot';
 
  if (recent_closebutton == null) recent_closebutton = 'http://stupidedia.org/images/a/a0/Minus.gif';
 
  if (recent_headcolor == null)  recent_headcolor  = 'black';
 
  if (recent_fontsize == null)  recent_fontsize  = '8pt';
 
  if (recent_timezone == null)  recent_timezone  = 2;
 
 
 
  if (document.getElementById('recent_pluslink')){
 
    document.getElementById('recent_pluslink').parentNode.removeChild(document.getElementById('recent_pluslink'));
 
  }
 
 
 
  // Dummy-div am Seitenende erstellen, damit ganze Seite erreichbar bleibt
 
  var dummy = document.createElement('div');
 
  dummy.id = 'recent_dummy';
 
  with (dummy.style){
 
    height = recent_boxheight + 20 + 'px';
 
    width  = '100%';
 
  }
 
  document.getElementById('globalWrapper').appendChild(dummy);
 
 
 
  // Recentchange-Container erstellen
 
  var container = document.createElement('div');
 
  container.id = 'recent_recentbox';
 
  with (container.style){
 
    right    = 0;
 
    height    = recent_boxheight + 20 + 'px';
 
    border    = 'none';
 
    position  = 'fixed';
 
    bottom    = '0px';
 
    width    = '1270px';
 
    padding  = '0px';
 
    zIndex    = 25;
 
  }
 
 
 
  // Kopf de Recentchange-Containers
 
  var container_header = document.createElement('div');
 
  container_header.id = 'recent_header';
 
  with (container_header.style){
 
    height    = '20px';
 
    width      = '100%';
 
    background = recent_headcolor;
 
  }
 
  // Schließen-Button
 
  var closebutton = document.createElement('img');
 
  with (closebutton){
 
    src = recent_closebutton;
 
    alt = 'Schliessen';
 
    style.height  = '20px';
 
  }
 
  // Link zum schließen der Box
 
  var closelink = document.createElement('a');
 
  closelink.href = 'javascript:recent_hide()';
 
  with (closelink.style){
 
    height = '20px';
 
    cssFloat  = 'right';
 
  }
 
 
  var headertitle = document.createElement('span');
 
  with (headertitle){
 
    style.height = '20px';
 
  }
 
 
  // Container-Inhalt
 
  var container_content = document.createElement('div');
 
  with (container_content){
 
    id    = 'recent_container';
 
    style.width          = '100%';
 
    style.height          = recent_boxheight + 'px';
 
    style.background      = recent_backcolor;
 
    style.overflow        = 'auto';
 
    innerHTML = 'Lade gerade...';
 
  }
 
 
 
  // Elemente zusammensetzen
 
  container_header.appendChild(headertitle);
 
  closelink.appendChild(closebutton);
 
  container_header.appendChild(closelink);
 
  container.appendChild(container_header);
 
  container.appendChild(container_content);
 
  document.getElementById('globalWrapper').appendChild(container);
 
  setCookie(recent_cookieName,'show');
 
  recent_execute();
 
  recent_intervalHost = window.setInterval('recent_execute()',recent_interval);
 
 
}
 
 
function recent_hide(){
 
  if (recent_plusButton == null)  recent_plusButton  = 'http://stupidedia.org/images/7/72/Plus.gif';
 
  if (recent_plusdirec == null)  recent_plusdirec  = 'right';
 
 
  if (document.getElementById('recent_recentbox')){
 
    document.getElementById('recent_recentbox').parentNode.removeChild(document.getElementById('recent_recentbox'));
 
    document.getElementById('recent_dummy').parentNode.removeChild(document.getElementById('recent_dummy'));
 
    window.clearInterval(recent_intervalHost);
 
  }
 
  var plusButton = document.createElement('img');
 
  plusButton.src = recent_plusButton;
 
  plusButton.alt = 'Öffnen';
 
  var pluslink = document.createElement('a');
 
  pluslink.href = 'javascript:recent_show()';
 
  pluslink.id  = 'recent_pluslink';
 
  with (pluslink.style){
 
    position = 'fixed';
 
    bottom  = '0px';
 
    zIndex  = 25;
 
    if (recent_plusdirec == 'left'){
 
      left = '0px';
 
    } else{
 
      right = '0px';
 
    }
 
  }
 
 
 
  pluslink.appendChild(plusButton);
 
  document.getElementById('globalWrapper').appendChild(pluslink);
 
  setCookie(recent_cookieName,'hide');
 
}
 
 
function recent_execute(){
 
  var recent_container = document.getElementById('recent_container');
 
  var request = sajax_init_object();
 
  request.abort();
 
  request.open('GET',recent_url, true);
 
  request.send('');
 
  request.onreadystatechange = function(){
 
    if (request.readyState == 4){
 
      recent_container.innerHTML = '';
 
      if (request.status == 200){
 
var table = document.createElement('table');
 
with (table.style){
 
  width = '100%';
 
  fontSize = recent_fontsize;
 
  background = recent_backcolor;
 
  padding = '0px';
 
  margin = '0px';
 
  borderCollapse = 'collapse';
 
  borderSpacing = '0px';
 
}
 
var list = request.responseXML.getElementsByTagName('rc');
 
for (var i=0;i<list.length;i++){
 
  var row = document.createElement('tr');
 
  with (row.style){
 
    background  = 'none';
 
    padding      = '0px';
 
    marginBottom = '0px';
 
    borderBottom = 'none';
 
    verticalAlign = 'top';
 
  }
 
  var dstr; // Dummy-String, um die einzelnen Befehle kürzer schreiben zu können
 
  var saddr = wgServer + '/stupi/'; // s.o.
 
 
 
  var timestamp = document.createElement('td');
 
  with (timestamp.style){
 
    width = '60px';
 
    padding = '0px';
 
    margin = '0px';
 
    paddingLeft = '1px';
 
  }
 
  dstr = parseInt(list[i].getAttribute('timestamp').slice(11,13))+recent_timezone;
 
  timestamp.innerHTML = dstr.toString() + list[i].getAttribute('timestamp').slice(13,19);
 
  row.appendChild(timestamp);
 
  var sizechange = document.createElement('td');
 
  var articlesize = parseInt(list[i].getAttribute('newlen')) - parseInt(list[i].getAttribute('oldlen'))
 
  with (sizechange.style){
 
    width = '40px';
 
    padding = '0px';
 
    margin = '0px';
 
    if (articlesize < 0) {color = 'red';}
 
    else if (articlesize == 0){color = '#606060';}
 
    else {color = 'green';}
 
  }
 
  if (list[i].getAttribute('ns') != '-1') sizechange.innerHTML = '(' + articlesize + ')';
 
  row.appendChild(sizechange);
 
  var article = document.createElement('td');
 
  with (article.style){
 
    padding = '0px';
 
    margin = '0px';
 
  }
 
  dstr = list[i].getAttribute('title');
 
  if (list[i].getAttribute('ns') != '-1'){
 
    if (list[i].getAttributeNode('new') != undefined) article.innerHTML = '<span style="font-weight:bold">N</span> ';
 
    if (list[i].getAttributeNode('minor') != undefined) article.innerHTML += '<span style="font-weight:bold">K</span> ';
 
    article.innerHTML += '<a href="'+saddr+dstr+'" title="'+dstr+'">'+dstr+'</a> (<a href="'+saddr+dstr+'?diff='+list[i].getAttribute('revid')+'&oldid='+list[i].getAttribute('old_revid')+'" title="Unterschied">U</a>|<a href="'+saddr+dstr+'?action=history" title="Versionen">V</a>)';
 
  } else {
 
    dstr = list[i].getAttribute('title').slice(16);
 
    if (dstr == 'block') var dstr2 = 'Benutzersperre';
 
    if (dstr == 'upload') var dstr2 = 'Dateiupload';
 
    if (dstr == 'import') var dstr2 = 'Seite importiert';
 
    if (dstr == 'delete') var dstr2 = 'Seite gelöscht';
 
    if (dstr == 'patrol') var dstr2 = 'Seite gecheckt';
 
    if (dstr == 'rights') var dstr2 = 'Benutzerrechte eines Users geändert';
 
    if (dstr == 'protect') var dstr2 = 'Seitenschutz-Status verändert';
 
    if (dstr == 'move') var dstr2 = 'Seite verschoben';
 
            if (dstr == 'newusers') var dstr2 = 'neuer User';
 
    article.innerHTML = '<a href="'+saddr+'Spezial:Logbuch/'+dstr+'" title="'+dstr2+'">'+dstr2+'</a>';
 
  }
 
  list[i].getAttribute('title');
 
  row.appendChild(article);
 
  var user = document.createElement('td');
 
  with (user.style){
 
    width = '180px';
 
    padding = '0px';
 
    margin = '0px';
 
  }
 
  dstr = list[i].getAttribute('user');
 
  if (list[i].getAttributeNode('anon') != undefined){
 
    user.innerHTML = '<span style="font-weight:bold">IP</span> ';
 
    user.innerHTML += '<a href="'+saddr+'Benutzer_Diskussion:'+dstr+'" title="IP-Diskussion:'+dstr+'">'+dstr+'</a> (<a href="'+saddr+'Spezial:Beiträge/'+dstr+'" title="Beiträge des Benutzers">B</a>|<a href="'+saddr+'Spezial:Sperren/'+dstr+'" title="Benutzer Sperren">S</a>)';
 
  } else {
 
    user.innerHTML += '<a href="'+saddr+'Benutzer:'+dstr+'" title="Benutzer:'+dstr+'">'+dstr+'</a> (<a href="'+saddr+'Benutzer Diskussion:'+dstr+'" title="Diskussion des Benutzers">D</a>|<a href="'+saddr+'Spezial:Beiträge/'+dstr+'" title="Beiträge des Benutzers">B</a>|<a href="'+saddr+'Spezial:Sperren/'+dstr+'" title="Benutzer Sperren">S</a>)';
 
  }
 
  row.appendChild(user);
 
  var comment = document.createElement('td');
 
  with (comment.style){
 
    padding = '0px';
 
    margin = '0px';
 
  }
 
  if (list[i].getAttribute('comment') != null){
 
    var linkstart = 0; var linkend = 0;
 
    do{
 
      linkstart = list[i].getAttribute('comment').indexOf('[[',linkend)
 
      if(linkstart != -1){
 
        comment.appendChild(document.createTextNode(list[i].getAttribute('comment').slice(linkend,linkstart)));
 
if (list[i].getAttribute('comment').indexOf(']]',linkstart) != -1){
 
          linkend = list[i].getAttribute('comment').indexOf(']]',linkstart)+2;
 
          var linkcontent = list[i].getAttribute('comment').slice(linkstart,linkend);
 
  var wikilink = document.createElement('a');
 
          if (linkcontent.indexOf('|') == -1){
 
            var linkarticle = linkcontent.slice(2,linkcontent.length - 2);
 
    wikilink.href = saddr+linkarticle;
 
    wikilink.title = linkarticle;
 
    wikilink.innerHTML = linkarticle;
 
            comment.appendChild(wikilink);
 
          } else {
 
            var linkarticle = linkcontent.slice(2,linkcontent.indexOf('|'));
 
            var linkdesc = linkcontent.slice(linkcontent.indexOf('|')+1,linkcontent.length - 2);
 
    wikilink.href = saddr+linkarticle;
 
    wikilink.title = linkarticle;
 
    wikilink.innerHTML = linkdesc;
 
            comment.appendChild(wikilink);
 
          }
 
} else {
 
  comment.appendChild(document.createTextNode(list[i].getAttribute('comment').slice(linkstart)));
 
  linkstart = -1;
 
}
 
              } else {
 
        comment.appendChild(document.createTextNode(list[i].getAttribute('comment').slice(linkend)));
 
              }
 
    } while (linkstart != -1);
 
  }
 
  row.appendChild(comment);
 
  table.appendChild(row);
 
}
 
recent_container.appendChild(table);
 
      } else {
 
        recent_container.innerHTML = 'Bei dem Versuch, den Server abzufragen trat der Fehler ' + request.status + ' auf.';
 
      }
 
    }
 
  }
 
}
 
 
//</nowiki></pre>
 
//<pre><nowiki>
 
 
rein_damit('loeschvorlage_einfügen');
 
rein_damit('addlilink');
 
rein_damit('rv2version');
 
rein_damit('suche');
 
rein_damit('add2toolbar');
 
rein_damit('fix_redirects');
 
rein_damit('lastdiff');
 
rein_damit('verbesserung');
 
rein_damit('cookiework');
 
rein_damit('linkchecker');
 
document.write('<script type="text/javascript" src="http://www.stupidedia.org/stupi?title=Benutzer:Terminimaster/monobook.js/resetPage.js&action=raw&ctype=text/javascript&dontcountme=s"></script>');
 
 
Benutzername = "Terminimaster";
 
Inhalt = "";
 
var linknichtwegmachen = true;
 
 
function init(){
 
  add2toolbar('javascript:insertTags("[[Bild:Jongleur1.gif]]","","")','http://www.stupidedia.org/images/e/e7/Clownbutton.PNG','Jonglieren');
 
  add2toolbar('javascript:insertTags("[[Bild:Jongleur2.gif|150px]]","","")','http://www.stupidedia.org/images/e/e7/Clownbutton.PNG','Jonglieren');
 
  add2toolbar('javascript:insertTags("[[Bild:Jongleur3.gif]]","","")','http://www.stupidedia.org/images/e/e7/Clownbutton.PNG','Jonglieren');
 
  add2toolbar('javascript:insertTags("[[Bild:Jongleur4.gif|120px]]","","")','http://www.stupidedia.org/images/e/e7/Clownbutton.PNG','Jonglieren');
 
  add2toolbar('javascript:insertTags("[[Bild:Jongleur5.gif|120px]]","","")','http://www.stupidedia.org/images/e/e7/Clownbutton.PNG','Jonglieren');
 
  add2toolbar('javascript:insertTags("[[Bild:Jongleur6.gif|120px]]","","")','http://www.stupidedia.org/images/e/e7/Clownbutton.PNG','Jonglieren');
 
  add2toolbar('javascript:insertTags("{{Benutzer:Terminimaster/Jongleure}}","","")','http://stupidedia.org/images/3/3a/Cownblutton.PNG','Wenn die Anderen nicht ausreichen...');
 
  add2toolbar('javascript:Jury()','http://www.stupidedia.org/images/1/13/Jurybutton.png','Contest-Beitrag bewerten');
 
  add2toolbar('javascript:RedirectArticle()', 'http://www.stupidedia.org/images/9/91/Redirect.png', 'Weiterleitung erstellen');
 
  add2toolbar('javascript:InuseArticle()', 'http://www.stupidedia.org/images/8/85/Inuse.png', 'Inuse erstellen');
 
  add2toolbar('javascript:WelcomeUser()', 'http://www.stupidedia.org/images/4/42/Welcome.png', 'Willkommen!');
 
  add2toolbar('javascript:WIP()', 'http://www.stupidedia.org/images/9/93/Welcome_IP.png', 'IP Einladen');
 
  add2toolbar('javascript:FindReplace()', 'http://www.stupidedia.org/images/b/b6/Ersetzen.png', 'Text ersetzen');
 
  add2toolbar('javascript:insertTags("<!--","-->","Unsichtbaren Text hier einfügen")','http://www.stupidedia.org/images/a/a5/ASE.gif','Unsichtbarer Text');
 
  add2toolbar('javascript:insertTags("{{P}} ~~~~","","")','http://img90.imageshack.us/img90/6205/plusxs5.png','Pro setzen');
 
  add2toolbar('javascript:insertTags("{{N}} ~~~~","","")','http://www.stupidedia.org/images/4/4d/Neut.png','Neutral setzen');
 
  add2toolbar('javascript:insertTags("{{C}} ~~~~","","")','http://img90.imageshack.us/img90/3256/minuspf3.png','Contra setzen');
 
  add2toolbar('javascript:insertTags("<br style=clear:both />","","")','http://www.stupidedia.org/images/e/e8/Absatz.png', 'Großabsatz');
 
  add2toolbar('javascript:insertTags("{{IL}}","","")','http://www.stupidedia.org/images/0/0d/Interne_Links.png','Vorlage:Interne Links setzen');
 
  add2toolbar('javascript:insertTags("{{KK}}","","")','http://www.stupidedia.org/images/3/34/Keine_Kategorie.png','Vorlage:KK setzen');
 
  add2toolbar('javascript:ILundKK()', 'http://www.stupidedia.org/images/c/cd/IL%26KK.PNG','Vorlagen KK und IL setzen');
 
  add2toolbar('javascript:insertTags("{{Rechtschreibung}}","","")','http://www.stupidedia.org/images/a/ab/Rechtschreibung.png','Vorlage:Rechtschreibung setzen');
 
  add2toolbar('javascript:insertTags("{{Format}}","","")','http://www.stupidedia.org/images/6/6c/Format.png','Vorlage:Format');
 
  add2toolbar('javascript:insertTags("{{UL}}","","")','http://www.stupidedia.org/images/d/de/Unsinnige_Links.png','Unnötige Links');
 
  add2toolbar('javascript:Stub()', 'http://www.stupidedia.org/images/f/fe/Stub.png', 'Stub');
 
  add2toolbar('javascript:QO()', 'http://www.stupidedia.org/images/5/54/Qualit%C3%A4tsoffensive.png', 'QO');
 
  add2toolbar('javascript:Support()','http://www.stupidedia.org/images/8/8d/Hilfe.gif','Support');
 
  add2toolbar('javascript:Message()', 'http://www.stupidedia.org/images/a/a5/Message.png', 'Mitteilung schreiben');
 
  add2toolbar('javascript:Baustelle()', 'http://www.stupidedia.org/images/e/e0/Baustelle.gif', 'Baustelle');
 
  add2toolbar('javascript:Stop()', 'http://www.stupidedia.org/images/f/f9/Stop.png', 'Stop Warnung setzen');
 
  add2toolbar('javascript:UsePreview();','http://www.stupidedia.org/images/7/75/Preview.png','Vorschau-Button benutzen!');
 
  add2toolbar('javascript:SLA()', 'http://www.stupidedia.org/images/0/06/SL-Autor.png', 'SL-Künstler');
 
  add2toolbar('javascript:card()', 'http://www.stupidedia.org/images/0/0a/Gelb-Rote_Karte.png', 'Karte');
 
  add2toolbar('javascript:Lizenz()', 'http://www.stupidedia.org/images/0/0e/Lizenz%21button.PNG', 'Lizenz! Sofort!');
 
  add2toolbar('javascript:Mecker()', 'http://www.stupidedia.org/images/0/06/BadSig.png', 'Benutzer wegen Signatur anmeckern');
 
  add2toolbar('javascript:insertTags("{{Schleim|","}}","Schleim")','http://www.stupidedia.org/images/6/68/Schleim.gif','einschleimen');
 
  add2toolbar('javascript:Apokalypse()', 'http://www.stupidedia.org/images/8/8a/Apokalypse.png', 'Apokalypse machen');
 
deleteButton(0);
 
deleteButton(1);
 
deleteButton(3);
 
deleteButton(4);
 
deleteButton(5);
 
deleteButton(6);
 
deleteButton(7);
 
deleteButton(9);
 
deleteButton(10);
 
}
 
 
function deleteButton(Nr){
 
  document.getElementById('toolbar').getElementsByTagName("img")[Nr].style.display = "none";
 
}
 
 
function Mecker(){
 
  Inhalt = document.editform.wpTextbox1.value;
 
  var userSig = prompt("Name/Signatur","");
 
  var reason = prompt("Zu hoch, zu breit, zu hässlich?","breit");
 
  document.editform.wpTextbox1.value = "{{BadSig|" + userSig + "|" + reason + "|" + Benutzername + "}}\n" + Inhalt;
 
  document.editform.wpSummary.value = "Inadäquate Signatur";
 
}
 
 
function card(){
 
  Inhalt = document.editform.wpTextbox1.value;
 
  var card = prompt("welche Karte?","gelb");
 
  var reason = prompt("Text eingeben"," wegen Vandalismus");
 
  document.editform.wpTextbox1.value = "{{Karte|" + card + "|" + reason + "|" + Benutzername + "| ~~~~~}}" + Inhalt;
 
  document.editform.wpSummary.value = "" + card + "e Karte";
 
}
 
 
function Baustelle(){
 
  Inhalt = document.editform.wpTextbox1.value;
 
  document.editform.wpTextbox1.value = "{{Baustelle}}" + Inhalt;
 
  document.editform.wpSummary.value = "Ist das alles?";
 
}
 
 
function Stub(){
 
  Inhalt = document.editform.wpTextbox1.value;
 
  document.editform.wpTextbox1.value = "{{Stub|{{subst:Datum}}}}" + Inhalt;
 
  document.editform.wpSummary.value = "Sinnvoller Ansatz; bitte erweitern!";
 
}
 
if(document.title.indexOf('Bearbeiten') == 0)
 
{
 
  if (window.addEventListener)
 
  {
 
    window.addEventListener("load", init, false);
 
  }
 
  else if (window.attachEvent)
 
    window.attachEvent("onload", init);
 
}
 
 
function ILundKK(){
 
  Inhalt = document.editform.wpTextbox1.value;
 
  document.editform.wpTextbox1.value = "{{IL}}{{KK}}" + Inhalt;
 
  document.editform.wpSummary.value = "Erstmal [[Vorlage:IL|IL]] & [[Vorlage:KK|KK]] reingeknallt";
 
}
 
 
function QO(){
 
  Inhalt = document.editform.wpTextbox1.value;
 
  document.editform.wpTextbox1.value = "{{QO|{{subst:Datum}}}}" + Inhalt;
 
  document.editform.wpSummary.value = "[[Vorlage:QO|verbesserungswürdig...]]";
 
}
 
 
function Support(){
 
  Inhalt = document.editform.wpTextbox1.value;
 
  document.editform.wpTextbox1.value = "{{Support|{{Subst:Datum}}}}\n" + Inhalt;
 
  document.editform.wpSummary.value = "[[Vorlage:Support|Support!]]";
 
}
 
 
function Message(){
 
  Inhalt = document.editform.wpTextbox1.value;
 
  var Nachricht = prompt("Text der Nachricht?","Hier Nachricht schreiben");
 
  document.editform.wpTextbox1.value = "{{M|" + Benutzername + "|" + Nachricht + "}}" + Inhalt;
 
  document.editform.wpSummary.value = "Mitteilung";
 
}
 
 
function Jury(){
 
  var Inhalt = prompt("Inhalt? (max. 25)","");
 
  zahl1 = parseInt(Inhalt);
 
  var Humor = prompt("Humor? (max. 25)","");
 
  zahl2 = parseInt(Humor);
 
  var Kreativitaet = prompt("Kreativität? (max. 25)","");
 
  zahl3 = parseInt(Kreativitaet);
 
  var Gestaltung = prompt("Gestaltung? (max. 25)","");
 
  zahl4 = parseInt(Gestaltung);
 
  var Gesamt = zahl1 + zahl2 + zahl3 + zahl4;
 
  document.editform.wpTextbox1.value += "{{Jury|" + Benutzername + "|" + Inhalt + "|" + Humor + "|" + Kreativitaet + "|" + Gestaltung + "|" + Gesamt + "|black|#888888}}";
 
  document.editform.wpSummary.value = "Bewertung abgegeben";
 
}
 
 
function RedirectArticle(){
 
  var DirectSite = prompt("Zielartikel?","Unlustig");
 
  document.editform.wpTextbox1.value = "#Redirect [[" + DirectSite + "]]";
 
  document.editform.wpSummary.value = "Redirect nach [[" + DirectSite + "]]";
 
}
 
 
function InuseArticle(){
 
  Inhalt = document.editform.wpTextbox1.value;
 
  document.editform.wpTextbox1.value = "{{Inuse|" + Benutzername + "}}" + Inhalt;
 
}
 
 
function WelcomeUser(){
 
  document.editform.wpTextbox1.value = "{{W|" + Benutzername + "}}" + Inhalt;
 
  document.editform.wpSummary.value = "Einen wunderschönen herrlichen guten Morgen!";
 
}
 
 
function WIP(){
 
  document.editform.wpTextbox1.value = "{{Benutzer:Terminimaster/Laboratorium/WIP neu|" + Benutzername + "}}" + Inhalt;
 
  document.editform.wpSummary.value = "Ergib dich der [[Stupidedia|dunklen Seite der Macht]]!";
 
  if(confirm("Kommentar hinzufügen?"))
 
  {
 
    var Comment = prompt("Kommentar:","");
 
    document.editform.wpTextbox1.value += "<p>P.P.S:" + Comment + "";
 
  }
 
}
 
 
function Stop(){
 
  document.editform.wpTextbox1.value = "{{Stop}}";
 
  document.editform.wpSummary.value = "[[Stupidedia:Richtlinien|Aufhören, sofort aufhören!]]";
 
}
 
 
function Lizenz(){
 
  Inhalt = document.editform.wpTextbox1.value;
 
  document.editform.wpTextbox1.value = "{{Lizenz!}}" + Inhalt;
 
  document.editform.wpSummary.value = "[[Vorlage:Lizenz!|Lizenzangaben, aber flott!]]";
 
}
 
 
function SLA(){
 
  Inhalt = document.editform.wpTextbox1.value;
 
  document.editform.wpTextbox1.value = "{{SLA|" + Benutzername + "}}" + Inhalt;
 
  document.editform.wpSummary.value = "SL-Autor";
 
}
 
 
function FindReplace(){
 
  var s = prompt("Folgendes ersetzen:");
 
  if(s){
 
    var r = prompt("Ersetzen durch:");
 
    if(!r && r != '') return;
 
    var txt = document.editform.wpTextbox1;
 
    txt.value = txt.value.replace(new RegExp(s, "g"), r);
 
  }
 
}
 
 
function UsePreview(){
 
  var Article = prompt('Gemeinter Artikel');
 
  if(Article != ''){
 
    Inhalt = document.editform.wpTextbox1.value;
 
    document.editform.wpTextbox1.value = '{{Vorschau|' + Article + '}}\n' + Inhalt;
 
  }
 
}
 
 
function Apokalypse(){
 
  document.editform.wpTextbox1.value = "{{subst:Benutzer:Terminimaster/Laboratorium/Apokalypse}}";
 
  document.editform.wpSummary.value = "APOKALYPSE!!!";
 
}
 
 
/* LINKLEISTE */
 
 
if (window.addEventListener)
 
  window.addEventListener("load", motivation, false);
 
else if (window.attachEvent)
 
  window.attachEvent("onload", motivation);
 
 
function motivation(){
 
var LinkLoc = '&nbsp;<a href="http://stupidedia.org/stupi/';
 
var links = LinkLoc + 'Kategorie Diskussion:Stupidedia:Vorbildhafte Artikel"><font color="white">VA</font></a> &bull;'
 
          + LinkLoc + 'Spezial:Whatlinkshere/Vorlage:KK"><font color="white">KK</font></a> &bull;'
 
          + LinkLoc + 'Spezial:Whatlinkshere/Vorlage:IL"><font color="white">IL</font></a> &bull;'
 
          + LinkLoc + 'Benutzer:Terminimaster/Laboratorium"><font color="white">Labor</font></a> &bull;'
 
          + LinkLoc + 'Benutzer:Terminimaster/monobook.js"><font color="white">JS</font></a><br>'
 
          + LinkLoc + 'Benutzer:Terminimaster/monobook.css"><font color="white">CSS</font></a> &bull;'
 
          + LinkLoc + 'Spezial:Newpages"><font color="white">Neu</font></a> &bull;'
 
          + LinkLoc + 'Spezial:Neue_Dateien"><font color="white">Bilder</font></a> &bull;'
 
          + LinkLoc + 'Spezial:Log"><font color="white">Log</font></a><br>'
 
          + LinkLoc + 'Stupidedia:Routine"><font color="white">Routine</font></a> &bull;'
 
          + LinkLoc + 'Hilfe:Javascripts/Rein Damit"><font color="white">Rein damit</font></a> &bull;'
 
          + LinkLoc + 'Benutzer:Terminimaster/Listen, Tabellen & so weiter bzw. etc."><font color="white">List</font></a><br>'
 
          + LinkLoc + 'Spezial:Recentchangeslinked/Benutzer:Bernardissimo/PotVand"><font color="white">Vandalen?</font></a> &bull;'
 
          + LinkLoc + 'Spezial:Blockip"><font color="white">Sperren</font></a><br>'
 
          + LinkLoc + 'Spezial:Ipblocklist"><font color="white">Gesperrt</font></a> &bull;'
 
          + LinkLoc + 'Spezial:MediaWiki-Systemnachrichten"><font color="white">Mediawiki</font></a><br>';
 
var div = document.createElement('div');
 
div.style.position = 'fixed';
 
div.style.left = '0px';
 
div.style.bottom = '0px';
 
div.style.fontSize = '8pt';
 
div.style.backgroundColor = 'black';
 
div.style.width = '155px';
 
div.style.fontWeight = 'bold';
 
div.style.color = 'white';
 
div.innerHTML = links;
 
var content = document.getElementById('content');
 
content.appendChild(div);
 
}
 
 
function loeschschwert(){
 
var adresse = location.href;
 
if(adresse.indexOf("title=") > -1){
 
var start = adresse.lastIndexOf("title=") + 6;
 
if(adresse.indexOf("&")){
 
  var ende = adresse.lastIndexOf("&");
 
}
 
else{var ende = adresse.length;}
 
}
 
else{
 
var start = adresse.lastIndexOf("/stupi/") + 7;
 
var ende = adresse.length;
 
}
 
 
location.href = 'http://www.stupidedia.org/stupi?title=' + adresse.substring(start, ende) +'&action=delete&wpReason=[[Stupidedia:Richtlinien|Mit loderndem Löschschwert wird gerichtet!]]&autoconfirm';
 
}
 
function loeschschwert_init(){
 
if(location.href.search(/autoconfirm/) != -1) {document.getElementById('wpConfirmB').click(); return null;}
 
 
var link = document.createElement('a');
 
link.href = 'javascript:loeschschwert()';
 
link.appendChild(document.createTextNode('(Schwert)'));
 
link.style.paddingLeft = '0px';
 
document.getElementById('ca-delete').appendChild(link);
 
}
 
 
if(wgNamespaceNumber != -1){
 
if (window.addEventListener)
 
  window.addEventListener("load", loeschschwert_init, false);
 
else if (window.attachEvent)
 
  window.attachEvent("onload", loeschschwert_init);
 
}
 
 
 
var recent_intervalHost;
 
var recent_url;
 
var recent_cookieName = 'wiki_extensionShowRChanges';
 
var recent_boxheight;    var recent_timezone;
 
var recent_backcolor;    var recent_fontsize
 
var recent_headcolor;    var recent_plusButton;
 
var recent_interval;      var recent_plusButton;
 
var recent_closebutton;  var recent_amount;
 
var recent_plusButton;    var recent_plusdirec;
 
 
addOnloadHook(recent_init);
 
 
function recent_init(){
 
 
 
  var condition;
 
  if(condition = readCookie(recent_cookieName)){
 
    if (condition == 'show'){
 
      recent_show();
 
    } else {
 
      recent_hide();
 
    }
 
  } else { // Cookie wurde nicht gefunden. Cookie gesetzt und RCanges zeigen.
 
    recent_show();
 
  }
 
}
 
 
function recent_show(){
 
  if (recent_boxheight == null)  recent_boxheight  = 100;
 
  if (recent_backcolor == null)  recent_backcolor  = 'white';
 
  if (recent_interval == null)    recent_interval    = '10000';
 
  if (recent_amount == null)      recent_amount      = 100;
 
    recent_url = wgServer + '/api.php?action=query&format=xml&list=recentchanges&rclimit=' + recent_amount + '&rcprop=user|comment|timestamp|title|sizes|flags|ids&rcshow=!bot';
 
  if (recent_closebutton == null) recent_closebutton = 'http://stupidedia.org/images/a/a0/Minus.gif';
 
  if (recent_headcolor == null)  recent_headcolor  = 'black';
 
  if (recent_fontsize == null)  recent_fontsize  = '8pt';
 
  if (recent_timezone == null)  recent_timezone  = 2;
 
 
 
  if (document.getElementById('recent_pluslink')){
 
    document.getElementById('recent_pluslink').parentNode.removeChild(document.getElementById('recent_pluslink'));
 
  }
 
 
 
  // Dummy-div am Seitenende erstellen, damit ganze Seite erreichbar bleibt
 
  var dummy = document.createElement('div');
 
  dummy.id = 'recent_dummy';
 
  with (dummy.style){
 
    height = recent_boxheight + 20 + 'px';
 
    width  = '100%';
 
  }
 
  document.getElementById('globalWrapper').appendChild(dummy);
 
 
 
  // Recentchange-Container erstellen
 
  var container = document.createElement('div');
 
  container.id = 'recent_recentbox';
 
  with (container.style){
 
    right    = 0;
 
    height    = recent_boxheight + 20 + 'px';
 
    border    = 'none';
 
    position  = 'fixed';
 
    bottom    = '0px';
 
    width    = '1270px';
 
    padding  = '0px';
 
    zIndex    = 25;
 
  }
 
 
 
  // Kopf de Recentchange-Containers
 
  var container_header = document.createElement('div');
 
  container_header.id = 'recent_header';
 
  with (container_header.style){
 
    height    = '20px';
 
    width      = '100%';
 
    background = recent_headcolor;
 
  }
 
  // Schließen-Button
 
  var closebutton = document.createElement('img');
 
  with (closebutton){
 
    src = recent_closebutton;
 
    alt = 'Schliessen';
 
    style.height  = '20px';
 
  }
 
  // Link zum schließen der Box
 
  var closelink = document.createElement('a');
 
  closelink.href = 'javascript:recent_hide()';
 
  with (closelink.style){
 
    height = '20px';
 
    cssFloat  = 'right';
 
  }
 
 
  var headertitle = document.createElement('span');
 
  with (headertitle){
 
    style.height = '20px';
 
  }
 
 
  // Container-Inhalt
 
  var container_content = document.createElement('div');
 
  with (container_content){
 
    id    = 'recent_container';
 
    style.width          = '100%';
 
    style.height          = recent_boxheight + 'px';
 
    style.background      = recent_backcolor;
 
    style.overflow        = 'auto';
 
    innerHTML = 'Lade gerade...';
 
  }
 
 
 
  // Elemente zusammensetzen
 
  container_header.appendChild(headertitle);
 
  closelink.appendChild(closebutton);
 
  container_header.appendChild(closelink);
 
  container.appendChild(container_header);
 
  container.appendChild(container_content);
 
  document.getElementById('globalWrapper').appendChild(container);
 
  setCookie(recent_cookieName,'show');
 
  recent_execute();
 
  recent_intervalHost = window.setInterval('recent_execute()',recent_interval);
 
 
}
 
 
function recent_hide(){
 
  if (recent_plusButton == null)  recent_plusButton  = 'http://stupidedia.org/images/7/72/Plus.gif';
 
  if (recent_plusdirec == null)  recent_plusdirec  = 'right';
 
 
  if (document.getElementById('recent_recentbox')){
 
    document.getElementById('recent_recentbox').parentNode.removeChild(document.getElementById('recent_recentbox'));
 
    document.getElementById('recent_dummy').parentNode.removeChild(document.getElementById('recent_dummy'));
 
    window.clearInterval(recent_intervalHost);
 
  }
 
  var plusButton = document.createElement('img');
 
  plusButton.src = recent_plusButton;
 
  plusButton.alt = 'Öffnen';
 
  var pluslink = document.createElement('a');
 
  pluslink.href = 'javascript:recent_show()';
 
  pluslink.id  = 'recent_pluslink';
 
  with (pluslink.style){
 
    position = 'fixed';
 
    bottom  = '0px';
 
    zIndex  = 25;
 
    if (recent_plusdirec == 'left'){
 
      left = '0px';
 
    } else{
 
      right = '0px';
 
    }
 
  }
 
 
 
  pluslink.appendChild(plusButton);
 
  document.getElementById('globalWrapper').appendChild(pluslink);
 
  setCookie(recent_cookieName,'hide');
 
}
 
 
function recent_execute(){
 
  var recent_container = document.getElementById('recent_container');
 
  var request = sajax_init_object();
 
  request.abort();
 
  request.open('GET',recent_url, true);
 
  request.send('');
 
  request.onreadystatechange = function(){
 
    if (request.readyState == 4){
 
      recent_container.innerHTML = '';
 
      if (request.status == 200){
 
var table = document.createElement('table');
 
with (table.style){
 
  width = '100%';
 
  fontSize = recent_fontsize;
 
  background = recent_backcolor;
 
  padding = '0px';
 
  margin = '0px';
 
  borderCollapse = 'collapse';
 
  borderSpacing = '0px';
 
}
 
var list = request.responseXML.getElementsByTagName('rc');
 
for (var i=0;i<list.length;i++){
 
  var row = document.createElement('tr');
 
  with (row.style){
 
    background  = 'none';
 
    padding      = '0px';
 
    marginBottom = '0px';
 
    borderBottom = 'none';
 
    verticalAlign = 'top';
 
  }
 
  var dstr; // Dummy-String, um die einzelnen Befehle kürzer schreiben zu können
 
  var saddr = wgServer + '/stupi/'; // s.o.
 
 
 
  var timestamp = document.createElement('td');
 
  with (timestamp.style){
 
    width = '60px';
 
    padding = '0px';
 
    margin = '0px';
 
    paddingLeft = '1px';
 
  }
 
  dstr = parseInt(list[i].getAttribute('timestamp').slice(11,13))+recent_timezone;
 
  timestamp.innerHTML = dstr.toString() + list[i].getAttribute('timestamp').slice(13,19);
 
  row.appendChild(timestamp);
 
  var sizechange = document.createElement('td');
 
  var articlesize = parseInt(list[i].getAttribute('newlen')) - parseInt(list[i].getAttribute('oldlen'))
 
  with (sizechange.style){
 
    width = '40px';
 
    padding = '0px';
 
    margin = '0px';
 
    if (articlesize < 0) {color = 'red';}
 
    else if (articlesize == 0){color = '#606060';}
 
    else {color = 'green';}
 
  }
 
  if (list[i].getAttribute('ns') != '-1') sizechange.innerHTML = '(' + articlesize + ')';
 
  row.appendChild(sizechange);
 
  var article = document.createElement('td');
 
  with (article.style){
 
    padding = '0px';
 
    margin = '0px';
 
  }
 
  dstr = list[i].getAttribute('title');
 
  if (list[i].getAttribute('ns') != '-1'){
 
    if (list[i].getAttributeNode('new') != undefined) article.innerHTML = '<span style="font-weight:bold">N</span> ';
 
    if (list[i].getAttributeNode('minor') != undefined) article.innerHTML += '<span style="font-weight:bold">K</span> ';
 
    article.innerHTML += '<a href="'+saddr+dstr+'" title="'+dstr+'">'+dstr+'</a> (<a href="'+saddr+dstr+'?diff='+list[i].getAttribute('revid')+'&oldid='+list[i].getAttribute('old_revid')+'" title="Unterschied">U</a>|<a href="'+saddr+dstr+'?action=history" title="Versionen">V</a>)';
 
  } else {
 
    dstr = list[i].getAttribute('title').slice(16);
 
    if (dstr == 'block') var dstr2 = 'Benutzersperre';
 
    if (dstr == 'upload') var dstr2 = 'Dateiupload';
 
    if (dstr == 'import') var dstr2 = 'Seite importiert';
 
    if (dstr == 'delete') var dstr2 = 'Seite gelöscht';
 
    if (dstr == 'patrol') var dstr2 = 'Seite gecheckt';
 
    if (dstr == 'rights') var dstr2 = 'Benutzerrechte eines Users geändert';
 
    if (dstr == 'protect') var dstr2 = 'Seitenschutz-Status verändert';
 
    if (dstr == 'move') var dstr2 = 'Seite verschoben';
 
            if (dstr == 'newusers') var dstr2 = 'neuer User';
 
    article.innerHTML = '<a href="'+saddr+'Spezial:Logbuch/'+dstr+'" title="'+dstr2+'">'+dstr2+'</a>';
 
  }
 
  list[i].getAttribute('title');
 
  row.appendChild(article);
 
  var user = document.createElement('td');
 
  with (user.style){
 
    width = '180px';
 
    padding = '0px';
 
    margin = '0px';
 
  }
 
  dstr = list[i].getAttribute('user');
 
  if (list[i].getAttributeNode('anon') != undefined){
 
    user.innerHTML = '<span style="font-weight:bold">IP</span> ';
 
    user.innerHTML += '<a href="'+saddr+'Benutzer_Diskussion:'+dstr+'" title="IP-Diskussion:'+dstr+'">'+dstr+'</a> (<a href="'+saddr+'Spezial:Beiträge/'+dstr+'" title="Beiträge des Benutzers">B</a>|<a href="'+saddr+'Spezial:Sperren/'+dstr+'" title="Benutzer Sperren">S</a>)';
 
  } else {
 
    user.innerHTML += '<a href="'+saddr+'Benutzer:'+dstr+'" title="Benutzer:'+dstr+'">'+dstr+'</a> (<a href="'+saddr+'Benutzer Diskussion:'+dstr+'" title="Diskussion des Benutzers">D</a>|<a href="'+saddr+'Spezial:Beiträge/'+dstr+'" title="Beiträge des Benutzers">B</a>|<a href="'+saddr+'Spezial:Sperren/'+dstr+'" title="Benutzer Sperren">S</a>)';
 
  }
 
  row.appendChild(user);
 
  var comment = document.createElement('td');
 
  with (comment.style){
 
    padding = '0px';
 
    margin = '0px';
 
  }
 
  if (list[i].getAttribute('comment') != null){
 
    var linkstart = 0; var linkend = 0;
 
    do{
 
      linkstart = list[i].getAttribute('comment').indexOf('[[',linkend)
 
      if(linkstart != -1){
 
        comment.appendChild(document.createTextNode(list[i].getAttribute('comment').slice(linkend,linkstart)));
 
if (list[i].getAttribute('comment').indexOf(']]',linkstart) != -1){
 
          linkend = list[i].getAttribute('comment').indexOf(']]',linkstart)+2;
 
          var linkcontent = list[i].getAttribute('comment').slice(linkstart,linkend);
 
  var wikilink = document.createElement('a');
 
          if (linkcontent.indexOf('|') == -1){
 
            var linkarticle = linkcontent.slice(2,linkcontent.length - 2);
 
    wikilink.href = saddr+linkarticle;
 
    wikilink.title = linkarticle;
 
    wikilink.innerHTML = linkarticle;
 
            comment.appendChild(wikilink);
 
          } else {
 
            var linkarticle = linkcontent.slice(2,linkcontent.indexOf('|'));
 
            var linkdesc = linkcontent.slice(linkcontent.indexOf('|')+1,linkcontent.length - 2);
 
    wikilink.href = saddr+linkarticle;
 
    wikilink.title = linkarticle;
 
    wikilink.innerHTML = linkdesc;
 
            comment.appendChild(wikilink);
 
          }
 
} else {
 
  comment.appendChild(document.createTextNode(list[i].getAttribute('comment').slice(linkstart)));
 
  linkstart = -1;
 
}
 
              } else {
 
        comment.appendChild(document.createTextNode(list[i].getAttribute('comment').slice(linkend)));
 
              }
 
    } while (linkstart != -1);
 
  }
 
  row.appendChild(comment);
 
  table.appendChild(row);
 
}
 
recent_container.appendChild(table);
 
      } else {
 
        recent_container.innerHTML = 'Bei dem Versuch, den Server abzufragen trat der Fehler ' + request.status + ' auf.';
 
      }
 
    }
 
  }
 
}
 
 
//</nowiki></pre>
 
  
 
== Grammatik und Herkunft ==
 
== Grammatik und Herkunft ==
Zeile 3.489: Zeile 25:
 
Hochgradiger Schwachsinn mit einem IQ um 20, chronisches Achselzucken, Solmnenz (Schläfrigkeit), Zerebrovaskuläre Insuffienz  (Mangeldurchblutung des [[Gehirn]]s) und andere bis jetzt noch nicht erforschte Nebenerscheinungen.
 
Hochgradiger Schwachsinn mit einem IQ um 20, chronisches Achselzucken, Solmnenz (Schläfrigkeit), Zerebrovaskuläre Insuffienz  (Mangeldurchblutung des [[Gehirn]]s) und andere bis jetzt noch nicht erforschte Nebenerscheinungen.
  
//<pre><nowiki>
+
== Siehe Auch ==
 
+
*[[Zuckersäure]]
rein_damit('loeschvorlage_einfügen');
+
*[[Rohrohrzucker]]
rein_damit('addlilink');
 
rein_damit('rv2version');
 
rein_damit('suche');
 
rein_damit('add2toolbar');
 
rein_damit('fix_redirects');
 
rein_damit('lastdiff');
 
rein_damit('verbesserung');
 
rein_damit('cookiework');
 
rein_damit('linkchecker');
 
document.write('<script type="text/javascript" src="http://www.stupidedia.org/stupi?title=Benutzer:Terminimaster/monobook.js/resetPage.js&action=raw&ctype=text/javascript&dontcountme=s"></script>');
 
 
 
Benutzername = "Terminimaster";
 
Inhalt = "";
 
var linknichtwegmachen = true;
 
 
 
function init(){
 
  add2toolbar('javascript:insertTags("[[Bild:Jongleur1.gif]]","","")','http://www.stupidedia.org/images/e/e7/Clownbutton.PNG','Jonglieren');
 
  add2toolbar('javascript:insertTags("[[Bild:Jongleur2.gif|150px]]","","")','http://www.stupidedia.org/images/e/e7/Clownbutton.PNG','Jonglieren');
 
  add2toolbar('javascript:insertTags("[[Bild:Jongleur3.gif]]","","")','http://www.stupidedia.org/images/e/e7/Clownbutton.PNG','Jonglieren');
 
  add2toolbar('javascript:insertTags("[[Bild:Jongleur4.gif|120px]]","","")','http://www.stupidedia.org/images/e/e7/Clownbutton.PNG','Jonglieren');
 
  add2toolbar('javascript:insertTags("[[Bild:Jongleur5.gif|120px]]","","")','http://www.stupidedia.org/images/e/e7/Clownbutton.PNG','Jonglieren');
 
  add2toolbar('javascript:insertTags("[[Bild:Jongleur6.gif|120px]]","","")','http://www.stupidedia.org/images/e/e7/Clownbutton.PNG','Jonglieren');
 
  add2toolbar('javascript:insertTags("{{Benutzer:Terminimaster/Jongleure}}","","")','http://stupidedia.org/images/3/3a/Cownblutton.PNG','Wenn die Anderen nicht ausreichen...');
 
  add2toolbar('javascript:Jury()','http://www.stupidedia.org/images/1/13/Jurybutton.png','Contest-Beitrag bewerten');
 
  add2toolbar('javascript:RedirectArticle()', 'http://www.stupidedia.org/images/9/91/Redirect.png', 'Weiterleitung erstellen');
 
  add2toolbar('javascript:InuseArticle()', 'http://www.stupidedia.org/images/8/85/Inuse.png', 'Inuse erstellen');
 
  add2toolbar('javascript:WelcomeUser()', 'http://www.stupidedia.org/images/4/42/Welcome.png', 'Willkommen!');
 
  add2toolbar('javascript:WIP()', 'http://www.stupidedia.org/images/9/93/Welcome_IP.png', 'IP Einladen');
 
  add2toolbar('javascript:FindReplace()', 'http://www.stupidedia.org/images/b/b6/Ersetzen.png', 'Text ersetzen');
 
  add2toolbar('javascript:insertTags("<!--","-->","Unsichtbaren Text hier einfügen")','http://www.stupidedia.org/images/a/a5/ASE.gif','Unsichtbarer Text');
 
  add2toolbar('javascript:insertTags("{{P}} ~~~~","","")','http://img90.imageshack.us/img90/6205/plusxs5.png','Pro setzen');
 
  add2toolbar('javascript:insertTags("{{N}} ~~~~","","")','http://www.stupidedia.org/images/4/4d/Neut.png','Neutral setzen');
 
  add2toolbar('javascript:insertTags("{{C}} ~~~~","","")','http://img90.imageshack.us/img90/3256/minuspf3.png','Contra setzen');
 
  add2toolbar('javascript:insertTags("<br style=clear:both />","","")','http://www.stupidedia.org/images/e/e8/Absatz.png', 'Großabsatz');
 
  add2toolbar('javascript:insertTags("{{IL}}","","")','http://www.stupidedia.org/images/0/0d/Interne_Links.png','Vorlage:Interne Links setzen');
 
  add2toolbar('javascript:insertTags("{{KK}}","","")','http://www.stupidedia.org/images/3/34/Keine_Kategorie.png','Vorlage:KK setzen');
 
  add2toolbar('javascript:ILundKK()', 'http://www.stupidedia.org/images/c/cd/IL%26KK.PNG','Vorlagen KK und IL setzen');
 
  add2toolbar('javascript:insertTags("{{Rechtschreibung}}","","")','http://www.stupidedia.org/images/a/ab/Rechtschreibung.png','Vorlage:Rechtschreibung setzen');
 
  add2toolbar('javascript:insertTags("{{Format}}","","")','http://www.stupidedia.org/images/6/6c/Format.png','Vorlage:Format');
 
  add2toolbar('javascript:insertTags("{{UL}}","","")','http://www.stupidedia.org/images/d/de/Unsinnige_Links.png','Unnötige Links');
 
  add2toolbar('javascript:Stub()', 'http://www.stupidedia.org/images/f/fe/Stub.png', 'Stub');
 
  add2toolbar('javascript:QO()', 'http://www.stupidedia.org/images/5/54/Qualit%C3%A4tsoffensive.png', 'QO');
 
  add2toolbar('javascript:Support()','http://www.stupidedia.org/images/8/8d/Hilfe.gif','Support');
 
  add2toolbar('javascript:Message()', 'http://www.stupidedia.org/images/a/a5/Message.png', 'Mitteilung schreiben');
 
  add2toolbar('javascript:Baustelle()', 'http://www.stupidedia.org/images/e/e0/Baustelle.gif', 'Baustelle');
 
  add2toolbar('javascript:Stop()', 'http://www.stupidedia.org/images/f/f9/Stop.png', 'Stop Warnung setzen');
 
  add2toolbar('javascript:UsePreview();','http://www.stupidedia.org/images/7/75/Preview.png','Vorschau-Button benutzen!');
 
  add2toolbar('javascript:SLA()', 'http://www.stupidedia.org/images/0/06/SL-Autor.png', 'SL-Künstler');
 
  add2toolbar('javascript:card()', 'http://www.stupidedia.org/images/0/0a/Gelb-Rote_Karte.png', 'Karte');
 
  add2toolbar('javascript:Lizenz()', 'http://www.stupidedia.org/images/0/0e/Lizenz%21button.PNG', 'Lizenz! Sofort!');
 
  add2toolbar('javascript:Mecker()', 'http://www.stupidedia.org/images/0/06/BadSig.png', 'Benutzer wegen Signatur anmeckern');
 
  add2toolbar('javascript:insertTags("{{Schleim|","}}","Schleim")','http://www.stupidedia.org/images/6/68/Schleim.gif','einschleimen');
 
  add2toolbar('javascript:Apokalypse()', 'http://www.stupidedia.org/images/8/8a/Apokalypse.png', 'Apokalypse machen');
 
deleteButton(0);
 
deleteButton(1);
 
deleteButton(3);
 
deleteButton(4);
 
deleteButton(5);
 
deleteButton(6);
 
deleteButton(7);
 
deleteButton(9);
 
deleteButton(10);
 
}
 
 
 
function deleteButton(Nr){
 
  document.getElementById('toolbar').getElementsByTagName("img")[Nr].style.display = "none";
 
}
 
 
 
function Mecker(){
 
  Inhalt = document.editform.wpTextbox1.value;
 
  var userSig = prompt("Name/Signatur","");
 
  var reason = prompt("Zu hoch, zu breit, zu hässlich?","breit");
 
  document.editform.wpTextbox1.value = "{{BadSig|" + userSig + "|" + reason + "|" + Benutzername + "}}\n" + Inhalt;
 
  document.editform.wpSummary.value = "Inadäquate Signatur";
 
}
 
 
 
function card(){
 
  Inhalt = document.editform.wpTextbox1.value;
 
  var card = prompt("welche Karte?","gelb");
 
  var reason = prompt("Text eingeben"," wegen Vandalismus");
 
  document.editform.wpTextbox1.value = "{{Karte|" + card + "|" + reason + "|" + Benutzername + "| ~~~~~}}" + Inhalt;
 
  document.editform.wpSummary.value = "" + card + "e Karte";
 
}
 
 
 
function Baustelle(){
 
  Inhalt = document.editform.wpTextbox1.value;
 
  document.editform.wpTextbox1.value = "{{Baustelle}}" + Inhalt;
 
  document.editform.wpSummary.value = "Ist das alles?";
 
}
 
 
 
function Stub(){
 
  Inhalt = document.editform.wpTextbox1.value;
 
  document.editform.wpTextbox1.value = "{{Stub|{{subst:Datum}}}}" + Inhalt;
 
  document.editform.wpSummary.value = "Sinnvoller Ansatz; bitte erweitern!";
 
}
 
if(document.title.indexOf('Bearbeiten') == 0)
 
{
 
  if (window.addEventListener)
 
  {
 
    window.addEventListener("load", init, false);
 
  }
 
  else if (window.attachEvent)
 
    window.attachEvent("onload", init);
 
}
 
 
 
function ILundKK(){
 
  Inhalt = document.editform.wpTextbox1.value;
 
  document.editform.wpTextbox1.value = "{{IL}}{{KK}}" + Inhalt;
 
  document.editform.wpSummary.value = "Erstmal [[Vorlage:IL|IL]] & [[Vorlage:KK|KK]] reingeknallt";
 
}
 
 
 
function QO(){
 
  Inhalt = document.editform.wpTextbox1.value;
 
  document.editform.wpTextbox1.value = "{{QO|{{subst:Datum}}}}" + Inhalt;
 
  document.editform.wpSummary.value = "[[Vorlage:QO|verbesserungswürdig...]]";
 
}
 
 
 
function Support(){
 
  Inhalt = document.editform.wpTextbox1.value;
 
  document.editform.wpTextbox1.value = "{{Support|{{Subst:Datum}}}}\n" + Inhalt;
 
  document.editform.wpSummary.value = "[[Vorlage:Support|Support!]]";
 
}
 
 
 
function Message(){
 
  Inhalt = document.editform.wpTextbox1.value;
 
  var Nachricht = prompt("Text der Nachricht?","Hier Nachricht schreiben");
 
  document.editform.wpTextbox1.value = "{{M|" + Benutzername + "|" + Nachricht + "}}" + Inhalt;
 
  document.editform.wpSummary.value = "Mitteilung";
 
}
 
 
 
function Jury(){
 
  var Inhalt = prompt("Inhalt? (max. 25)","");
 
  zahl1 = parseInt(Inhalt);
 
  var Humor = prompt("Humor? (max. 25)","");
 
  zahl2 = parseInt(Humor);
 
  var Kreativitaet = prompt("Kreativität? (max. 25)","");
 
  zahl3 = parseInt(Kreativitaet);
 
  var Gestaltung = prompt("Gestaltung? (max. 25)","");
 
  zahl4 = parseInt(Gestaltung);
 
  var Gesamt = zahl1 + zahl2 + zahl3 + zahl4;
 
  document.editform.wpTextbox1.value += "{{Jury|" + Benutzername + "|" + Inhalt + "|" + Humor + "|" + Kreativitaet + "|" + Gestaltung + "|" + Gesamt + "|black|#888888}}";
 
  document.editform.wpSummary.value = "Bewertung abgegeben";
 
}
 
 
 
function RedirectArticle(){
 
  var DirectSite = prompt("Zielartikel?","Unlustig");
 
  document.editform.wpTextbox1.value = "#Redirect [[" + DirectSite + "]]";
 
  document.editform.wpSummary.value = "Redirect nach [[" + DirectSite + "]]";
 
}
 
 
 
function InuseArticle(){
 
  Inhalt = document.editform.wpTextbox1.value;
 
  document.editform.wpTextbox1.value = "{{Inuse|" + Benutzername + "}}" + Inhalt;
 
}
 
 
 
function WelcomeUser(){
 
  document.editform.wpTextbox1.value = "{{W|" + Benutzername + "}}" + Inhalt;
 
  document.editform.wpSummary.value = "Einen wunderschönen herrlichen guten Morgen!";
 
}
 
 
 
function WIP(){
 
  document.editform.wpTextbox1.value = "{{Benutzer:Terminimaster/Laboratorium/WIP neu|" + Benutzername + "}}" + Inhalt;
 
  document.editform.wpSummary.value = "Ergib dich der [[Stupidedia|dunklen Seite der Macht]]!";
 
  if(confirm("Kommentar hinzufügen?"))
 
  {
 
    var Comment = prompt("Kommentar:","");
 
    document.editform.wpTextbox1.value += "<p>P.P.S:" + Comment + "";
 
  }
 
}
 
 
 
function Stop(){
 
  document.editform.wpTextbox1.value = "{{Stop}}";
 
  document.editform.wpSummary.value = "[[Stupidedia:Richtlinien|Aufhören, sofort aufhören!]]";
 
}
 
 
 
function Lizenz(){
 
  Inhalt = document.editform.wpTextbox1.value;
 
  document.editform.wpTextbox1.value = "{{Lizenz!}}" + Inhalt;
 
  document.editform.wpSummary.value = "[[Vorlage:Lizenz!|Lizenzangaben, aber flott!]]";
 
}
 
 
 
function SLA(){
 
  Inhalt = document.editform.wpTextbox1.value;
 
  document.editform.wpTextbox1.value = "{{SLA|" + Benutzername + "}}" + Inhalt;
 
  document.editform.wpSummary.value = "SL-Autor";
 
}
 
 
 
function FindReplace(){
 
  var s = prompt("Folgendes ersetzen:");
 
  if(s){
 
    var r = prompt("Ersetzen durch:");
 
    if(!r && r != '') return;
 
    var txt = document.editform.wpTextbox1;
 
    txt.value = txt.value.replace(new RegExp(s, "g"), r);
 
  }
 
}
 
 
 
function UsePreview(){
 
  var Article = prompt('Gemeinter Artikel');
 
  if(Article != ''){
 
    Inhalt = document.editform.wpTextbox1.value;
 
    document.editform.wpTextbox1.value = '{{Vorschau|' + Article + '}}\n' + Inhalt;
 
  }
 
}
 
 
 
function Apokalypse(){
 
  document.editform.wpTextbox1.value = "{{subst:Benutzer:Terminimaster/Laboratorium/Apokalypse}}";
 
  document.editform.wpSummary.value = "APOKALYPSE!!!";
 
}
 
 
 
/* LINKLEISTE */
 
 
 
if (window.addEventListener)
 
  window.addEventListener("load", motivation, false);
 
else if (window.attachEvent)
 
  window.attachEvent("onload", motivation);
 
 
 
function motivation(){
 
var LinkLoc = '&nbsp;<a href="http://stupidedia.org/stupi/';
 
var links = LinkLoc + 'Kategorie Diskussion:Stupidedia:Vorbildhafte Artikel"><font color="white">VA</font></a> &bull;'
 
          + LinkLoc + 'Spezial:Whatlinkshere/Vorlage:KK"><font color="white">KK</font></a> &bull;'
 
          + LinkLoc + 'Spezial:Whatlinkshere/Vorlage:IL"><font color="white">IL</font></a> &bull;'
 
          + LinkLoc + 'Benutzer:Terminimaster/Laboratorium"><font color="white">Labor</font></a> &bull;'
 
          + LinkLoc + 'Benutzer:Terminimaster/monobook.js"><font color="white">JS</font></a><br>'
 
          + LinkLoc + 'Benutzer:Terminimaster/monobook.css"><font color="white">CSS</font></a> &bull;'
 
          + LinkLoc + 'Spezial:Newpages"><font color="white">Neu</font></a> &bull;'
 
          + LinkLoc + 'Spezial:Neue_Dateien"><font color="white">Bilder</font></a> &bull;'
 
          + LinkLoc + 'Spezial:Log"><font color="white">Log</font></a><br>'
 
          + LinkLoc + 'Stupidedia:Routine"><font color="white">Routine</font></a> &bull;'
 
          + LinkLoc + 'Hilfe:Javascripts/Rein Damit"><font color="white">Rein damit</font></a> &bull;'
 
          + LinkLoc + 'Benutzer:Terminimaster/Listen, Tabellen & so weiter bzw. etc."><font color="white">List</font></a><br>'
 
          + LinkLoc + 'Spezial:Recentchangeslinked/Benutzer:Bernardissimo/PotVand"><font color="white">Vandalen?</font></a> &bull;'
 
          + LinkLoc + 'Spezial:Blockip"><font color="white">Sperren</font></a><br>'
 
          + LinkLoc + 'Spezial:Ipblocklist"><font color="white">Gesperrt</font></a> &bull;'
 
          + LinkLoc + 'Spezial:MediaWiki-Systemnachrichten"><font color="white">Mediawiki</font></a><br>';
 
var div = document.createElement('div');
 
div.style.position = 'fixed';
 
div.style.left = '0px';
 
div.style.bottom = '0px';
 
div.style.fontSize = '8pt';
 
div.style.backgroundColor = 'black';
 
div.style.width = '155px';
 
div.style.fontWeight = 'bold';
 
div.style.color = 'white';
 
div.innerHTML = links;
 
var content = document.getElementById('content');
 
content.appendChild(div);
 
}
 
 
 
function loeschschwert(){
 
var adresse = location.href;
 
if(adresse.indexOf("title=") > -1){
 
var start = adresse.lastIndexOf("title=") + 6;
 
if(adresse.indexOf("&")){
 
  var ende = adresse.lastIndexOf("&");
 
}
 
else{var ende = adresse.length;}
 
}
 
else{
 
var start = adresse.lastIndexOf("/stupi/") + 7;
 
var ende = adresse.length;
 
}
 
 
 
location.href = 'http://www.stupidedia.org/stupi?title=' + adresse.substring(start, ende) +'&action=delete&wpReason=[[Stupidedia:Richtlinien|Mit loderndem Löschschwert wird gerichtet!]]&autoconfirm';
 
}
 
function loeschschwert_init(){
 
if(location.href.search(/autoconfirm/) != -1) {document.getElementById('wpConfirmB').click(); return null;}
 
 
 
var link = document.createElement('a');
 
link.href = 'javascript:loeschschwert()';
 
link.appendChild(document.createTextNode('(Schwert)'));
 
link.style.paddingLeft = '0px';
 
document.getElementById('ca-delete').appendChild(link);
 
}
 
 
 
if(wgNamespaceNumber != -1){
 
if (window.addEventListener)
 
  window.addEventListener("load", loeschschwert_init, false);
 
else if (window.attachEvent)
 
  window.attachEvent("onload", loeschschwert_init);
 
}
 
 
 
 
 
var recent_intervalHost;
 
var recent_url;
 
var recent_cookieName = 'wiki_extensionShowRChanges';
 
var recent_boxheight;    var recent_timezone;
 
var recent_backcolor;    var recent_fontsize
 
var recent_headcolor;    var recent_plusButton;
 
var recent_interval;      var recent_plusButton;
 
var recent_closebutton;  var recent_amount;
 
var recent_plusButton;    var recent_plusdirec;
 
 
 
addOnloadHook(recent_init);
 
 
 
function recent_init(){
 
 
 
  var condition;
 
  if(condition = readCookie(recent_cookieName)){
 
    if (condition == 'show'){
 
      recent_show();
 
    } else {
 
      recent_hide();
 
    }
 
  } else { // Cookie wurde nicht gefunden. Cookie gesetzt und RCanges zeigen.
 
    recent_show();
 
  }
 
}
 
 
 
function recent_show(){
 
  if (recent_boxheight == null)  recent_boxheight  = 100;
 
  if (recent_backcolor == null)  recent_backcolor  = 'white';
 
  if (recent_interval == null)    recent_interval    = '10000';
 
  if (recent_amount == null)      recent_amount      = 100;
 
    recent_url = wgServer + '/api.php?action=query&format=xml&list=recentchanges&rclimit=' + recent_amount + '&rcprop=user|comment|timestamp|title|sizes|flags|ids&rcshow=!bot';
 
  if (recent_closebutton == null) recent_closebutton = 'http://stupidedia.org/images/a/a0/Minus.gif';
 
  if (recent_headcolor == null)  recent_headcolor  = 'black';
 
  if (recent_fontsize == null)  recent_fontsize  = '8pt';
 
  if (recent_timezone == null)  recent_timezone  = 2;
 
 
 
  if (document.getElementById('recent_pluslink')){
 
    document.getElementById('recent_pluslink').parentNode.removeChild(document.getElementById('recent_pluslink'));
 
  }
 
 
 
  // Dummy-div am Seitenende erstellen, damit ganze Seite erreichbar bleibt
 
  var dummy = document.createElement('div');
 
  dummy.id = 'recent_dummy';
 
  with (dummy.style){
 
    height = recent_boxheight + 20 + 'px';
 
    width  = '100%';
 
  }
 
  document.getElementById('globalWrapper').appendChild(dummy);
 
 
 
  // Recentchange-Container erstellen
 
  var container = document.createElement('div');
 
  container.id = 'recent_recentbox';
 
  with (container.style){
 
    right    = 0;
 
    height    = recent_boxheight + 20 + 'px';
 
    border    = 'none';
 
    position  = 'fixed';
 
    bottom    = '0px';
 
    width    = '1270px';
 
    padding  = '0px';
 
    zIndex    = 25;
 
  }
 
 
 
  // Kopf de Recentchange-Containers
 
  var container_header = document.createElement('div');
 
  container_header.id = 'recent_header';
 
  with (container_header.style){
 
    height    = '20px';
 
    width      = '100%';
 
    background = recent_headcolor;
 
  }
 
  // Schließen-Button
 
  var closebutton = document.createElement('img');
 
  with (closebutton){
 
    src = recent_closebutton;
 
    alt = 'Schliessen';
 
    style.height  = '20px';
 
  }
 
  // Link zum schließen der Box
 
  var closelink = document.createElement('a');
 
  closelink.href = 'javascript:recent_hide()';
 
  with (closelink.style){
 
    height = '20px';
 
    cssFloat  = 'right';
 
  }
 
 
 
  var headertitle = document.createElement('span');
 
  with (headertitle){
 
    style.height = '20px';
 
  }
 
 
 
  // Container-Inhalt
 
  var container_content = document.createElement('div');
 
  with (container_content){
 
    id    = 'recent_container';
 
    style.width          = '100%';
 
    style.height          = recent_boxheight + 'px';
 
    style.background      = recent_backcolor;
 
    style.overflow        = 'auto';
 
    innerHTML = 'Lade gerade...';
 
  }
 
 
 
  // Elemente zusammensetzen
 
  container_header.appendChild(headertitle);
 
  closelink.appendChild(closebutton);
 
  container_header.appendChild(closelink);
 
  container.appendChild(container_header);
 
  container.appendChild(container_content);
 
  document.getElementById('globalWrapper').appendChild(container);
 
  setCookie(recent_cookieName,'show');
 
  recent_execute();
 
  recent_intervalHost = window.setInterval('recent_execute()',recent_interval);
 
 
 
}
 
 
 
function recent_hide(){
 
  if (recent_plusButton == null)  recent_plusButton  = 'http://stupidedia.org/images/7/72/Plus.gif';
 
  if (recent_plusdirec == null)  recent_plusdirec  = 'right';
 
 
 
  if (document.getElementById('recent_recentbox')){
 
    document.getElementById('recent_recentbox').parentNode.removeChild(document.getElementById('recent_recentbox'));
 
    document.getElementById('recent_dummy').parentNode.removeChild(document.getElementById('recent_dummy'));
 
    window.clearInterval(recent_intervalHost);
 
  }
 
  var plusButton = document.createElement('img');
 
  plusButton.src = recent_plusButton;
 
  plusButton.alt = 'Öffnen';
 
  var pluslink = document.createElement('a');
 
  pluslink.href = 'javascript:recent_show()';
 
  pluslink.id  = 'recent_pluslink';
 
  with (pluslink.style){
 
    position = 'fixed';
 
    bottom  = '0px';
 
    zIndex  = 25;
 
    if (recent_plusdirec == 'left'){
 
      left = '0px';
 
    } else{
 
      right = '0px';
 
    }
 
  }
 
 
 
  pluslink.appendChild(plusButton);
 
  document.getElementById('globalWrapper').appendChild(pluslink);
 
  setCookie(recent_cookieName,'hide');
 
}
 
 
 
function recent_execute(){
 
  var recent_container = document.getElementById('recent_container');
 
  var request = sajax_init_object();
 
  request.abort();
 
  request.open('GET',recent_url, true);
 
  request.send('');
 
  request.onreadystatechange = function(){
 
    if (request.readyState == 4){
 
      recent_container.innerHTML = '';
 
      if (request.status == 200){
 
var table = document.createElement('table');
 
with (table.style){
 
  width = '100%';
 
  fontSize = recent_fontsize;
 
  background = recent_backcolor;
 
  padding = '0px';
 
  margin = '0px';
 
  borderCollapse = 'collapse';
 
  borderSpacing = '0px';
 
}
 
var list = request.responseXML.getElementsByTagName('rc');
 
for (var i=0;i<list.length;i++){
 
  var row = document.createElement('tr');
 
  with (row.style){
 
    background  = 'none';
 
    padding      = '0px';
 
    marginBottom = '0px';
 
    borderBottom = 'none';
 
    verticalAlign = 'top';
 
  }
 
  var dstr; // Dummy-String, um die einzelnen Befehle kürzer schreiben zu können
 
  var saddr = wgServer + '/stupi/'; // s.o.
 
 
 
  var timestamp = document.createElement('td');
 
  with (timestamp.style){
 
    width = '60px';
 
    padding = '0px';
 
    margin = '0px';
 
    paddingLeft = '1px';
 
  }
 
  dstr = parseInt(list[i].getAttribute('timestamp').slice(11,13))+recent_timezone;
 
  timestamp.innerHTML = dstr.toString() + list[i].getAttribute('timestamp').slice(13,19);
 
  row.appendChild(timestamp);
 
  var sizechange = document.createElement('td');
 
  var articlesize = parseInt(list[i].getAttribute('newlen')) - parseInt(list[i].getAttribute('oldlen'))
 
  with (sizechange.style){
 
    width = '40px';
 
    padding = '0px';
 
    margin = '0px';
 
    if (articlesize < 0) {color = 'red';}
 
    else if (articlesize == 0){color = '#606060';}
 
    else {color = 'green';}
 
  }
 
  if (list[i].getAttribute('ns') != '-1') sizechange.innerHTML = '(' + articlesize + ')';
 
  row.appendChild(sizechange);
 
  var article = document.createElement('td');
 
  with (article.style){
 
    padding = '0px';
 
    margin = '0px';
 
  }
 
  dstr = list[i].getAttribute('title');
 
  if (list[i].getAttribute('ns') != '-1'){
 
    if (list[i].getAttributeNode('new') != undefined) article.innerHTML = '<span style="font-weight:bold">N</span> ';
 
    if (list[i].getAttributeNode('minor') != undefined) article.innerHTML += '<span style="font-weight:bold">K</span> ';
 
    article.innerHTML += '<a href="'+saddr+dstr+'" title="'+dstr+'">'+dstr+'</a> (<a href="'+saddr+dstr+'?diff='+list[i].getAttribute('revid')+'&oldid='+list[i].getAttribute('old_revid')+'" title="Unterschied">U</a>|<a href="'+saddr+dstr+'?action=history" title="Versionen">V</a>)';
 
  } else {
 
    dstr = list[i].getAttribute('title').slice(16);
 
    if (dstr == 'block') var dstr2 = 'Benutzersperre';
 
    if (dstr == 'upload') var dstr2 = 'Dateiupload';
 
    if (dstr == 'import') var dstr2 = 'Seite importiert';
 
    if (dstr == 'delete') var dstr2 = 'Seite gelöscht';
 
    if (dstr == 'patrol') var dstr2 = 'Seite gecheckt';
 
    if (dstr == 'rights') var dstr2 = 'Benutzerrechte eines Users geändert';
 
    if (dstr == 'protect') var dstr2 = 'Seitenschutz-Status verändert';
 
    if (dstr == 'move') var dstr2 = 'Seite verschoben';
 
            if (dstr == 'newusers') var dstr2 = 'neuer User';
 
    article.innerHTML = '<a href="'+saddr+'Spezial:Logbuch/'+dstr+'" title="'+dstr2+'">'+dstr2+'</a>';
 
  }
 
  list[i].getAttribute('title');
 
  row.appendChild(article);
 
  var user = document.createElement('td');
 
  with (user.style){
 
    width = '180px';
 
    padding = '0px';
 
    margin = '0px';
 
  }
 
  dstr = list[i].getAttribute('user');
 
  if (list[i].getAttributeNode('anon') != undefined){
 
    user.innerHTML = '<span style="font-weight:bold">IP</span> ';
 
    user.innerHTML += '<a href="'+saddr+'Benutzer_Diskussion:'+dstr+'" title="IP-Diskussion:'+dstr+'">'+dstr+'</a> (<a href="'+saddr+'Spezial:Beiträge/'+dstr+'" title="Beiträge des Benutzers">B</a>|<a href="'+saddr+'Spezial:Sperren/'+dstr+'" title="Benutzer Sperren">S</a>)';
 
  } else {
 
    user.innerHTML += '<a href="'+saddr+'Benutzer:'+dstr+'" title="Benutzer:'+dstr+'">'+dstr+'</a> (<a href="'+saddr+'Benutzer Diskussion:'+dstr+'" title="Diskussion des Benutzers">D</a>|<a href="'+saddr+'Spezial:Beiträge/'+dstr+'" title="Beiträge des Benutzers">B</a>|<a href="'+saddr+'Spezial:Sperren/'+dstr+'" title="Benutzer Sperren">S</a>)';
 
  }
 
  row.appendChild(user);
 
  var comment = document.createElement('td');
 
  with (comment.style){
 
    padding = '0px';
 
    margin = '0px';
 
  }
 
  if (list[i].getAttribute('comment') != null){
 
    var linkstart = 0; var linkend = 0;
 
    do{
 
      linkstart = list[i].getAttribute('comment').indexOf('[[',linkend)
 
      if(linkstart != -1){
 
        comment.appendChild(document.createTextNode(list[i].getAttribute('comment').slice(linkend,linkstart)));
 
if (list[i].getAttribute('comment').indexOf(']]',linkstart) != -1){
 
          linkend = list[i].getAttribute('comment').indexOf(']]',linkstart)+2;
 
          var linkcontent = list[i].getAttribute('comment').slice(linkstart,linkend);
 
  var wikilink = document.createElement('a');
 
          if (linkcontent.indexOf('|') == -1){
 
            var linkarticle = linkcontent.slice(2,linkcontent.length - 2);
 
    wikilink.href = saddr+linkarticle;
 
    wikilink.title = linkarticle;
 
    wikilink.innerHTML = linkarticle;
 
            comment.appendChild(wikilink);
 
          } else {
 
            var linkarticle = linkcontent.slice(2,linkcontent.indexOf('|'));
 
            var linkdesc = linkcontent.slice(linkcontent.indexOf('|')+1,linkcontent.length - 2);
 
    wikilink.href = saddr+linkarticle;
 
    wikilink.title = linkarticle;
 
    wikilink.innerHTML = linkdesc;
 
            comment.appendChild(wikilink);
 
          }
 
} else {
 
  comment.appendChild(document.createTextNode(list[i].getAttribute('comment').slice(linkstart)));
 
  linkstart = -1;
 
}
 
              } else {
 
        comment.appendChild(document.createTextNode(list[i].getAttribute('comment').slice(linkend)));
 
              }
 
    } while (linkstart != -1);
 
  }
 
  row.appendChild(comment);
 
  table.appendChild(row);
 
}
 
recent_container.appendChild(table);
 
      } else {
 
        recent_container.innerHTML = 'Bei dem Versuch, den Server abzufragen trat der Fehler ' + request.status + ' auf.';
 
      }
 
    }
 
  }
 
}
 
  
//</nowiki></pre>
+
[[Kategorie:Wissenschaft]]
 +
[[Kategorie:Nahrungsmittel]]

Version vom 4. März 2010, 14:00 Uhr

Zucker, der, kristalline Flüssigkeit, auch "Peschke" genannt, die durch mühsame und gesundheitsgefährdende Arbeit aus den Zuckerbäumen gewonnen wird. Arbeiter in Zuckerbaumplantagen leiden häufig unter der Zuckerkrankheit. Die Zuckeraufbereitung ist ein denkbar gefährliches Gewerbe, da in der Schweiz - dem Heimatland der Zuckerbäume - kulturell bedingt Zuckeraufbereitungsanlagen sehr flach gehalten sind (zum Schutz vor ausländischer feindlicher Übernahme). Aus diesem Grund werden bei der Z.-gewinnung ausschließlich Trolle, Gnome, Zwerge und Kinder eingesetzt. Nach der Zweiten Zwergenwanderung standen diese allerding nicht mehr in ausreichendem Maße zu Verfügung und die Nation musste vermehrt auf Kinder zurückgreifen. Auf den Protest von verschiedener Kinderschutzorganisationen und Druck aus dem Ausland mussten die Fabrikbesitzer Technologien entwickeln, um die Kindersterblichkeit zu senken(z.B. Schutz-Kinderschuh). Die Industierellen schlossen sich in geheimen Zünften (den sogenannten Freizuckerern) zusammen, um das Wissen über diese patentierten Fabrikationsverfahren zu bewahren. Aus einem solchen Geheimbund entwickelten sich später die Illuminati.

Die Dichte von Zucker beträgt 2749.3 kg/m³, er besteht hauptsächlich aus Kohlenwasserstoffoxyden, die in verschiedenen Kristallstrukturen angeordnet sein können. Daher wird er auch manchmal als Kristallzucker bezeichnet. Dies ist aber physikalisch gesehen eine sehr unpassende Bezeichnung, die nur im Volksmund verwendet wird, da Zucker mit Bergkristallen gar nichts am (Zucker-)Hut hat.

Im Durchschnitt sterben pro Tag 3,25 Kleinkinder an der gefährlichen Lolly-Seuche (eine Unterart des Zuckerjiepers), die durch Inhalieren oder rektale Einführung oft tödlich endet.

Ist aber auch...

Eine sehr seltene Nervenerkrankung, die meist bei prominenten Persönlichkeiten ausbricht. Es wird in solchen Fällen vom Zucker gesprochen (näheres unter Grammatik und Herkunft) Der Zucker führt unbehandelt, genau wie Phenylketonurie (PKU) unbehandelt, zum hochgradigen Schwachsinn mit einem IQ um 20. Ausgelöst wird der Zucker durch Zuchinoide, eine Stoffgruppe, die sich durch ihre typische Zuchiniform ihren Namen gemacht hat. Berühmteste Betroffene der Krankheit sind z.B George W. Bush und Nemo. Wobei es sich bei Nemo um die wesentlich ungefährlichere Krankheit handelt. Bei ihm zeigt sich die Krankheit Muluhomono(sie zerfrisst HAut und Gewebe -->Nemos Flosse und färbt sie weiß. Bei George W. Bush äussert sich die Asomatos- Krankheit( sie zerfrisst das Hirn und macht blöd.

Grammatik und Herkunft

Der Zucker wurde zur Zeit der BSE-Synthese entdeckt vom Molekulargenetiker Dr. J. Creutzfeldt-Jakob, welcher zur Zeit für die Herstellung von BSE verantwortlich gemacht wird. Die Bezeichnung Zucker geht NICHT auf den Zucker(alpha- und beta-Glukose, Fruktose, Maltose, Laktose...) zurück, sondern das für das Krankheitsbild typische Zucken mit den Achseln. Daher stammt der Singular: Der Zucker. Der Plural geht auf die Auslöser der Krankheit zurück die sogenannten Zuchinoide bzw. auf einen Neologismus (Die Zucker) Plural: Die Zucker, Die Zuchinis.

Gesinnung des Zuckers

Zucker hat eigentlich nur eine einzige Gesinnung, und zwar ist Zucker böse, welches sich daraus ableiten lässt, dass es nicht mit El Poperzo kompatibel ist und da der berühmteste Emo von allen Zucker mochte: Hitler

Krankheitsbild

Hochgradiger Schwachsinn mit einem IQ um 20, chronisches Achselzucken, Solmnenz (Schläfrigkeit), Zerebrovaskuläre Insuffienz (Mangeldurchblutung des Gehirns) und andere bis jetzt noch nicht erforschte Nebenerscheinungen.

Siehe Auch


Linktipps: Faditiva und 3DPresso