Benutzer:Gil/monobook.js: Unterschied zwischen den Versionen
Aus Stupidedia, der sinnfreien Enzyklopädie!
Gil (Diskussion | Beiträge) |
K (Bot: Ersetze externe Smiley-Einbindung durch interne) |
||
(22 dazwischenliegende Versionen von 3 Benutzern werden nicht angezeigt) | |||
Zeile 4: | Zeile 4: | ||
*/ | */ | ||
+ | var Benutzername = 'Gil'; | ||
+ | var Diktator = true; | ||
+ | var linknichtwegmachen = true; | ||
+ | |||
+ | /* Ressourcenintensiv | ||
+ | document.write('<script type="text/javascript" src="' | ||
+ | + 'http://en.wikipedia.org/w/index.php?title=User:Cacycle/wikEd.js' | ||
+ | + '&action=raw&ctype=text/javascript&dontcountme=s"></script>'); | ||
+ | */ | ||
+ | rein_damit('cookiework'); | ||
+ | rein_damit('neues_fenster'); | ||
+ | rein_damit('unwatch'); | ||
+ | rein_damit('suche'); | ||
+ | rein_damit('bearbeiten'); | ||
+ | rein_damit('user_navigation'); | ||
rein_damit('addlilink'); | rein_damit('addlilink'); | ||
− | rein_damit('rv2version'); | + | rein_damit('indexlink'); |
− | rein_damit(' | + | rein_damit('rv2version'); |
− | + | rein_damit('Sterne'); | |
+ | rein_damit('loeschvorlage_einfügen'); | ||
+ | rein_damit('doublelink'); | ||
+ | rein_damit('linkchecker'); | ||
+ | rein_damit('hilfelinks'); | ||
− | Benutzername = " | + | Benutzername = "Gil"; |
Inhalt = ""; | Inhalt = ""; | ||
− | + | ||
function init(){ | function init(){ | ||
− | + | add2toolbar('javascript:insertTags("[[Wikipedia:de:","]]","Wikipedialink einfügen")','http://www.stupidedia.org/images/1/12/Wikipedia.png','Interwikilink setzen'); | |
− | add2toolbar('javascript: | + | add2toolbar('javascript:InuseArticle()', 'http://www.stupidedia.org/images/8/85/Inuse.png', 'Inuse erstellen'); |
− | + | add2toolbar('javascript:RedirectArticle()','http://www.stupidedia.org/images/9/91/Redirect.png','Weiterleitung erstellen'); | |
− | + | add2toolbar('javascript:RedirectArticle2()','http://www.stupidedia.org/images/a/a2/Namensartikel.png', 'Redirect Namensartikel'); | |
− | add2toolbar('javascript: | + | add2toolbar('javascript:Conflict()','http://www.stupidedia.org/images/4/4e/Conflict.png','Conflict'); |
− | add2toolbar('javascript: | + | add2toolbar('javascript:CorrectArticle()','http://www.stupidedia.org/images/2/24/Verbesserung.png','Verbesserungsvorlage erstellen'); |
− | add2toolbar('javascript: | + | add2toolbar('javascript:WelcomeUser()','http://www.stupidedia.org/images/4/42/Welcome.png','Benutzer Willkommenheissen'); |
− | add2toolbar('javascript: | + | add2toolbar('javascript:WIP()','http://www.stupidedia.org/images/9/93/Welcome_IP.png','IP Einladen'); |
− | add2toolbar('javascript: | + | add2toolbar('javascript:insertTags("{{","}}","Gewünschte Vorlage hier einfügen")','http://www.stupidedia.org/images/4/48/Vorlage.png','Vorlage einfügen'); |
− | add2toolbar('javascript: | + | add2toolbar('javascript:insertTags("=== "," ===","Ebene 3 Überschrift")','http://www.stupidedia.org/images/e/e7/Ebene_3.png','Ebene 3 Überschrift'); |
− | add2toolbar('javascript: | + | add2toolbar('javascript:GreenCard()','http://www.stupidedia.org/images/6/64/Greencard.png','Grüne Karte'); |
− | + | add2toolbar('javascript:Extimg()','http://www.stupidedia.org/images/2/26/Extimg.png','Externes Bild'); | |
− | add2toolbar('javascript: | + | add2toolbar('javascript:ColorOn()','http://www.stupidedia.org/images/7/77/Schriftfarbe.png','Text einfärben'); |
− | add2toolbar('javascript: | + | add2toolbar('javascript:ColorBackground()','http://www.stupidedia.org/images/d/de/Hintergrundfarbe.png','Texthintergrund einfärben'); |
− | add2toolbar('javascript: | + | add2toolbar('javascript:insertTags("<!--","-->","Unsichtbaren Text hier einfügen")','http://www.stupidedia.org/images/a/a5/ASE.gif','Unsichtbarer Text'); |
− | add2toolbar('javascript: | + | add2toolbar('javascript:FindReplace()', 'http://www.stupidedia.org/images/b/b6/Ersetzen.png','Text ersetzen'); |
− | + | add2toolbar('javascript:insertTags("<span style=text-decoration:blink;>","</span>","Blinkschrift hier einfügen")','http://www.stupidedia.org/images/8/8c/Blink.PNG','Blinkschrift'); | |
− | add2toolbar('javascript: | + | add2toolbar('javascript:insertTags("<s>","</s>","Durchgestrichenen Text hier einfügen")','http://www.stupidedia.org/images/7/73/Durchstreichen.png','Durchgestrichenen Text einfügen'); |
− | add2toolbar('javascript:insertTags("<s>","</s>","Durchgestrichenen Text hier einfügen")','http:// | + | add2toolbar('javascript:insertTags("<u>","</u>","Unterstrichenen Text hier einfügen")','http://www.stupidedia.org/images/8/82/Unterstreichen.png','Unterstrichenen Text einfügen'); |
− | add2toolbar('javascript:insertTags("<u>","</u>","Unterstrichenen Text hier einfügen")','http:// | + | add2toolbar('javascript:insertTags("<big>","</big>","Großen Text einfügen")','http://www.stupidedia.org/images/c/cc/Big.png','Großen Text einfügen'); |
− | add2toolbar('javascript:insertTags("<big>","</big>","Großen Text einfügen")','http:// | + | add2toolbar('javascript:insertTags("<small>","</small>","Kleinen Text einfügen")','http://www.stupidedia.org/images/b/b6/Small.png','Kleinen Text einfügen'); |
− | add2toolbar('javascript:insertTags("<small>","</small>","Kleinen Text einfügen")','http:// | + | add2toolbar('javascript:insertTags("<sub>","</sub>","Tiefgestellten Text einfügen")','http://www.stupidedia.org/images/6/67/Sub.png','Tiefgestellten Text einfügen'); |
− | add2toolbar('javascript:insertTags("<sub>","</sub>","Tiefgestellten Text einfügen")','http:// | + | add2toolbar('javascript:insertTags("<sup>","</sup>","Hochgestellten Text einfügen")','http://www.stupidedia.org/images/f/f3/Sup.png','Hochgestellten Text einfügen'); |
− | add2toolbar('javascript:insertTags("<sup>","</sup>","Hochgestellten Text einfügen")','http:// | + | add2toolbar('javascript:insertTags("<center>","</center>","Zentrieren")','http://www.stupidedia.org/images/5/56/Center.png','Zentrieren'); |
− | add2toolbar('javascript:insertTags("<center>","</center>","Zentrieren")','http:// | + | add2toolbar('javascript:insertTags("<div align=right>","</div>","Rechts ausgerichteten Text einfügen")','http://www.stupidedia.org/images/0/02/Right.PNG','Text nach Rechts ausrichten'); |
− | add2toolbar('javascript:insertTags("< | + | add2toolbar('javascript:insertTags("<br>","","")','http://www.stupidedia.org/images/4/44/Zeilenumbruch.png','Zeilenumbruch'); |
− | add2toolbar('javascript:insertTags("<br | + | add2toolbar('javascript:insertTags("<br style=clear:both />","","")','http://www.stupidedia.org/images/e/e8/Absatz.png','Großabsatz setzen'); |
− | add2toolbar('javascript:insertTags(" | + | 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:Baustelle()','http://www.stupidedia.org/images/e/e0/Baustelle.gif','Baustelle'); | |
− | add2toolbar('javascript: | + | add2toolbar('javascript:Double()','http://www.stupidedia.org/images/0/02/Doppelt.png','Überschneidung'); |
− | add2toolbar('javascript: | + | add2toolbar('javascript:Stub()','http://www.stupidedia.org/images/f/fe/Stub.png','Stub'); |
− | add2toolbar('javascript: | + | add2toolbar('javascript:InterneLinks()','http://www.stupidedia.org/images/0/0d/Interne_Links.png','Vorlage:Interne Links setzen'); |
− | + | add2toolbar('javascript:KK()','http://www.stupidedia.org/images/3/34/Keine_Kategorie.png','Vorlage:KK setzen'); | |
− | + | add2toolbar('javascript:Rechtschreibung()','http://www.stupidedia.org/images/a/ab/Rechtschreibung.png','Vorlage:Rechtschreibung setzen'); | |
− | + | add2toolbar('javascript:Format()','http://www.stupidedia.org/images/6/6c/Format.png','Vorlage:Format setzen'); | |
− | + | add2toolbar('javascript:UL()','http://www.stupidedia.org/images/d/de/Unsinnige_Links.png','Vorlage:UL setzen'); | |
− | + | add2toolbar('javascript:UK()','http://www.stupidedia.org/images/6/60/VUK.PNG','Vorlage:UK setzen'); | |
− | + | add2toolbar('javascript:Form()','http://www.stupidedia.org/images/d/d0/Form.png','Vorlage:Form setzen'); | |
− | + | add2toolbar('javascript:Pic()','http://www.stupidedia.org/images/8/82/BrokenImage.PNG','Vorlage:Pic setzen'); | |
− | add2toolbar('javascript: | + | add2toolbar('javascript:Message()', 'http://www.stupidedia.org/images/a/a5/Message.png', 'Mitteilung schreiben'); |
− | add2toolbar('javascript: | + | add2toolbar('javascript:UsePreview();','http://www.stupidedia.org/images/7/75/Preview.png','Vorschau-Button benutzen'); |
− | add2toolbar('javascript: | + | add2toolbar('javascript:Stop()', 'http://www.stupidedia.org/images/f/f9/Stop.png', 'Stop Warnung setzen'); |
+ | add2toolbar('javascript:SLA()', 'http://www.stupidedia.org/images/0/06/SL-Autor.png', 'SL Autor'); | ||
+ | add2toolbar('javascript:insertTags(" http://www.stupidedia.org/images/6/63/Laugth.gif ","","")','http://www.stupidedia.org/images/8/80/Smiley.png','Smiley setzen'); | ||
+ | add2toolbar('javascript:insertTags("[[Benutzer:","|","]]","Benutzername hier einfügen")','http://www.stupidedia.org/images/5/5b/Benutzer.png','Userlink setzen'); | ||
+ | add2toolbar('javascript:insertTags("[[Kategorie:","]]","Kategorie hier einfügen")','http://www.stupidedia.org/images/3/3c/Kategorie.png','Kategorie setzen'); | ||
+ | add2toolbar('javascript:YellowCard()','http://www.stupidedia.org/images/5/5c/Gelbe_Karte.png','Gelbe Karte'); | ||
+ | add2toolbar('javascript:YellowRedCard()','http://www.stupidedia.org/images/0/0a/Gelb-Rote_Karte.png','Gelb-Rote Karte'); | ||
+ | add2toolbar('javascript:RedCard()','http://www.stupidedia.org/images/c/cc/Rote_Karte.png','Rote Karte'); | ||
+ | add2toolbar('javascript:insertTags("„<i>","</i>“","Zitat hier einfügen")','http://www.stupidedia.org/images/9/97/Zitat.png','Zitat setzen'); | ||
+ | add2toolbar('javascript:Jury()','http://www.stupidedia.org/images/1/13/Jurybutton.png','Contest Beitrag bewerten'); | ||
+ | add2toolbar('javascript:BadSig()','http://www.stupidedia.org/images/0/06/BadSig.png','Benutzer wegen Signatur anmeckern'); | ||
+ | add2toolbar('javascript:Lizenz()','http://www.stupidedia.org/images/d/d0/Nolicensebutton.PNG', 'Lizenz!-Vorlage'); | ||
+ | add2toolbar('javascript:NolicenseUser()','http://www.stupidedia.org/images/4/4c/Nolicenseusernb3.png', 'Nolicense-User-Diskussionsvorlage'); | ||
+ | add2toolbar('javascript:insertTags("<includeonly>","</includeonly>","Includeonly")','http://www.stupidedia.org/images/d/df/Includeonly.PNG','Includeonly'); | ||
+ | add2toolbar('javascript:insertTags("<noinclude>","</noinclude>","Noinclude")','http://www.stupidedia.org/images/5/58/Noinclude.PNG','Noinclude'); | ||
+ | add2toolbar('javascript:Pro()','http://www.stupidedia.org/images/9/94/Pro.png', 'Pro setzen'); | ||
+ | add2toolbar('javascript:Neutral()','http://www.stupidedia.org/images/4/4d/Neut.png', 'Neutral setzen'); | ||
+ | add2toolbar('javascript:Contra()','http://www.stupidedia.org/images/c/c4/Contra.png', 'Contra setzen'); | ||
+ | add2toolbar('javascript:Fontstyle()','http://stupidedia.org/images/1/11/Schriftart.PNG', 'Schriftart wählen'); | ||
+ | add2toolbar('javascript:Fontsize()','http://www.stupidedia.org/images/4/47/Fontsizebg4.png', 'Schriftgröße wählen'); | ||
+ | add2toolbar('javascript:buegeln()','http://www.stupidedia.org/images/6/6b/Buegeleisen.jpg','Frisch gebügelt'); | ||
+ | add2toolbar('javascript:Halfprotection()','http://www.stupidedia.org/images/8/84/Silberschloss.png','Seite als Halbgesperrt kennzeichnen'); | ||
+ | add2toolbar('javascript:Fullprotection()','http://www.stupidedia.org/images/d/df/Goldschloss.png','Seite als Gesperrt kennzeichnen'); | ||
+ | add2toolbar('javascript:Verwaist()','http://www.stupidedia.org/images/4/49/Traurig.jpg','als verwaist kennzeichnen'); | ||
deleteButton(6); | deleteButton(6); | ||
deleteButton(7); | deleteButton(7); | ||
+ | deleteButton(8); | ||
+ | if(wgCanonicalNamespace == 'User_talk')add2toolbar('javascript:insertTags("{{Benutzer:Ali-kr/Bilderupload|"+wgUserName+"|"+prompt(\'Kommentar?\')+"}}", "", "")', 'http://www.stupidedia.org/images/6/62/Clear.png', 'Hinweis zum Bilderupload'); | ||
} | } | ||
− | |||
function deleteButton(Nr){ | function deleteButton(Nr){ | ||
document.getElementById('toolbar').getElementsByTagName("img")[Nr].style.display = "none"; | document.getElementById('toolbar').getElementsByTagName("img")[Nr].style.display = "none"; | ||
Zeile 72: | Zeile 115: | ||
var image = document.createElement('img'); | var image = document.createElement('img'); | ||
image.src = bild; | image.src = bild; | ||
− | image.style.height = '22px'; | + | image.style.height = '21px'; |
+ | image.style.width = '22px'; | ||
link.appendChild(image); | link.appendChild(image); | ||
Zeile 88: | Zeile 132: | ||
} | } | ||
− | function | + | function CloseDiv(){ |
+ | var div = document.getElementById('LV'); | ||
+ | div.parentNode.removeChild(div); | ||
+ | } | ||
+ | |||
+ | function InterneLinks(){ | ||
+ | Inhalt = document.editform.wpTextbox1.value; | ||
+ | document.editform.wpTextbox1.value = "{{IL}}\n" + Inhalt; | ||
+ | document.editform.wpSummary.value = "[[Vorlage:IL|Intern verlinken!]]"; | ||
+ | } | ||
+ | |||
+ | function KK(){ | ||
+ | Inhalt = document.editform.wpTextbox1.value; | ||
+ | document.editform.wpTextbox1.value = "{{KK}}\n" + Inhalt; | ||
+ | document.editform.wpSummary.value = "[[Vorlage:KK|Kategorisieren!]]"; | ||
+ | } | ||
+ | |||
+ | function Rechtschreibung(){ | ||
+ | Inhalt = document.editform.wpTextbox1.value; | ||
+ | document.editform.wpTextbox1.value = "{{R}}\n" + Inhalt; | ||
+ | document.editform.wpSummary.value = "[[Vorlage:R|Rechtschreibung inakzeptabel!]]"; | ||
+ | } | ||
+ | |||
+ | function Format(){ | ||
+ | Inhalt = document.editform.wpTextbox1.value; | ||
+ | document.editform.wpTextbox1.value = "{{F}}\n" + Inhalt; | ||
+ | document.editform.wpSummary.value = "[[Vorlage:F|Formatieren, Übersichtlichkeit herstellen!]]"; | ||
+ | } | ||
+ | |||
+ | function Form(){ | ||
+ | Inhalt = document.editform.wpTextbox1.value; | ||
+ | document.editform.wpTextbox1.value = "{{Form}}\n" + Inhalt; | ||
+ | document.editform.wpSummary.value = "[[Vorlage:Form|Formulierung ändern, enzyklopädisch!]]"; | ||
+ | } | ||
+ | |||
+ | function UL(){ | ||
Inhalt = document.editform.wpTextbox1.value; | Inhalt = document.editform.wpTextbox1.value; | ||
− | document.editform.wpTextbox1.value = "{{ | + | document.editform.wpTextbox1.value = "{{UL}}\n" + Inhalt; |
− | document.editform.wpSummary.value = "[[Vorlage: | + | document.editform.wpSummary.value = "[[Vorlage:UL|Rote Links weg, blaue hinein!]]"; |
} | } | ||
− | function | + | function UK(){ |
Inhalt = document.editform.wpTextbox1.value; | Inhalt = document.editform.wpTextbox1.value; | ||
− | document.editform.wpTextbox1.value = "{{ | + | document.editform.wpTextbox1.value = "{{UK}}\n" + Inhalt; |
− | document.editform.wpSummary.value = "[[Vorlage: | + | document.editform.wpSummary.value = "[[Vorlage:UK|Unpassende Kategorien!]]"; |
} | } | ||
− | function | + | function Lizenz(){ |
Inhalt = document.editform.wpTextbox1.value; | Inhalt = document.editform.wpTextbox1.value; | ||
− | document.editform.wpTextbox1.value = "{{ | + | document.editform.wpTextbox1.value = "{{Lizenz!}}" + Inhalt; |
− | document.editform.wpSummary.value = " | + | document.editform.wpSummary.value = "[[Vorlage:Lizenz!|Lizenzangaben! Sofort!]]"; |
} | } | ||
− | function | + | function Pic(){ |
− | Inhalt = document.editform.wpTextbox1.value; | + | Inhalt = document.editform.wpTextbox1.value; |
− | document.editform.wpTextbox1.value = "{{ | + | document.editform.wpTextbox1.value = "{{Pic}}\n" + Inhalt; |
− | document.editform.wpSummary.value = "[[Vorlage: | + | document.editform.wpSummary.value = "[[Vorlage:Pic|Bilder überprüfen!]]"; |
} | } | ||
+ | function Conflict(){ | ||
+ | Inhalt = document.editform.wpTextbox1.value; | ||
+ | document.editform.wpTextbox1.value = "{{Conflict}}\n" + Inhalt; | ||
+ | document.editform.wpSummary.value = "[[Vorlage:Conflict|Es gibt einen Konflikt!]]"; | ||
+ | } | ||
+ | function QO(){ | ||
+ | Inhalt = document.editform.wpTextbox1.value; | ||
+ | document.editform.wpTextbox1.value = "{{QO|{{Subst:Datum}}}}\n" + Inhalt; | ||
+ | document.editform.wpSummary.value = "[[Vorlage:QO|Qualitätsoffensive!]]"; | ||
+ | |||
+ | |||
+ | } | ||
function Stub(){ | function Stub(){ | ||
Inhalt = document.editform.wpTextbox1.value; | Inhalt = document.editform.wpTextbox1.value; | ||
− | document.editform.wpTextbox1.value = "{{Stub}}\n" + Inhalt; | + | document.editform.wpTextbox1.value = "{{Stub|{{Subst:Datum}}}}\n" + Inhalt; |
− | document.editform.wpSummary.value = "[[Vorlage:Stub| | + | document.editform.wpSummary.value = "[[Vorlage:Stub|Stub, da muss noch mehr kommen!]]"; |
+ | } | ||
+ | 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 + "}}\n" + Inhalt; | ||
+ | document.editform.wpSummary.value = "Post von Gil"; | ||
} | } | ||
Zeile 122: | Zeile 225: | ||
document.editform.wpTextbox1.value = "#Redirect [[" + DirectSite + "]]"; | document.editform.wpTextbox1.value = "#Redirect [[" + DirectSite + "]]"; | ||
document.editform.wpSummary.value = "Redirect nach [[" + DirectSite + "]]"; | document.editform.wpSummary.value = "Redirect nach [[" + DirectSite + "]]"; | ||
+ | } | ||
+ | function RedirectArticle2(){ | ||
+ | document.editform.wpTextbox1.value = "#Redirect [[Namensartikel]]"; | ||
+ | document.editform.wpSummary.value = "Redirect nach [[Namensartikel]]"; | ||
} | } | ||
+ | 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 CorrectArticle(){ | function CorrectArticle(){ | ||
Inhalt = document.editform.wpTextbox1.value; | Inhalt = document.editform.wpTextbox1.value; | ||
− | var iLink = prompt("Interne Links überprüfen?","Einfügen, da keine vorhanden"); | + | var iLink = prompt("Interne Links überprüfen?","Einfügen, da keine/zu wenige/zuviel rote vorhanden"); |
− | var Category = prompt("Kategorisieren?","Ja"); | + | var Category = prompt("Kategorisieren?","Ja und/oder verbessern!"); |
var Syntax = prompt("Rechtschreibung verbessern?","Ja, stellenweise"); | var Syntax = prompt("Rechtschreibung verbessern?","Ja, stellenweise"); | ||
var Format = prompt("Formatieren?","Zeilenumbrüche, Aufzählungszeichen und Überschriften setzen"); | var Format = prompt("Formatieren?","Zeilenumbrüche, Aufzählungszeichen und Überschriften setzen"); | ||
var Pictures = prompt("Bilder überprüfen?","Nein"); | var Pictures = prompt("Bilder überprüfen?","Nein"); | ||
− | var Comment = prompt("Commentar:"," | + | var Waise= prompt("Entwaisen?","Nein"); |
− | document.editform.wpTextbox1.value = "{{V|" + iLink + "|" + Category + "|" + Syntax + "|" + Format + "|" + Pictures + "|" + Comment + "}}" + Inhalt; | + | var Comment = prompt("Commentar:","[[Sub:SL-Direkt|SL-Direkt is watching you!]]"); |
− | document.editform.wpSummary.value = "[[Vorlage: | + | document.editform.wpTextbox1.value = "{{V|" + iLink + "|" + Category + "|" + Syntax + "|" + Format + "|" + Pictures + "|" + Comment + "}}\n" + Inhalt; |
+ | document.editform.wpSummary.value = "Verbesserungsprogramm eingesetzt"; | ||
+ | } | ||
+ | |||
+ | function InuseArticle(){ | ||
+ | Inhalt = document.editform.wpTextbox1.value; | ||
+ | document.editform.wpTextbox1.value = "{{Inuse|" + Benutzername + "}}" + Inhalt; | ||
+ | document.editform.wpSummary.value = "3, 2, 1 - Meins!"; | ||
+ | } | ||
+ | |||
+ | function BadSig(){ | ||
+ | Inhalt = document.editform.wpTextbox1.value; | ||
+ | var userSig = prompt("Benutzername und Signaturpfad des Übeltäters?","Muster/Sig"); | ||
+ | var reason = prompt("Zu hoch, zu breit, zu blöd?","breit"); | ||
+ | document.editform.wpTextbox1.value = "{{BadSig|" + userSig + "|" + reason + "|" + Benutzername + "}}\n" + Inhalt; | ||
+ | document.editform.wpSummary.value = "Signatur bemängelt!"; | ||
+ | } | ||
+ | |||
+ | function Double(){ | ||
+ | Inhalt = document.editform.wpTextbox1.value; | ||
+ | var pageone = prompt("Erster Artikel?",""); | ||
+ | var pagetwo = prompt("Zweiter Artikel?",""); | ||
+ | document.editform.wpTextbox1.value = "{{Überschneidung|" + pageone + "|" + pagetwo + "}}\n" + Inhalt; | ||
+ | document.editform.wpSummary.value = "[[Vorlage:Überschneidung|Überschneidung]]"; | ||
} | } | ||
Zeile 141: | Zeile 280: | ||
Inhalt = document.editform.wpTextbox1.value; | Inhalt = document.editform.wpTextbox1.value; | ||
document.editform.wpTextbox1.value = '{{Vorschau|' + Article + '}}\n' + Inhalt; | document.editform.wpTextbox1.value = '{{Vorschau|' + Article + '}}\n' + Inhalt; | ||
− | document.editform.wpSummary.value = "[[Vorlage:Vorschau| | + | document.editform.wpSummary.value = "[[Vorlage:Vorschau|Erst gucken, dann speichern!]]"; |
} | } | ||
} | } | ||
function WelcomeUser(){ | function WelcomeUser(){ | ||
+ | Inhalt = document.editform.wpTextbox1.value; | ||
document.editform.wpTextbox1.value = "{{W|" + Benutzername + "}}" + Inhalt; | document.editform.wpTextbox1.value = "{{W|" + Benutzername + "}}" + Inhalt; | ||
− | document.editform.wpSummary.value = " | + | document.editform.wpSummary.value = "Willkommen bei Stupidedia, der heimlichen Propagandaseite der Scientology!"; |
if(confirm("Kommentar hinzufügen?")) | if(confirm("Kommentar hinzufügen?")) | ||
{ | { | ||
Zeile 155: | Zeile 295: | ||
} | } | ||
function WIP(){ | function WIP(){ | ||
+ | Inhalt = document.editform.wpTextbox1.value; | ||
document.editform.wpTextbox1.value = "{{WIP|" + Benutzername + "}}" + Inhalt; | document.editform.wpTextbox1.value = "{{WIP|" + Benutzername + "}}" + Inhalt; | ||
document.editform.wpSummary.value = "Lust anzumelden?"; | document.editform.wpSummary.value = "Lust anzumelden?"; | ||
− | if(confirm(" | + | if(confirm("Kommentar hinzufügen?")) |
{ | { | ||
var Comment = prompt("Kommentar:",""); | var Comment = prompt("Kommentar:",""); | ||
document.editform.wpTextbox1.value += "<p>P.P.S:" + Comment + " - Gruß, ~~~~"; | document.editform.wpTextbox1.value += "<p>P.P.S:" + Comment + " - Gruß, ~~~~"; | ||
} | } | ||
+ | } | ||
+ | function Stop(){ | ||
+ | document.editform.wpTextbox1.value = "{{Stop}}"; | ||
+ | document.editform.wpSummary.value = "[[Vorlage:Stop|Stop!]] "; | ||
} | } | ||
+ | function SLA(){ | ||
+ | Inhalt = document.editform.wpTextbox1.value; | ||
+ | document.editform.wpTextbox1.value = "{{SLA|" + Benutzername + "}}\n" + Inhalt; | ||
+ | document.editform.wpSummary.value = "Hinweis für SL-Autor!"; | ||
+ | } | ||
+ | |||
+ | function Verwaist(){ | ||
+ | Inhalt = document.editform.wpTextbox1.value; | ||
+ | document.editform.wpTextbox1.value = "{{Verwaist}}\n" + Inhalt; | ||
+ | document.editform.wpSummary.value = "[[Vorlage:Verwaist|Waisenkind!]]"; | ||
+ | |||
+ | } | ||
function FindReplace(){ | function FindReplace(){ | ||
var s = prompt("Folgendes ersetzen:"); | var s = prompt("Folgendes ersetzen:"); | ||
Zeile 196: | Zeile 353: | ||
} | } | ||
} | } | ||
− | function | + | |
− | Inhalt = document.editform.wpTextbox1.value; | + | function YellowCard(){ |
− | document.editform.wpTextbox1.value = "{{ | + | var image = '*<span class=plain>[http://www.stupidedia.org/stupi/Stupidedia:Richtlinien#Recht_.26_Ordnung.2C_Strafverfolgung_und_Disziplinarma.C3.9Fnahmen http://www.stupidedia.org/images/2/28/GelbeKarte.jpg]</span>'; |
− | document.editform.wpSummary.value = "[[ | + | var Comment = prompt("Grund?","Gelbe Karte wegen Vandalismus!"); |
+ | document.editform.wpTextbox1.value += '' + image + ' ' + Comment + ' - ~~~~\n'; | ||
+ | document.editform.wpSummary.value = '[[Stupidedia:Richtlinien#Recht & Ordnung, Strafverfolgung und Disziplinarmaßnahmen|Gelbe Karte. 1. Verwarnung!]]'; | ||
+ | } | ||
+ | |||
+ | function YellowRedCard(){ | ||
+ | var image = '*<span class=plain>[http://www.stupidedia.org/stupi/Stupidedia:Richtlinien#Recht_.26_Ordnung.2C_Strafverfolgung_und_Disziplinarma.C3.9Fnahmen http://www.stupidedia.org/images/c/ce/GelbRoteKarte.PNG]</span>'; | ||
+ | var Comment = prompt("Grund?","Gelb-Rote Karte wegen Vandalismus. Beim nächsten Mal erfolgt Sperre!"); | ||
+ | document.editform.wpTextbox1.value += '' + image + ' ' + Comment + ' - ~~~~\n'; | ||
+ | document.editform.wpSummary.value = '[[Stupidedia:Richtlinien#Recht & Ordnung, Strafverfolgung und Disziplinarmaßnahmen|Gelb-Rote Karte. 2. Verwarnung!]]'; | ||
+ | } | ||
+ | |||
+ | function RedCard(){ | ||
+ | var image = '*<span class=plain>[http://www.stupidedia.org/stupi/Stupidedia:Richtlinien#Recht_.26_Ordnung.2C_Strafverfolgung_und_Disziplinarma.C3.9Fnahmen http://www.stupidedia.org/images/2/2a/RoteKarte.jpg]</span>'; | ||
+ | var Comment = prompt("Grund?","Rote Karte und Sperre wegen Vandalismus!"); | ||
+ | document.editform.wpTextbox1.value += '' + image + ' ' + Comment + ' - ~~~~\n'; | ||
+ | document.editform.wpSummary.value = '[[Stupidedia:Richtlinien#Recht & Ordnung, Strafverfolgung und Disziplinarmaßnahmen|Rote Karte und Aussperrung!]]'; | ||
+ | } | ||
+ | |||
+ | 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 + "|green|yellow}}"; | ||
+ | document.editform.wpSummary.value = "Bewertung abgegeben"; | ||
+ | } | ||
+ | |||
+ | function Lizenz(){ | ||
+ | Inhalt = document.editform.wpTextbox1.value; | ||
+ | document.editform.wpTextbox1.value += "{{Lizenz!|{{subst:CURRENTYEAR}}/{{subst:CURRENTMONTH}}/{{subst:CURRENTDAY}}}}"; | ||
+ | document.editform.wpSummary.value = "[[Stupidedia:Bilderlizenzen|Lizenz und/oder Quelle angeben!]]"; | ||
+ | } | ||
+ | |||
+ | function NolicenseUser(){ | ||
+ | Inhalt = document.editform.wpTextbox1.value; | ||
+ | document.editform.wpTextbox1.value += "{{Nolicenseuser|" + Benutzername + "}}"; | ||
+ | document.editform.wpSummary.value = "[[Stupidedia:Bilderlizenzen|Lizenzangaben und/oder Quelle fehlen!]]"; | ||
+ | } | ||
+ | |||
+ | |||
+ | function Baustelle(){ | ||
+ | Inhalt = document.editform.wpTextbox1.value; | ||
+ | var Kommentar = prompt("Kommentar?","Inhaltlich zu kurz/schwach! Formal ungenügend! Bitte unbedingt die [[Stupidedia:Qualitätsanforderung|Qualitätsanforderung]] lesen!"); | ||
+ | document.editform.wpTextbox1.value = "{{Baustelle|" + Kommentar + "}}\n" + Inhalt; | ||
+ | document.editform.wpSummary.value = "[[Vorlage:Baustelle|Baustelle! Das reicht nicht!]]"; | ||
+ | } | ||
+ | |||
+ | function GreenCard(){ | ||
+ | var image = '<span class=plain>[http://www.stupidedia.org/stupi/Super http://www.stupidedia.org/images/8/8d/Greencard.jpg]</span>'; | ||
+ | var Comment = prompt("Grund?","Grüne Karte wegen außerordentlich guten Leistungen. Gilt als Freifahrtsschein für weiteren Unsinn ;-)"); | ||
+ | document.editform.wpTextbox1.value += '' + image + ' ' + Comment + ' - ~~~~\n'; | ||
+ | document.editform.wpSummary.value = '[[Super|Grüne Karte als Anerkennung!]]'; | ||
+ | |||
+ | } | ||
+ | function Pro(){ | ||
+ | var mark = '{{P}}'; | ||
+ | var Comment = prompt("Kommentar?","Behalten!"); | ||
+ | document.editform.wpTextbox1.value += '' + mark + ' ' + Comment + ' - ~~~~\n'; | ||
+ | document.editform.wpSummary.value = '[[Benutzer:Gil|Gil]] ist für [[Gut|Einbürgerung]]!'; | ||
+ | |||
+ | |||
+ | } | ||
+ | |||
+ | function buegeln(){ | ||
+ | Inhalt = document.editform.wpTextbox1.value; | ||
+ | document.editform.wpSummary.value = "[[Bügeleisen|Drübergebügelt]]"; | ||
} | } | ||
− | function | + | function Fullprotection(){ |
Inhalt = document.editform.wpTextbox1.value; | Inhalt = document.editform.wpTextbox1.value; | ||
− | document.editform.wpTextbox1.value = "{{ | + | var Grund = prompt("Grund?","Schutz vor Vandalismus"); |
+ | document.editform.wpTextbox1.value = "{{G|" + Grund + "}}\n" + Inhalt; | ||
+ | document.editform.wpSummary.value = "[[Vorlage:G|Artikel versiegelt!]]"; | ||
} | } | ||
− | function | + | |
+ | function Halfprotection(){ | ||
Inhalt = document.editform.wpTextbox1.value; | Inhalt = document.editform.wpTextbox1.value; | ||
− | document.editform.wpTextbox1.value = "{{ | + | var Grund = prompt("Grund?","Schutz vor Vandalismus"); |
− | document.editform.wpSummary.value = " | + | document.editform.wpTextbox1.value = "{{1/2G|" + Grund + "}}\n" + Inhalt; |
+ | document.editform.wpSummary.value = "[[Vorlage:1/2G|Artikel halbversiegelt!]]"; | ||
+ | } | ||
+ | function Neutral(){ | ||
+ | var mark = '{{N}}'; | ||
+ | var Comment = prompt("Kommentar?","Bin mir nicht sicher!"); | ||
+ | document.editform.wpTextbox1.value += '' + mark + ' ' + Comment + ' - ~~~~\n'; | ||
+ | document.editform.wpSummary.value = '[[Benutzer:Gil|Gil]] ist es egal.'; | ||
+ | } | ||
+ | |||
+ | function Contra(){ | ||
+ | var mark = '{{C}}'; | ||
+ | var Comment = prompt("Kommentar?","Ab in die Tonne! "); | ||
+ | document.editform.wpTextbox1.value += '' + mark + ' ' + Comment + ' - ~~~~\n'; | ||
+ | document.editform.wpSummary.value = '[[Benutzer:Gil|Gil]] ist für [[Mülltonne|abschieben]]!'; | ||
+ | } | ||
+ | function Fontstyle(){ | ||
+ | var type = prompt("Schriftarten: serif, cursive, fantasy, times, garamond, impact, script, comic sans ms, modern, courier, calibri, gothicI, gothicE, gothicG",""); | ||
+ | if (type){ | ||
+ | var fontTy = '<font face="' + type + '">'; | ||
+ | javascript:insertTags(fontTy,"</font>","Text hier einfügen") | ||
+ | } | ||
} | } | ||
+ | |||
+ | function Fontsize(){ | ||
+ | var size = prompt("Schriftgröße wählen:",""); | ||
+ | if (size){ | ||
+ | var fontSi = '<div style=font-size:' + size + '%>'; | ||
+ | javascript:insertTags(fontSi,"</div>","Text hier einfügen") | ||
+ | } | ||
+ | } | ||
+ | |||
+ | /* | ||
+ | |||
+ | function recent_hide(){ | ||
+ | if (recent_plusButton == null) recent_plusButton = 'http://www.stupidedia.org/images/a/a9/Lachen.png'; | ||
+ | |||
+ | if (readCookie(recent_cookieName) == 'show'){ | ||
+ | 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'; | ||
+ | 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.overrideMimeType('text/xml'); | ||
+ | request.send(''); | ||
+ | request.onreadystatechange = function(){ | ||
+ | if (request.readyState == 4){ | ||
+ | if (request.status == 200){ | ||
+ | recent_container.innerHTML = request.responseText; | ||
+ | } else { | ||
+ | recent_container.innerHTML = 'Bei dem Versuch, den Server abzufragen trat der Fehler ' + request.status + ' auf.'; | ||
+ | } | ||
+ | } | ||
+ | } | ||
+ | } | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | if (window.addEventListener) | ||
+ | window.addEventListener("load", motivation, false); | ||
+ | else if (window.attachEvent) | ||
+ | window.attachEvent("onload", motivation); | ||
+ | |||
+ | /* L Ö S C H G R Ü N D E */ | ||
+ | /* Der folgende Teil ist autonom und zuständig für das Erstellen von Buttons | ||
+ | bei der Löschbestätigung, mit denen sich Standardlöschgründe einfügen lassen. | ||
+ | Note: Dieses Feature ist nur für Diktatoren brauchbar, und das ist auch gut so! | ||
+ | */ | ||
+ | |||
+ | function add_tabs() | ||
+ | { | ||
+ | var c1 = document.getElementById('column-one'); | ||
+ | var tabs = c1.getElementsByTagName('div')[0].getElementsByTagName('ul')[0]; | ||
+ | |||
+ | //Mein Standard-Lösch-Grund: | ||
+ | if(document.getElementsByName("wpReason")[0] && document.title.indexOf("Artikel verschieben") == -1){ | ||
+ | add2delete('javascript:Useless()','http://www.stupidedia.org/images/7/76/Unn%C3%B6tig.png','Unnötig'); | ||
+ | add2delete('javascript:InsiderArticle()','http://www.stupidedia.org/images/7/72/Insider2.png','Insider'); | ||
+ | add2delete('javascript:Bashing()','http://www.stupidedia.org/images/c/c1/Bashing.png','Bashing'); | ||
+ | add2delete('javascript:DumpArticle()','http://www.stupidedia.org/images/7/7c/Schrott.png','Schrott'); | ||
+ | add2delete('javascript:SL()','http://www.stupidedia.org/images/0/0b/Sldirekt.png','SL'); | ||
+ | add2delete('javascript:TimeOut()','http://www.stupidedia.org/images/8/87/Timeout.png','Zeit vorbei'); | ||
+ | add2delete('javascript:Baust()','http://www.stupidedia.org/images/4/42/In_Arbeit.png','Baustelle'); | ||
+ | add2delete('javascript:license()','http://www.stupidedia.org/images/1/1a/Goldrunenkreis.JPG','Lizenz'); | ||
+ | } | ||
+ | } | ||
+ | |||
+ | if (window.addEventListener) | ||
+ | window.addEventListener("load", add_tabs, false); | ||
+ | else if (window.attachEvent) | ||
+ | window.attachEvent("onload", add_tabs); | ||
+ | |||
+ | function add2delete(url, bild, titel) | ||
+ | { | ||
+ | var container = document.getElementById('contentSub'); | ||
+ | var link = document.createElement('a'); | ||
+ | link.href = url; | ||
+ | link.title = titel; | ||
+ | |||
+ | var image = document.createElement('img'); | ||
+ | image.src = bild; | ||
+ | image.style.height = '22px'; | ||
+ | |||
+ | link.appendChild(image); | ||
+ | container.appendChild(link); | ||
+ | } | ||
+ | function Useless(){ | ||
+ | document.getElementsByName("wpReason")[0].value = "[[Stupidedia:Richtlinien|Zielobjekt gesichtet, Zielobjekt terminiert. Richtlinien lesen!]]"; | ||
+ | } | ||
+ | function InsiderArticle(){ | ||
+ | document.getElementsByName("wpReason")[0].value = "[[Insider|Watt? Wer ist datt denn?]]"; | ||
+ | } | ||
+ | function DumpArticle(){ | ||
+ | document.getElementsByName("wpReason")[0].value = "[[Mülltonne|Another one bites the dust!]]"; | ||
+ | } | ||
+ | function Bashing(){ | ||
+ | document.getElementsByName("wpReason")[0].value = "[[Bashing|Willst du bashen, muss ich löschen!]]"; | ||
+ | } | ||
+ | function SL(){ | ||
+ | document.getElementsByName("wpReason")[0].value = "[[Sub:SL-Direkt|It's time for some heroes. It's time for SL-Direkt!]]"; | ||
+ | |||
+ | |||
+ | } | ||
+ | function TimeOut(){ | ||
+ | document.getElementsByName("wpReason")[0].value = "[[Zeit|Zeit abgelaufen]] bzw. [[Demokratische Diktatur|Mehrheit ist für löschen!]]"; | ||
+ | |||
+ | } | ||
+ | function Baust(){ | ||
+ | document.getElementsByName("wpReason")[0].value = " [[Vorlage:Baustelle|Baustelle vernichtet, Verschwendung von Steuergeldern!]]"; | ||
+ | } | ||
+ | function license(){ | ||
+ | document.getElementsByName("wpReason")[0].value = " [[Stupidedia:Bilderlizenzen|Fehlende Lizenz und/oder Quelle!]]"; | ||
+ | } | ||
+ | if (window.addEventListener) | ||
+ | window.addEventListener("load", motivation, false); | ||
+ | else if (window.attachEvent) | ||
+ | window.attachEvent("onload", motivation); | ||
+ | |||
+ | |||
+ | |||
+ | /* Smiley-Funktion */ | ||
+ | if(document.title.indexOf('Bearbeiten') == 0) | ||
+ | { | ||
+ | if (window.addEventListener) | ||
+ | { | ||
+ | window.addEventListener("load", InsertSmileys, false); | ||
+ | } | ||
+ | else if (window.attachEvent) | ||
+ | window.attachEvent("onload", InsertSmileys); | ||
+ | } | ||
+ | |||
+ | function InsertSmileys(){ | ||
+ | |||
+ | var smileys = []; | ||
+ | |||
+ | smileys[0] = {'img': '[[Datei:smilie.gif]]', 'tag': ':-)'}; | ||
+ | smileys[1] = {'img': 'http://www.stupidedia.org/images/0/0d/Smiley2.png', 'tag': 'Big Smile'}; | ||
+ | |||
+ | smileys[2] = {'img': '[[Datei:img1.gif]]', 'tag': 'spinnert!'}; | ||
+ | smileys[3] = {'img': '[[Datei:S_4.gif]]', 'tag': 'Grübel'}; | ||
+ | smileys[4] = {'img': '[[Datei:arsch.gif]]', 'tag': 'Leck mich'}; | ||
+ | smileys[5] = {'img': '[[Datei:S_32.gif]]', 'tag': 'shocked'}; | ||
+ | smileys[6] = {'img': '[[Datei:S_14.gif]]', 'tag': 'HALLOOOOO!'}; | ||
+ | smileys[7] = {'img': '[[Datei:S_54.gif]]', 'tag': 'Motzen'}; | ||
+ | smileys[8] = {'img': 'http://www.onlinekosten.de/forum/images/smilies/doof.gif', 'tag': 'doof!'}; | ||
+ | smileys[9] = {'img': '[[Datei:thinking.gif]]', 'tag': 'Idee!'}; | ||
+ | smileys[10] = {'img': '[[Datei:S_45.gif]]', 'tag': 'Rofl!'}; | ||
+ | smileys[11] = {'img': '[[Datei:S_49.gif]]', 'tag': 'Frustration'}; | ||
+ | smileys[12] = {'img': '[[Bild:Icon lol2.gif]]', 'tag': 'looooool'}; | ||
+ | smileys[13] = {'img': '[[Bild:Smilie seufz.gif]]', 'tag': 'seufz'}; | ||
+ | smileys[14] = {'img': '[[Bild:Icon schlaeger.gif]]', 'tag': 'Base'}; | ||
+ | smileys[15] = {'img': '[[Bild:Tonne.gif|30px]]', 'tag': 'Tonne!'}; | ||
+ | |||
+ | |||
+ | var div = document.getElementById('toolbar'); | ||
+ | var box = document.createElement('select'); | ||
+ | box.id = 'smileybox'; | ||
+ | var grp = document.createElement('optgroup'); | ||
+ | grp.label = "Smiley einfügen"; | ||
+ | var i = 0; | ||
+ | while (smileys[i]) | ||
+ | { | ||
+ | var item = document.createElement('option'); | ||
+ | item.innerHTML = smileys[i].tag; | ||
+ | item.value = smileys[i].img; | ||
+ | item.addEventListener('click',SmileyInsertion, "false"); | ||
+ | grp.appendChild(item); | ||
+ | i++ | ||
+ | } | ||
+ | |||
+ | box.appendChild(grp); | ||
+ | div.appendChild(box); | ||
+ | |||
+ | } | ||
+ | |||
+ | function SmileyInsertion(){ | ||
+ | |||
+ | insertTags(document.getElementById('smileybox').value,"",""); | ||
+ | |||
+ | } | ||
+ | |||
//</nowiki></pre> | //</nowiki></pre> |
Aktuelle Version vom 2. März 2012, 15:00 Uhr
//<pre><nowiki>
/*
StupidScript v1.1,08-15 STABILE VERSION
*/
var Benutzername = 'Gil';
var Diktator = true;
var linknichtwegmachen = true;
/* Ressourcenintensiv
document.write('<script type="text/javascript" src="'
+ 'http://en.wikipedia.org/w/index.php?title=User:Cacycle/wikEd.js'
+ '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
*/
rein_damit('cookiework');
rein_damit('neues_fenster');
rein_damit('unwatch');
rein_damit('suche');
rein_damit('bearbeiten');
rein_damit('user_navigation');
rein_damit('addlilink');
rein_damit('indexlink');
rein_damit('rv2version');
rein_damit('Sterne');
rein_damit('loeschvorlage_einfügen');
rein_damit('doublelink');
rein_damit('linkchecker');
rein_damit('hilfelinks');
Benutzername = "Gil";
Inhalt = "";
function init(){
add2toolbar('javascript:insertTags("[[Wikipedia:de:","]]","Wikipedialink einfügen")','http://www.stupidedia.org/images/1/12/Wikipedia.png','Interwikilink setzen');
add2toolbar('javascript:InuseArticle()', 'http://www.stupidedia.org/images/8/85/Inuse.png', 'Inuse erstellen');
add2toolbar('javascript:RedirectArticle()','http://www.stupidedia.org/images/9/91/Redirect.png','Weiterleitung erstellen');
add2toolbar('javascript:RedirectArticle2()','http://www.stupidedia.org/images/a/a2/Namensartikel.png', 'Redirect Namensartikel');
add2toolbar('javascript:Conflict()','http://www.stupidedia.org/images/4/4e/Conflict.png','Conflict');
add2toolbar('javascript:CorrectArticle()','http://www.stupidedia.org/images/2/24/Verbesserung.png','Verbesserungsvorlage erstellen');
add2toolbar('javascript:WelcomeUser()','http://www.stupidedia.org/images/4/42/Welcome.png','Benutzer Willkommenheissen');
add2toolbar('javascript:WIP()','http://www.stupidedia.org/images/9/93/Welcome_IP.png','IP Einladen');
add2toolbar('javascript:insertTags("{{","}}","Gewünschte Vorlage hier einfügen")','http://www.stupidedia.org/images/4/48/Vorlage.png','Vorlage einfügen');
add2toolbar('javascript:insertTags("=== "," ===","Ebene 3 Überschrift")','http://www.stupidedia.org/images/e/e7/Ebene_3.png','Ebene 3 Überschrift');
add2toolbar('javascript:GreenCard()','http://www.stupidedia.org/images/6/64/Greencard.png','Grüne Karte');
add2toolbar('javascript:Extimg()','http://www.stupidedia.org/images/2/26/Extimg.png','Externes Bild');
add2toolbar('javascript:ColorOn()','http://www.stupidedia.org/images/7/77/Schriftfarbe.png','Text einfärben');
add2toolbar('javascript:ColorBackground()','http://www.stupidedia.org/images/d/de/Hintergrundfarbe.png','Texthintergrund einfärben');
add2toolbar('javascript:insertTags("<!--","-->","Unsichtbaren Text hier einfügen")','http://www.stupidedia.org/images/a/a5/ASE.gif','Unsichtbarer Text');
add2toolbar('javascript:FindReplace()', 'http://www.stupidedia.org/images/b/b6/Ersetzen.png','Text ersetzen');
add2toolbar('javascript:insertTags("<span style=text-decoration:blink;>","</span>","Blinkschrift hier einfügen")','http://www.stupidedia.org/images/8/8c/Blink.PNG','Blinkschrift');
add2toolbar('javascript:insertTags("<s>","</s>","Durchgestrichenen Text hier einfügen")','http://www.stupidedia.org/images/7/73/Durchstreichen.png','Durchgestrichenen Text einfügen');
add2toolbar('javascript:insertTags("<u>","</u>","Unterstrichenen Text hier einfügen")','http://www.stupidedia.org/images/8/82/Unterstreichen.png','Unterstrichenen Text einfügen');
add2toolbar('javascript:insertTags("<big>","</big>","Großen Text einfügen")','http://www.stupidedia.org/images/c/cc/Big.png','Großen Text einfügen');
add2toolbar('javascript:insertTags("<small>","</small>","Kleinen Text einfügen")','http://www.stupidedia.org/images/b/b6/Small.png','Kleinen Text einfügen');
add2toolbar('javascript:insertTags("<sub>","</sub>","Tiefgestellten Text einfügen")','http://www.stupidedia.org/images/6/67/Sub.png','Tiefgestellten Text einfügen');
add2toolbar('javascript:insertTags("<sup>","</sup>","Hochgestellten Text einfügen")','http://www.stupidedia.org/images/f/f3/Sup.png','Hochgestellten Text einfügen');
add2toolbar('javascript:insertTags("<center>","</center>","Zentrieren")','http://www.stupidedia.org/images/5/56/Center.png','Zentrieren');
add2toolbar('javascript:insertTags("<div align=right>","</div>","Rechts ausgerichteten Text einfügen")','http://www.stupidedia.org/images/0/02/Right.PNG','Text nach Rechts ausrichten');
add2toolbar('javascript:insertTags("<br>","","")','http://www.stupidedia.org/images/4/44/Zeilenumbruch.png','Zeilenumbruch');
add2toolbar('javascript:insertTags("<br style=clear:both />","","")','http://www.stupidedia.org/images/e/e8/Absatz.png','Großabsatz setzen');
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:Baustelle()','http://www.stupidedia.org/images/e/e0/Baustelle.gif','Baustelle');
add2toolbar('javascript:Double()','http://www.stupidedia.org/images/0/02/Doppelt.png','Überschneidung');
add2toolbar('javascript:Stub()','http://www.stupidedia.org/images/f/fe/Stub.png','Stub');
add2toolbar('javascript:InterneLinks()','http://www.stupidedia.org/images/0/0d/Interne_Links.png','Vorlage:Interne Links setzen');
add2toolbar('javascript:KK()','http://www.stupidedia.org/images/3/34/Keine_Kategorie.png','Vorlage:KK setzen');
add2toolbar('javascript:Rechtschreibung()','http://www.stupidedia.org/images/a/ab/Rechtschreibung.png','Vorlage:Rechtschreibung setzen');
add2toolbar('javascript:Format()','http://www.stupidedia.org/images/6/6c/Format.png','Vorlage:Format setzen');
add2toolbar('javascript:UL()','http://www.stupidedia.org/images/d/de/Unsinnige_Links.png','Vorlage:UL setzen');
add2toolbar('javascript:UK()','http://www.stupidedia.org/images/6/60/VUK.PNG','Vorlage:UK setzen');
add2toolbar('javascript:Form()','http://www.stupidedia.org/images/d/d0/Form.png','Vorlage:Form setzen');
add2toolbar('javascript:Pic()','http://www.stupidedia.org/images/8/82/BrokenImage.PNG','Vorlage:Pic setzen');
add2toolbar('javascript:Message()', 'http://www.stupidedia.org/images/a/a5/Message.png', 'Mitteilung schreiben');
add2toolbar('javascript:UsePreview();','http://www.stupidedia.org/images/7/75/Preview.png','Vorschau-Button benutzen');
add2toolbar('javascript:Stop()', 'http://www.stupidedia.org/images/f/f9/Stop.png', 'Stop Warnung setzen');
add2toolbar('javascript:SLA()', 'http://www.stupidedia.org/images/0/06/SL-Autor.png', 'SL Autor');
add2toolbar('javascript:insertTags(" http://www.stupidedia.org/images/6/63/Laugth.gif ","","")','http://www.stupidedia.org/images/8/80/Smiley.png','Smiley setzen');
add2toolbar('javascript:insertTags("[[Benutzer:","|","]]","Benutzername hier einfügen")','http://www.stupidedia.org/images/5/5b/Benutzer.png','Userlink setzen');
add2toolbar('javascript:insertTags("[[Kategorie:","]]","Kategorie hier einfügen")','http://www.stupidedia.org/images/3/3c/Kategorie.png','Kategorie setzen');
add2toolbar('javascript:YellowCard()','http://www.stupidedia.org/images/5/5c/Gelbe_Karte.png','Gelbe Karte');
add2toolbar('javascript:YellowRedCard()','http://www.stupidedia.org/images/0/0a/Gelb-Rote_Karte.png','Gelb-Rote Karte');
add2toolbar('javascript:RedCard()','http://www.stupidedia.org/images/c/cc/Rote_Karte.png','Rote Karte');
add2toolbar('javascript:insertTags("„<i>","</i>“","Zitat hier einfügen")','http://www.stupidedia.org/images/9/97/Zitat.png','Zitat setzen');
add2toolbar('javascript:Jury()','http://www.stupidedia.org/images/1/13/Jurybutton.png','Contest Beitrag bewerten');
add2toolbar('javascript:BadSig()','http://www.stupidedia.org/images/0/06/BadSig.png','Benutzer wegen Signatur anmeckern');
add2toolbar('javascript:Lizenz()','http://www.stupidedia.org/images/d/d0/Nolicensebutton.PNG', 'Lizenz!-Vorlage');
add2toolbar('javascript:NolicenseUser()','http://www.stupidedia.org/images/4/4c/Nolicenseusernb3.png', 'Nolicense-User-Diskussionsvorlage');
add2toolbar('javascript:insertTags("<includeonly>","</includeonly>","Includeonly")','http://www.stupidedia.org/images/d/df/Includeonly.PNG','Includeonly');
add2toolbar('javascript:insertTags("<noinclude>","</noinclude>","Noinclude")','http://www.stupidedia.org/images/5/58/Noinclude.PNG','Noinclude');
add2toolbar('javascript:Pro()','http://www.stupidedia.org/images/9/94/Pro.png', 'Pro setzen');
add2toolbar('javascript:Neutral()','http://www.stupidedia.org/images/4/4d/Neut.png', 'Neutral setzen');
add2toolbar('javascript:Contra()','http://www.stupidedia.org/images/c/c4/Contra.png', 'Contra setzen');
add2toolbar('javascript:Fontstyle()','http://stupidedia.org/images/1/11/Schriftart.PNG', 'Schriftart wählen');
add2toolbar('javascript:Fontsize()','http://www.stupidedia.org/images/4/47/Fontsizebg4.png', 'Schriftgröße wählen');
add2toolbar('javascript:buegeln()','http://www.stupidedia.org/images/6/6b/Buegeleisen.jpg','Frisch gebügelt');
add2toolbar('javascript:Halfprotection()','http://www.stupidedia.org/images/8/84/Silberschloss.png','Seite als Halbgesperrt kennzeichnen');
add2toolbar('javascript:Fullprotection()','http://www.stupidedia.org/images/d/df/Goldschloss.png','Seite als Gesperrt kennzeichnen');
add2toolbar('javascript:Verwaist()','http://www.stupidedia.org/images/4/49/Traurig.jpg','als verwaist kennzeichnen');
deleteButton(6);
deleteButton(7);
deleteButton(8);
if(wgCanonicalNamespace == 'User_talk')add2toolbar('javascript:insertTags("{{Benutzer:Ali-kr/Bilderupload|"+wgUserName+"|"+prompt(\'Kommentar?\')+"}}", "", "")', 'http://www.stupidedia.org/images/6/62/Clear.png', 'Hinweis zum Bilderupload');
}
function deleteButton(Nr){
document.getElementById('toolbar').getElementsByTagName("img")[Nr].style.display = "none";
}
function add2toolbar(url, bild, titel)
{
var container = document.getElementById('toolbar');
var link = document.createElement('a');
link.href = url;
link.title = titel;
var image = document.createElement('img');
image.src = bild;
image.style.height = '21px';
image.style.width = '22px';
link.appendChild(image);
container.appendChild(link);
}
if(document.title.indexOf('Bearbeiten') == 0)
{
if (window.addEventListener)
{
window.addEventListener("load", init, false);
}
else if (window.attachEvent)
window.attachEvent("onload", init);
}
function CloseDiv(){
var div = document.getElementById('LV');
div.parentNode.removeChild(div);
}
function InterneLinks(){
Inhalt = document.editform.wpTextbox1.value;
document.editform.wpTextbox1.value = "{{IL}}\n" + Inhalt;
document.editform.wpSummary.value = "[[Vorlage:IL|Intern verlinken!]]";
}
function KK(){
Inhalt = document.editform.wpTextbox1.value;
document.editform.wpTextbox1.value = "{{KK}}\n" + Inhalt;
document.editform.wpSummary.value = "[[Vorlage:KK|Kategorisieren!]]";
}
function Rechtschreibung(){
Inhalt = document.editform.wpTextbox1.value;
document.editform.wpTextbox1.value = "{{R}}\n" + Inhalt;
document.editform.wpSummary.value = "[[Vorlage:R|Rechtschreibung inakzeptabel!]]";
}
function Format(){
Inhalt = document.editform.wpTextbox1.value;
document.editform.wpTextbox1.value = "{{F}}\n" + Inhalt;
document.editform.wpSummary.value = "[[Vorlage:F|Formatieren, Übersichtlichkeit herstellen!]]";
}
function Form(){
Inhalt = document.editform.wpTextbox1.value;
document.editform.wpTextbox1.value = "{{Form}}\n" + Inhalt;
document.editform.wpSummary.value = "[[Vorlage:Form|Formulierung ändern, enzyklopädisch!]]";
}
function UL(){
Inhalt = document.editform.wpTextbox1.value;
document.editform.wpTextbox1.value = "{{UL}}\n" + Inhalt;
document.editform.wpSummary.value = "[[Vorlage:UL|Rote Links weg, blaue hinein!]]";
}
function UK(){
Inhalt = document.editform.wpTextbox1.value;
document.editform.wpTextbox1.value = "{{UK}}\n" + Inhalt;
document.editform.wpSummary.value = "[[Vorlage:UK|Unpassende Kategorien!]]";
}
function Lizenz(){
Inhalt = document.editform.wpTextbox1.value;
document.editform.wpTextbox1.value = "{{Lizenz!}}" + Inhalt;
document.editform.wpSummary.value = "[[Vorlage:Lizenz!|Lizenzangaben! Sofort!]]";
}
function Pic(){
Inhalt = document.editform.wpTextbox1.value;
document.editform.wpTextbox1.value = "{{Pic}}\n" + Inhalt;
document.editform.wpSummary.value = "[[Vorlage:Pic|Bilder überprüfen!]]";
}
function Conflict(){
Inhalt = document.editform.wpTextbox1.value;
document.editform.wpTextbox1.value = "{{Conflict}}\n" + Inhalt;
document.editform.wpSummary.value = "[[Vorlage:Conflict|Es gibt einen Konflikt!]]";
}
function QO(){
Inhalt = document.editform.wpTextbox1.value;
document.editform.wpTextbox1.value = "{{QO|{{Subst:Datum}}}}\n" + Inhalt;
document.editform.wpSummary.value = "[[Vorlage:QO|Qualitätsoffensive!]]";
}
function Stub(){
Inhalt = document.editform.wpTextbox1.value;
document.editform.wpTextbox1.value = "{{Stub|{{Subst:Datum}}}}\n" + Inhalt;
document.editform.wpSummary.value = "[[Vorlage:Stub|Stub, da muss noch mehr kommen!]]";
}
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 + "}}\n" + Inhalt;
document.editform.wpSummary.value = "Post von Gil";
}
function RedirectArticle(){
var DirectSite = prompt("Zielartikel?","Unlustig");
document.editform.wpTextbox1.value = "#Redirect [[" + DirectSite + "]]";
document.editform.wpSummary.value = "Redirect nach [[" + DirectSite + "]]";
}
function RedirectArticle2(){
document.editform.wpTextbox1.value = "#Redirect [[Namensartikel]]";
document.editform.wpSummary.value = "Redirect nach [[Namensartikel]]";
}
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 CorrectArticle(){
Inhalt = document.editform.wpTextbox1.value;
var iLink = prompt("Interne Links überprüfen?","Einfügen, da keine/zu wenige/zuviel rote vorhanden");
var Category = prompt("Kategorisieren?","Ja und/oder verbessern!");
var Syntax = prompt("Rechtschreibung verbessern?","Ja, stellenweise");
var Format = prompt("Formatieren?","Zeilenumbrüche, Aufzählungszeichen und Überschriften setzen");
var Pictures = prompt("Bilder überprüfen?","Nein");
var Waise= prompt("Entwaisen?","Nein");
var Comment = prompt("Commentar:","[[Sub:SL-Direkt|SL-Direkt is watching you!]]");
document.editform.wpTextbox1.value = "{{V|" + iLink + "|" + Category + "|" + Syntax + "|" + Format + "|" + Pictures + "|" + Comment + "}}\n" + Inhalt;
document.editform.wpSummary.value = "Verbesserungsprogramm eingesetzt";
}
function InuseArticle(){
Inhalt = document.editform.wpTextbox1.value;
document.editform.wpTextbox1.value = "{{Inuse|" + Benutzername + "}}" + Inhalt;
document.editform.wpSummary.value = "3, 2, 1 - Meins!";
}
function BadSig(){
Inhalt = document.editform.wpTextbox1.value;
var userSig = prompt("Benutzername und Signaturpfad des Übeltäters?","Muster/Sig");
var reason = prompt("Zu hoch, zu breit, zu blöd?","breit");
document.editform.wpTextbox1.value = "{{BadSig|" + userSig + "|" + reason + "|" + Benutzername + "}}\n" + Inhalt;
document.editform.wpSummary.value = "Signatur bemängelt!";
}
function Double(){
Inhalt = document.editform.wpTextbox1.value;
var pageone = prompt("Erster Artikel?","");
var pagetwo = prompt("Zweiter Artikel?","");
document.editform.wpTextbox1.value = "{{Überschneidung|" + pageone + "|" + pagetwo + "}}\n" + Inhalt;
document.editform.wpSummary.value = "[[Vorlage:Überschneidung|Überschneidung]]";
}
function UsePreview(){
var Article = prompt('Gemeinter Artikel');
if(Article != ''){
Inhalt = document.editform.wpTextbox1.value;
document.editform.wpTextbox1.value = '{{Vorschau|' + Article + '}}\n' + Inhalt;
document.editform.wpSummary.value = "[[Vorlage:Vorschau|Erst gucken, dann speichern!]]";
}
}
function WelcomeUser(){
Inhalt = document.editform.wpTextbox1.value;
document.editform.wpTextbox1.value = "{{W|" + Benutzername + "}}" + Inhalt;
document.editform.wpSummary.value = "Willkommen bei Stupidedia, der heimlichen Propagandaseite der Scientology!";
if(confirm("Kommentar hinzufügen?"))
{
var Comment = prompt("Kommentar:","");
document.editform.wpTextbox1.value += "<p>P.P.S: " + Comment + " - Gruß, ~~~~";
}
}
function WIP(){
Inhalt = document.editform.wpTextbox1.value;
document.editform.wpTextbox1.value = "{{WIP|" + Benutzername + "}}" + Inhalt;
document.editform.wpSummary.value = "Lust anzumelden?";
if(confirm("Kommentar hinzufügen?"))
{
var Comment = prompt("Kommentar:","");
document.editform.wpTextbox1.value += "<p>P.P.S:" + Comment + " - Gruß, ~~~~";
}
}
function Stop(){
document.editform.wpTextbox1.value = "{{Stop}}";
document.editform.wpSummary.value = "[[Vorlage:Stop|Stop!]] ";
}
function SLA(){
Inhalt = document.editform.wpTextbox1.value;
document.editform.wpTextbox1.value = "{{SLA|" + Benutzername + "}}\n" + Inhalt;
document.editform.wpSummary.value = "Hinweis für SL-Autor!";
}
function Verwaist(){
Inhalt = document.editform.wpTextbox1.value;
document.editform.wpTextbox1.value = "{{Verwaist}}\n" + Inhalt;
document.editform.wpSummary.value = "[[Vorlage:Verwaist|Waisenkind!]]";
}
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 Extimg(){
var name = prompt("Bildbeschreibung:","");
if (name){
var description = '|' + name + '}}';
javascript:insertTags('{{Extimg|',description,"Bild-URL hier einfügen");
}
}
function ColorOn(){
var color = prompt("Farbwert eingeben:","");
if (color){
var fontCo = '<font color="' + color + '">';
javascript:insertTags(fontCo,"</font>","Text hier einfügen")
}
}
function ColorBackground(){
var color = prompt("Farbwert eingeben:","");
if (color){
var fontCo = '<font style="background:' + color + '">';
javascript:insertTags(fontCo,"</font>","Text hier einfügen")
}
}
function YellowCard(){
var image = '*<span class=plain>[http://www.stupidedia.org/stupi/Stupidedia:Richtlinien#Recht_.26_Ordnung.2C_Strafverfolgung_und_Disziplinarma.C3.9Fnahmen http://www.stupidedia.org/images/2/28/GelbeKarte.jpg]</span>';
var Comment = prompt("Grund?","Gelbe Karte wegen Vandalismus!");
document.editform.wpTextbox1.value += '' + image + ' ' + Comment + ' - ~~~~\n';
document.editform.wpSummary.value = '[[Stupidedia:Richtlinien#Recht & Ordnung, Strafverfolgung und Disziplinarmaßnahmen|Gelbe Karte. 1. Verwarnung!]]';
}
function YellowRedCard(){
var image = '*<span class=plain>[http://www.stupidedia.org/stupi/Stupidedia:Richtlinien#Recht_.26_Ordnung.2C_Strafverfolgung_und_Disziplinarma.C3.9Fnahmen http://www.stupidedia.org/images/c/ce/GelbRoteKarte.PNG]</span>';
var Comment = prompt("Grund?","Gelb-Rote Karte wegen Vandalismus. Beim nächsten Mal erfolgt Sperre!");
document.editform.wpTextbox1.value += '' + image + ' ' + Comment + ' - ~~~~\n';
document.editform.wpSummary.value = '[[Stupidedia:Richtlinien#Recht & Ordnung, Strafverfolgung und Disziplinarmaßnahmen|Gelb-Rote Karte. 2. Verwarnung!]]';
}
function RedCard(){
var image = '*<span class=plain>[http://www.stupidedia.org/stupi/Stupidedia:Richtlinien#Recht_.26_Ordnung.2C_Strafverfolgung_und_Disziplinarma.C3.9Fnahmen http://www.stupidedia.org/images/2/2a/RoteKarte.jpg]</span>';
var Comment = prompt("Grund?","Rote Karte und Sperre wegen Vandalismus!");
document.editform.wpTextbox1.value += '' + image + ' ' + Comment + ' - ~~~~\n';
document.editform.wpSummary.value = '[[Stupidedia:Richtlinien#Recht & Ordnung, Strafverfolgung und Disziplinarmaßnahmen|Rote Karte und Aussperrung!]]';
}
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 + "|green|yellow}}";
document.editform.wpSummary.value = "Bewertung abgegeben";
}
function Lizenz(){
Inhalt = document.editform.wpTextbox1.value;
document.editform.wpTextbox1.value += "{{Lizenz!|{{subst:CURRENTYEAR}}/{{subst:CURRENTMONTH}}/{{subst:CURRENTDAY}}}}";
document.editform.wpSummary.value = "[[Stupidedia:Bilderlizenzen|Lizenz und/oder Quelle angeben!]]";
}
function NolicenseUser(){
Inhalt = document.editform.wpTextbox1.value;
document.editform.wpTextbox1.value += "{{Nolicenseuser|" + Benutzername + "}}";
document.editform.wpSummary.value = "[[Stupidedia:Bilderlizenzen|Lizenzangaben und/oder Quelle fehlen!]]";
}
function Baustelle(){
Inhalt = document.editform.wpTextbox1.value;
var Kommentar = prompt("Kommentar?","Inhaltlich zu kurz/schwach! Formal ungenügend! Bitte unbedingt die [[Stupidedia:Qualitätsanforderung|Qualitätsanforderung]] lesen!");
document.editform.wpTextbox1.value = "{{Baustelle|" + Kommentar + "}}\n" + Inhalt;
document.editform.wpSummary.value = "[[Vorlage:Baustelle|Baustelle! Das reicht nicht!]]";
}
function GreenCard(){
var image = '<span class=plain>[http://www.stupidedia.org/stupi/Super http://www.stupidedia.org/images/8/8d/Greencard.jpg]</span>';
var Comment = prompt("Grund?","Grüne Karte wegen außerordentlich guten Leistungen. Gilt als Freifahrtsschein für weiteren Unsinn ;-)");
document.editform.wpTextbox1.value += '' + image + ' ' + Comment + ' - ~~~~\n';
document.editform.wpSummary.value = '[[Super|Grüne Karte als Anerkennung!]]';
}
function Pro(){
var mark = '{{P}}';
var Comment = prompt("Kommentar?","Behalten!");
document.editform.wpTextbox1.value += '' + mark + ' ' + Comment + ' - ~~~~\n';
document.editform.wpSummary.value = '[[Benutzer:Gil|Gil]] ist für [[Gut|Einbürgerung]]!';
}
function buegeln(){
Inhalt = document.editform.wpTextbox1.value;
document.editform.wpSummary.value = "[[Bügeleisen|Drübergebügelt]]";
}
function Fullprotection(){
Inhalt = document.editform.wpTextbox1.value;
var Grund = prompt("Grund?","Schutz vor Vandalismus");
document.editform.wpTextbox1.value = "{{G|" + Grund + "}}\n" + Inhalt;
document.editform.wpSummary.value = "[[Vorlage:G|Artikel versiegelt!]]";
}
function Halfprotection(){
Inhalt = document.editform.wpTextbox1.value;
var Grund = prompt("Grund?","Schutz vor Vandalismus");
document.editform.wpTextbox1.value = "{{1/2G|" + Grund + "}}\n" + Inhalt;
document.editform.wpSummary.value = "[[Vorlage:1/2G|Artikel halbversiegelt!]]";
}
function Neutral(){
var mark = '{{N}}';
var Comment = prompt("Kommentar?","Bin mir nicht sicher!");
document.editform.wpTextbox1.value += '' + mark + ' ' + Comment + ' - ~~~~\n';
document.editform.wpSummary.value = '[[Benutzer:Gil|Gil]] ist es egal.';
}
function Contra(){
var mark = '{{C}}';
var Comment = prompt("Kommentar?","Ab in die Tonne! ");
document.editform.wpTextbox1.value += '' + mark + ' ' + Comment + ' - ~~~~\n';
document.editform.wpSummary.value = '[[Benutzer:Gil|Gil]] ist für [[Mülltonne|abschieben]]!';
}
function Fontstyle(){
var type = prompt("Schriftarten: serif, cursive, fantasy, times, garamond, impact, script, comic sans ms, modern, courier, calibri, gothicI, gothicE, gothicG","");
if (type){
var fontTy = '<font face="' + type + '">';
javascript:insertTags(fontTy,"</font>","Text hier einfügen")
}
}
function Fontsize(){
var size = prompt("Schriftgröße wählen:","");
if (size){
var fontSi = '<div style=font-size:' + size + '%>';
javascript:insertTags(fontSi,"</div>","Text hier einfügen")
}
}
/*
function recent_hide(){
if (recent_plusButton == null) recent_plusButton = 'http://www.stupidedia.org/images/a/a9/Lachen.png';
if (readCookie(recent_cookieName) == 'show'){
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';
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.overrideMimeType('text/xml');
request.send('');
request.onreadystatechange = function(){
if (request.readyState == 4){
if (request.status == 200){
recent_container.innerHTML = request.responseText;
} else {
recent_container.innerHTML = 'Bei dem Versuch, den Server abzufragen trat der Fehler ' + request.status + ' auf.';
}
}
}
}
if (window.addEventListener)
window.addEventListener("load", motivation, false);
else if (window.attachEvent)
window.attachEvent("onload", motivation);
/* L Ö S C H G R Ü N D E */
/* Der folgende Teil ist autonom und zuständig für das Erstellen von Buttons
bei der Löschbestätigung, mit denen sich Standardlöschgründe einfügen lassen.
Note: Dieses Feature ist nur für Diktatoren brauchbar, und das ist auch gut so!
*/
function add_tabs()
{
var c1 = document.getElementById('column-one');
var tabs = c1.getElementsByTagName('div')[0].getElementsByTagName('ul')[0];
//Mein Standard-Lösch-Grund:
if(document.getElementsByName("wpReason")[0] && document.title.indexOf("Artikel verschieben") == -1){
add2delete('javascript:Useless()','http://www.stupidedia.org/images/7/76/Unn%C3%B6tig.png','Unnötig');
add2delete('javascript:InsiderArticle()','http://www.stupidedia.org/images/7/72/Insider2.png','Insider');
add2delete('javascript:Bashing()','http://www.stupidedia.org/images/c/c1/Bashing.png','Bashing');
add2delete('javascript:DumpArticle()','http://www.stupidedia.org/images/7/7c/Schrott.png','Schrott');
add2delete('javascript:SL()','http://www.stupidedia.org/images/0/0b/Sldirekt.png','SL');
add2delete('javascript:TimeOut()','http://www.stupidedia.org/images/8/87/Timeout.png','Zeit vorbei');
add2delete('javascript:Baust()','http://www.stupidedia.org/images/4/42/In_Arbeit.png','Baustelle');
add2delete('javascript:license()','http://www.stupidedia.org/images/1/1a/Goldrunenkreis.JPG','Lizenz');
}
}
if (window.addEventListener)
window.addEventListener("load", add_tabs, false);
else if (window.attachEvent)
window.attachEvent("onload", add_tabs);
function add2delete(url, bild, titel)
{
var container = document.getElementById('contentSub');
var link = document.createElement('a');
link.href = url;
link.title = titel;
var image = document.createElement('img');
image.src = bild;
image.style.height = '22px';
link.appendChild(image);
container.appendChild(link);
}
function Useless(){
document.getElementsByName("wpReason")[0].value = "[[Stupidedia:Richtlinien|Zielobjekt gesichtet, Zielobjekt terminiert. Richtlinien lesen!]]";
}
function InsiderArticle(){
document.getElementsByName("wpReason")[0].value = "[[Insider|Watt? Wer ist datt denn?]]";
}
function DumpArticle(){
document.getElementsByName("wpReason")[0].value = "[[Mülltonne|Another one bites the dust!]]";
}
function Bashing(){
document.getElementsByName("wpReason")[0].value = "[[Bashing|Willst du bashen, muss ich löschen!]]";
}
function SL(){
document.getElementsByName("wpReason")[0].value = "[[Sub:SL-Direkt|It's time for some heroes. It's time for SL-Direkt!]]";
}
function TimeOut(){
document.getElementsByName("wpReason")[0].value = "[[Zeit|Zeit abgelaufen]] bzw. [[Demokratische Diktatur|Mehrheit ist für löschen!]]";
}
function Baust(){
document.getElementsByName("wpReason")[0].value = " [[Vorlage:Baustelle|Baustelle vernichtet, Verschwendung von Steuergeldern!]]";
}
function license(){
document.getElementsByName("wpReason")[0].value = " [[Stupidedia:Bilderlizenzen|Fehlende Lizenz und/oder Quelle!]]";
}
if (window.addEventListener)
window.addEventListener("load", motivation, false);
else if (window.attachEvent)
window.attachEvent("onload", motivation);
/* Smiley-Funktion */
if(document.title.indexOf('Bearbeiten') == 0)
{
if (window.addEventListener)
{
window.addEventListener("load", InsertSmileys, false);
}
else if (window.attachEvent)
window.attachEvent("onload", InsertSmileys);
}
function InsertSmileys(){
var smileys = [];
smileys[0] = {'img': '[[Datei:smilie.gif]]', 'tag': ':-)'};
smileys[1] = {'img': 'http://www.stupidedia.org/images/0/0d/Smiley2.png', 'tag': 'Big Smile'};
smileys[2] = {'img': '[[Datei:img1.gif]]', 'tag': 'spinnert!'};
smileys[3] = {'img': '[[Datei:S_4.gif]]', 'tag': 'Grübel'};
smileys[4] = {'img': '[[Datei:arsch.gif]]', 'tag': 'Leck mich'};
smileys[5] = {'img': '[[Datei:S_32.gif]]', 'tag': 'shocked'};
smileys[6] = {'img': '[[Datei:S_14.gif]]', 'tag': 'HALLOOOOO!'};
smileys[7] = {'img': '[[Datei:S_54.gif]]', 'tag': 'Motzen'};
smileys[8] = {'img': 'http://www.onlinekosten.de/forum/images/smilies/doof.gif', 'tag': 'doof!'};
smileys[9] = {'img': '[[Datei:thinking.gif]]', 'tag': 'Idee!'};
smileys[10] = {'img': '[[Datei:S_45.gif]]', 'tag': 'Rofl!'};
smileys[11] = {'img': '[[Datei:S_49.gif]]', 'tag': 'Frustration'};
smileys[12] = {'img': '[[Bild:Icon lol2.gif]]', 'tag': 'looooool'};
smileys[13] = {'img': '[[Bild:Smilie seufz.gif]]', 'tag': 'seufz'};
smileys[14] = {'img': '[[Bild:Icon schlaeger.gif]]', 'tag': 'Base'};
smileys[15] = {'img': '[[Bild:Tonne.gif|30px]]', 'tag': 'Tonne!'};
var div = document.getElementById('toolbar');
var box = document.createElement('select');
box.id = 'smileybox';
var grp = document.createElement('optgroup');
grp.label = "Smiley einfügen";
var i = 0;
while (smileys[i])
{
var item = document.createElement('option');
item.innerHTML = smileys[i].tag;
item.value = smileys[i].img;
item.addEventListener('click',SmileyInsertion, "false");
grp.appendChild(item);
i++
}
box.appendChild(grp);
div.appendChild(box);
}
function SmileyInsertion(){
insertTags(document.getElementById('smileybox').value,"","");
}
//</nowiki></pre>