Benutzer:YaganZ/common.js

Hallo, Sie haben hier nach der Bedeutung des Wortes Benutzer:YaganZ/common.js gesucht. In DICTIOUS findest du nicht nur alle Wörterbuchbedeutungen des Wortes Benutzer:YaganZ/common.js, sondern erfährst auch etwas über seine Etymologie, seine Eigenschaften und wie man Benutzer:YaganZ/common.js in der Einzahl und Mehrzahl ausspricht. Hier finden Sie alles, was Sie über das Wort Benutzer:YaganZ/common.js wissen müssen. Die Definition des Wortes Benutzer:YaganZ/common.js wird Ihnen helfen, beim Sprechen oder Schreiben Ihrer Texte präziser und korrekter zu sein. Wenn Sie die Definition vonBenutzer:YaganZ/common.js und die anderer Wörter kennen, bereichern Sie Ihren Wortschatz und verfügen über mehr und bessere sprachliche Mittel.
//<nowiki>

// Benutzer:YaganZ/common.js
// 2016-11-06 -- V3 --
// 2015-09-29
// var toolbox = document.getElementById("toolbar") || document.getElementById("wikiEditor-ui-toolbar");
// 2013-09-14
// var toolbox = document.getElementById("wpSummaryLabel");
// var toolbox = document.getElementById("editpage-copywarn");

// Quelle: Benutzer:Yoursmile/common.js
// Änderung des Objekt-Id auf
// var toolbox = document.getElementById("sonderzeichenleiste");

/*
importScript("Benutzer:Yair rand/TabbedLanguages.js");
mw.loader.load('https://de.wikipedia.orghttps://de.wiktionary.org/w/index.php?title=user:lustiger_seth/unsigned.js&action=raw&ctype=text/javascript&smaxage=2678400');
importScript("Benutzer:Formatierer/filter.js");

if ($.inArray(mw.config.get('wgNamespaceNumber'), ) === -1) {
    mw.loader.load('//de.wikipedia.orghttps://de.wiktionary.org/w/index.php?title=Benutzer:Schnark/js/section-links.js' + '&action=raw&ctype=text/javascript');
 }
*/

window.checkpage = window.checkpage || {};
window.checkpage.FlexionSimulieren = true;
window.checkpage.LautschriftVorschlagen = true;

$(window).load(loadButtons);
 
function loadButtons()
	{
	var buttons = '<div id="stafgjafi" style="margin-top:3px; margin-bottom: 10px; border-style:solid; border-width:1px; border-color:#aaa; padding:0.3em; text-align:left; background-color:white; width:100%; font-size:12px; font-family:sans-serif;">';
	var toolbox = document.getElementById("toolbar") || document.getElementById("wikiEditor-ui-toolbar");

	if (toolbox)
		{

		// Íslenska: Æ æ Ð ð Þ þ
		buttons += '<b>Íslenska: </b>';
		buttons += '<a title="Æ" href="javascript:isAe()">Æ</a>';
		buttons += ' ';
		buttons += '<a title="æ" href="javascript:isae()">æ</a>';
		buttons += ' ';
		buttons += '<a title="Ð" href="javascript:isDh()">Ð</a>';
		buttons += ' ';
		buttons += '<a title="ð" href="javascript:isdh()">ð</a>';
		buttons += ' ';
		buttons += '<a title="Þ" href="javascript:isTh()">Þ</a>';
		buttons += ' ';
		buttons += '<a title="þ" href="javascript:isth()">þ</a>';
		buttons += ' • ';

		// Caractere românești: Ă ă Â â Î î Ș ș Ț ț „” «»
		buttons += '<b>Românește: </b>';
		buttons += '<a title="Ă" href="javascript:roAe()">Ă</a>';
		buttons += ' ';
		buttons += '<a title="ă" href="javascript:roae()">ă</a>';
		buttons += ' ';
		buttons += '<a title="Â" href="javascript:roAi()">Â</a>';
		buttons += ' ';
		buttons += '<a title="â" href="javascript:roai()">â</a>';
		buttons += ' ';
		buttons += '<a title="Î" href="javascript:roIi()">Î</a>';
		buttons += ' ';
		buttons += '<a title="î" href="javascript:roii()">î</a>';
		buttons += ' ';
		buttons += '<a title="Ș" href="javascript:roSh()">Ș</a>';
		buttons += ' ';
		buttons += '<a title="ș" href="javascript:rosh()">ș</a>';
		buttons += ' ';
		buttons += '<a title="Ț" href="javascript:roTs()">Ț</a>';
		buttons += ' ';
		buttons += '<a title="ț" href="javascript:rots()">ț</a>';
		buttons += ' ';
		buttons += '<a title="„”" href="javascript:roGhi()">„”</a>';
		buttons += ' ';
		buttons += '<a title="«»" href="javascript:roghi()">«»</a>';
		buttons += ' • ';

		// IPA: ə e̯a e̯o̯a ɨ o̯a ʒ ʤ ʃ ʦ ʧ θ ɛː kʰ kʲ ʏ ɪ ɣ ˈøyː ˈœː ɔ ð ŋ aʊ
		buttons += '<b>IPA: </b>';
		buttons += '<a title="ʤ" href="javascript:ipdzh()">ʤ</a>  ';
		buttons += '<a title="e̯a" href="javascript:ipea()">e̯a</a>  ';
		buttons += '<a title="ə" href="javascript:iper()">ə</a>  ';
		buttons += '<a title="ɛː" href="javascript:ipetl()">ɛː</a>  ';
		buttons += '<a title="ɨ" href="javascript:ipii()">ɨ</a>  ';
		buttons += '<a title="o̯a" href="javascript:ipoa()">o̯a</a>  ';
		buttons += '<a title="ˈœː" href="javascript:ipoe()">ˈœː</a>  ';
		buttons += '<a title="ˈøyː" href="javascript:ipoey()">ˈøyː</a>  ';
		buttons += '<a title="kʲ" href="javascript:ipkj()">kʲ</a>  ';
		buttons += '<a title="ʃ" href="javascript:ipsh()">ʃ</a>  ';
		buttons += '<a title="θ" href="javascript:ipth()">θ</a>  ';
		buttons += '<a title="ʦ" href="javascript:ipts()">ʦ</a>  ';
		buttons += '<a title="ʧ" href="javascript:iptsh()">ʧ</a>  ';
		buttons += '<a title="ʒ" href="javascript:ipzh()">ʒ</a>  ';
		buttons += ' • ';
  
		// Latine: Ā ā Ă ă Ē ē Ĕ ĕ Ë ë Ī ī Ĭ ĭ Ō ō Ŏ ŏ Ū ū Ŭ ŭ Ȳ ȳ Y̆ y̆ · — – … “” ‘’ → ← ⁓ √ † ‡ 
		buttons += '<b>Latine: </b>';
		buttons += '<a title="Ā" href="javascript:laAm()">Ā</a>';
		buttons += ' ';
		buttons += '<a title="ā" href="javascript:laam()">ā</a>';
		buttons += ' ';
		buttons += '<a title="Ă" href="javascript:laAb()">Ă</a>';
		buttons += ' ';
		buttons += '<a title="ă" href="javascript:laab()">ă</a>';
		buttons += ' ';
		buttons += '<a title="Ē" href="javascript:laEm()">Ē</a>';
		buttons += ' ';
		buttons += '<a title="ē" href="javascript:laem()">ē</a>';
		buttons += ' ';
		buttons += '<a title="Ĕ" href="javascript:laEb()">Ĕ</a>';
		buttons += ' ';
		buttons += '<a title="ĕ" href="javascript:laeb()">ĕ</a>';
		buttons += ' ';
		buttons += '<a title="Ë" href="javascript:laEt()">Ë</a>';
		buttons += ' ';
		buttons += '<a title="ë" href="javascript:laet()">ë</a>';
		buttons += ' ';
		buttons += '<a title="Ī" href="javascript:laIm()">Ī</a>';
		buttons += ' ';
		buttons += '<a title="ī" href="javascript:laim()">ī</a>';
		buttons += ' ';
		buttons += '<a title="Ĭ" href="javascript:laIb()">Ĭ</a>';
		buttons += ' ';
		buttons += '<a title="ĭ" href="javascript:laib()">ĭ</a>';
		buttons += ' ';
		buttons += '<a title="Ō" href="javascript:laOm()">Ō</a>';
		buttons += ' ';
		buttons += '<a title="ō" href="javascript:laom()">ō</a>';
		buttons += ' ';
		buttons += '<a title="Ŏ" href="javascript:laOb()">Ŏ</a>';
		buttons += ' ';
		buttons += '<a title="ŏ" href="javascript:laob()">ŏ</a>';
		buttons += ' ';
		buttons += '<a title="Ū" href="javascript:laUm()">Ū</a>';
		buttons += ' ';
		buttons += '<a title="ū" href="javascript:laum()">ū</a>';
		buttons += ' ';
		buttons += '<a title="Ŭ" href="javascript:laOb()">Ŭ</a>';
		buttons += ' ';
		buttons += '<a title="ŭ" href="javascript:laub()">ŭ</a>';
		buttons += ' ';
		buttons += '<a title="Ȳ" href="javascript:laYm()">Ȳ</a>';
		buttons += ' ';
		buttons += '<a title="ȳ" href="javascript:laym()">ȳ</a>';
		buttons += ' ';
		buttons += '<a title="Y̆" href="javascript:laYb()">Y̆</a>';
		buttons += ' ';
		buttons += '<a title="y̆" href="javascript:layb()">y̆</a>';
		buttons += ' ';
		buttons += '<br />';

		buttons += '<b>Referenzen:</b> ';
		buttons += '<a title="Abkürzungen" href="javascript:refabk()">Abkürzungen</a>';
		buttons += ' • ';
		buttons += '<a title="Canoo" href="javascript:refcno()">Canoo</a>';
		buttons += ' • ';
		buttons += '<a title="Duden Online" href="javascript:refdun()">DudenOnline</a>';
		buttons += ' • ';
		buttons += '<a title="DWDS" href="javascript:refdwds()">DWDS</a>';
		buttons += ' • ';
		buttons += '<a title="FreeDicionary" href="javascript:reffdc()">FreeDictionary</a>';
		buttons += ' • ';
		buttons += '<a title="Goethe" href="javascript:refgth()">Goethe</a>';
		buttons += ' • ';
		buttons += '<a title="Grimm" href="javascript:refgrm()">Grimm</a>';
		buttons += ' • ';
		buttons += '<a title="Herder1854" href="javascript:refhrd()">Herder1854</a>';
		buttons += ' • ';
		buttons += '<a title="OWID" href="javascript:refowid()">OWID</a>';
		buttons += ' • ';
		buttons += '<a title="Pierer1857" href="javascript:refpir()">Pierer1857</a>';
		buttons += ' • ';
		buttons += '<a title="PONS" href="javascript:refpns()">PONS</a>';
		buttons += ' • ';
		buttons += '<a title="Redensarten" href="javascript:refrda()">Redensarten</a>';
		buttons += ' • ';
		buttons += '<a title="UniLeipzig" href="javascript:refulz()">UniLeipzig</a>';
		buttons += ' • ';
		buttons += '<a title="wissen.de" href="javascript:refwde()">wissen.de</a>';
		buttons += ' • ';
		buttons += '<a title="WBwissen.de" href="javascript:refwbw()">WBwissen.de</a>';
		buttons += ' • ';
		buttons += '<a title="refWikipedia" href="javascript:refwik()">ref</a> ';
		buttons += '<a title="Wikipedia" href="javascript:wik()">Wikipedia</a>';
		buttons += '<br />';

		buttons += '<b>Literaturliste:</b> ';
		buttons += '<a title="Internetquelle" href="javascript:lititq()">Internetquelle</a>';
		buttons += ' • ';
		buttons += '<a title="Spiegel" href="javascript:litspiegel()">Spiegel</a>';
		buttons += ' • ';
		buttons += '<a title="Literatur" href="javascript:litlit()">Literatur</a>';
		buttons += ' • ';
		buttons += '<a title="Literatur" href="javascript:litgbooks()">Google Books</a>';

		buttons += '</div>';
 
		toolbox.innerHTML += buttons;
		}
	}
	
// var toolbox = document.getElementById("editpage-copywarn");
// sonderzeichenleiste +
// wpSummaryLabel ++
// mw-content-text --
// |{{subst:PAGENAME}}
// function xyz () { insertTags('linke Stringsektion','rechte Stringsektion','mittlere Stringsektion, selektiert'); }

// Íslenska: Æ æ Ð ð Þ þ
function isAe () { insertTags('Æ','',''); }
function isae () { insertTags('æ','',''); }
function isDh () { insertTags('Ð','',''); }
function isdh () { insertTags('ð','',''); }
function isTh () { insertTags('Þ','',''); }
function isth () { insertTags('þ','',''); }

// Caractere românești: Ă ă Â â Î î Ș ș Ț ț „” «»
function roAe () { insertTags('Ă','',''); }
function roae () { insertTags('ă','',''); }
function roAi () { insertTags('Â','',''); }
function roai () { insertTags('â','',''); }
function roIi () { insertTags('Î','',''); }
function roii () { insertTags('î','',''); }
function roSh () { insertTags('Ș','',''); }
function rosh () { insertTags('ș','',''); }
function roTs () { insertTags('Ț','',''); }
function rots () { insertTags('ț','',''); }
function roGhi () { insertTags('„','”',''); }
function roghi () { insertTags('«','»',''); }

// IPA: ə e̯a e̯o̯a ɨ o̯a ʒ ʤ ʃ ʦ ʧ θ ɛː kʰ kʲ ʏ ɪ ɣ ˈøyː ˈœː ɔ ð ŋ aʊ
function ipea () { insertTags('e̯a','',''); }
function iper () { insertTags('ə','',''); }
function ipii () { insertTags('ɨ','',''); }
function ipoa () { insertTags('o̯a','',''); }
function ipoe () { insertTags('ˈœː','',''); }
function ipoey () { insertTags('ˈøyː','',''); }
function ipdzh () { insertTags('ʤ','',''); }
function ipetl () { insertTags('ɛː','',''); }
function ipkj () { insertTags('kʲ','',''); }
function ipsh () { insertTags('ʃ','',''); }
function ipth () { insertTags('θ','',''); }
function ipts () { insertTags('ʦ','',''); }
function iptsh () { insertTags('ʧ','',''); }
function ipzh () { insertTags('ʒ','',''); }

// Latine: Ā ā Ă ă Ē ē Ĕ ĕ Ë ë Ī ī Ĭ ĭ Ō ō Ŏ ŏ Ū ū Ŭ ŭ Ȳ ȳ Y̆ y̆ · — – … “” ‘’ → ← ⁓ √ † ‡ 
function laAm () { insertTags('Ā','',''); }
function laam () { insertTags('ā','',''); }
function laAb () { insertTags('Ă','',''); }
function laab () { insertTags('ă','',''); }
function laEm () { insertTags('Ē','',''); }
function laem () { insertTags('ē','',''); }
function laEb () { insertTags('Ĕ','',''); }
function laeb () { insertTags('ĕ','',''); }
function laEt () { insertTags('Ë','',''); }
function laet () { insertTags('ë','',''); }
function laIm () { insertTags('Ī','',''); }
function laim () { insertTags('ī','',''); }
function laIb () { insertTags('Ĭ','',''); }
function laib () { insertTags('ĭ','',''); }
function laOm () { insertTags('Ō','',''); }
function laom () { insertTags('ō','',''); }
function laOb () { insertTags('Ŏ','',''); }
function laob () { insertTags('ŏ','',''); }
function laUm () { insertTags('Ū','',''); }
function laum () { insertTags('ū','',''); }
function laUb () { insertTags('Ŭ','',''); }
function laub () { insertTags('ŭ','',''); }
function laYm () { insertTags('Ȳ','',''); }
function laym () { insertTags('ȳ','',''); }
function laYb () { insertTags('Y̆','',''); }
function layb () { insertTags('y̆','',''); }

/*********** Referenzen *************/
 
 function refabk ()
 {
   insertTags(': {{Ref-Abkürzungen|{{subst:PAGENAME}}}}','','');
 }
 
 function refcno ()
 {
   insertTags(': {{Ref-Canoo|{{subst:PAGENAME}}}}','','');
 }
 
 function refdwds ()
 {
   insertTags(': {{Ref-DWDS|'+pagenameToAnsi()+'}}','','');
 }
 
 function reffdc ()
 {
   insertTags(': {{Ref-FreeDictionary|{{subst:PAGENAME}}}}','','');
 }
 
 function refdun ()
 {
   insertTags(': {{Ref-Duden|{{subst:PAGENAME}}}}','','');
 }
 
 function refgth ()
 {
   insertTags(': {{Ref-Goethe|{{subst:PAGENAME}}|...}}','','');
 }
 
 function refgrm ()
 {
   insertTags(': {{Ref-Grimm|{{subst:PAGENAME}}}}','','');
 }
 
 function refhrd ()
 {
   insertTags(': {{Ref-Herder1854|{{subst:PAGENAME}}|...}}','','');
 }
 
 function refknz ()
 {
   insertTags(': {{Ref-Kruenitz|{{subst:PAGENAME}}}}','','');
 }
 
 function reflth ()
 {
   insertTags(': {{Ref-Lothringisch|{{subst:PAGENAME}}|...}}','','');
 }
 
 function refngr ()
 {
   insertTags('{{Ref-Ngram||}}','','');
 }

 function refowid ()
 {
   insertTags(': {{Ref-OWID|{{subst:PAGENAME}}}}','','');
 }
 
 function refdboe ()
 {
   insertTags(': {{Ref-OEWBRetti|{{subst:PAGENAME}}}}','','');
 }
 
 function refpfl ()
 {
   insertTags(': {{Ref-Pfälzisch|{{subst:PAGENAME}}|...}}','','');
 }
 
 function refpff ()
 {
   insertTags(': {{Ref-Pfeifer|{{subst:PAGENAME}}}}','','');
 }
 
 function refpir ()
 {
   insertTags(': {{Ref-Pierer1857|{{subst:PAGENAME}}|...}}','','');
 }
 
 function refpns ()
 {
   insertTags(': {{Ref-PONS|{{subst:PAGENAME}}}}','','');
 }
 
 function refrda ()
 {
   insertTags(': {{Ref-Redensarten|{{subst:PAGENAME}}}}','','');
 }
 
 function refrhn ()
 {
   insertTags(': {{Ref-Rheinisch|{{subst:PAGENAME}}|...}}','','');
 }
 
 function refulz ()
 {
   insertTags(': {{Ref-UniLeipzig|{{subst:PAGENAME}}}}','','');
 }
 
 function refwde ()
 {
   insertTags(': {{Ref-wissen.de|'+pagenameToUml()+'}}','','');
 }
 
 function refwbw ()
 {
   insertTags(': {{Ref-WBwissen.de|'+pagenameToUml()+'}}','','');
 }
 
 
function refwik () { insertTags('<ref>{{Wikipedia|spr=|oldid=#|','}}</ref>','Lemma'); }
function wik () { insertTags(': {{Wikipedia|{{subst:PAGENAME}}}}','',''); }
 
 
/*********** Literaturliste *************/
 
function lititq () { insertTags('<ref>{{Internetquelle |url=',' |titel= |autor= |werk= |datum= |zugriff= }}</ref>',''); }
  
 function litgbooks ()
 {
   insertTags('<ref>{{Literatur | Autor= | Titel= | Auflage= | Verlag= | Ort= | Jahr= | ISBN= | Seiten= | Online={{GBS|KlpLAQAAIAAJ|PA27|Hervorhebung=""}} |Kommentar=Zitiert nach Google Books }}</ref>','','');
 }
 
 function litlit () { insertTags('<ref>{{Literatur | Autor=',' | Titel= | Auflage= | Verlag= | Ort= | Jahr= | ISBN= | Seiten= }}</ref>',''); }
  
 function litspiegel ()
 {   
   insertTags('<ref>{{Per-Spiegel Online | Online= | Autor= | Titel= | Tag= | Monat= | Jahr= | Zugriff= }}</ref>');
}

 
function pagenameToAnsi() {
 var str=mw.config.get("wgPageName");
 str=str.replace(/Ä/g,"%C4");
 str=str.replace(/Ö/g,"%D6");
 str=str.replace(/Ü/g,"%DC");
 str=str.replace(/ä/g,"%E4");
 str=str.replace(/ö/g,"%F6");
 str=str.replace(/ü/g,"%FC");
 str=str.replace(/ /g,"+");
 return str.replace(/ß/g,"%DF");
}

function pagenameToUml() {
 var str=mw.config.get("wgPageName");
 str=str.replace(/Ä/g,"Ae");
 str=str.replace(/Ö/g,"Oe");
 str=str.replace(/Ü/g,"Ue");
 str=str.replace(/ä/g,"ae");
 str=str.replace(/ö/g,"oe");
 str=str.replace(/ü/g,"ue");
 str=str.replace(/ü/g,"ue");
 return str.replace(/ß/g,"sz");
}

//</nowiki>