/*document.write('<SCRIPT SRC="http://meta.wikimedia.orghttps://de.wiktionary.org/w/index.php?title=User:Spacebirdy/altækt.js&action=raw&ctype=text/javascript"><\/SCRIPT>');*/
/*document.write('<SCRIPT SRC="http://de.wiktionary.orghttps://de.wiktionary.org/w/index.php?title=User:Spacebirdy/eyða.js&action=raw&ctype=text/javascript"><\/SCRIPT>');
*/
function RCbar() {
if ( getCookie('WiktionaryUseJSPreferences') != 'true' ) {
if (document.getElementById("RCbar")) {toggleNavigationBar(1);}
else { toggleNavigationBar(0); }
} else if ( getCookie('WiktionaryPreferencesHideNav') == 'true' ) {
toggleNavigationBar(100);
} else if ( getCookie('WiktionaryPreferencesShowNav') == 'true' ) {
toggleNavigationBar(0);
} else {
if (document.getElementById("RCbar")) {toggleNavigationBar(1);}
else { toggleNavigationBar(0); }
}
}
hookEvent("load", RCbar);
var oldEditsectionLinks=true;
/**von birdy**/
// <pre><nowiki>
var useragent = navigator.userAgent;
switch (useragent) {
case "ZzZz":
break; //ohne monobook.
case "ojala":
document.write('<'+'script src="http://es.wikipedia.orghttps://de.wiktionary.org/w/index.php?'
+ 'title=User:Axxgreazz/monobook-full.js'
+ '&action=raw&ctype=text/javascript&dontcountme=s"'
+ 'type="text/javascript"><'+'/script>'); //spænskt
case "halastjarna":
document.write('<SCRIPT SRC="http://meta.wikimedia.orghttps://de.wiktionary.org/w/index.php?title=User:Cometstyles/monobook.js&action=raw&ctype=text/javascript"><\/SCRIPT>'); break; //testmonobüke
default:
mw.loader.load(
'https://en.wikipedia.orghttps://de.wiktionary.org/w/index.php?title=User:Lupin/popups.js'
+ '&action=raw&ctype=text/javascript&dontcountme=s');
/*********** Eigene Knöpfe ***********/
function loadButtons2()
{
var buttons = '<div class="myNavPanel">';
/* Botón Willkommen */
buttons += '<a class="mybutton1" title="Hallo" href="javascript:hallo()" ><code class="mybutton1" style="font-size:80%">Hallo</code></a>';
buttons += ' • ';
/* Knopf: Test */
buttons += '<a class="mybutton2" title="Test" href="javascript:test()"><code class="mybutton2" style="font-size:80%">Test</code></a>';
buttons += ' • ';
/* Knopf: Test2 */
buttons += '<a class="mybutton1" title="Test2" href="javascript:test1eintrag()" ><code class="mybutton1" style="font-size:80%">Unfug</code></a>\n';
buttons += ' • ';
/* Knopf: Sperrnachricht */
buttons += '<a class="mybutton1" title="Sperrnachricht" href="javascript:sperre()" ><code class="mybutton1" style="font-size:80%">Sperre</code></a>';
buttons += ' • ';
/* Knopf pre */
buttons += '<a class="mybutton2" title="<pre>" href="javascript:ponPre()" ><code class="mybutton2" style="font-size:80%">pre</code></a>';
buttons += ' • ';
/* Nowiki */
buttons += '<a class="mybutton1" title="<nowiki>" href="javascript:nowiki()"><code class="mybutton1" style="font-size:80%">nowiki</code></a>';
buttons += ' • ';
/* Botón Uetrad */
buttons += '<a class="mybutton1" title="NL" href="javascript:Uetrad()" style="background:lightsteelblue"><code class="mybutton1" style="background:lightsteelblue">NL</code></a>';
buttons += '\n</div>';
var toolbox = document.getElementById("p-navigation");
toolbox.innerHTML += '<h5>Meine Knöpfe</h5>'+buttons;
}
function sagnBeyging ()
{insertTags('{{Sagnbeyging|\nég-nútíð=\n|þú-nútíð=\n|hann-nútíð=\n|við-nútíð=\n|þið-nútíð=\n|þeir-nútíð=\n|ég-nútíð-miðmynd=\n|Þátíð=\n|Lýsingarháttur þátíðar=\n|Viðtengingarháttur=\n|Boðháttur=\n|allar sagnbeygingar=\n','}}','');}
function hallo ()
{insertTags('{{subst:Hallo','}}','');
document.editform.wpSummary.value += "Herzlich Willkommen!";
}
function test ()
{insertTags('{{subst:Test','}}','');
document.editform.wpSummary.value += "Test — bitte ] verwenden";
}
function test1eintrag ()
{insertTags('{{subst:Test2','}}','');
document.editform.wpSummary.value += "Bitte lass den Unfug!";
}
function sperre ()
{insertTags('{{subst:Sperrnachricht|','}}','');
document.editform.wpSummary.value += "Sperrnachricht";
}
function ponSubst ()
{insertTags('{{subst:','}}','');}
function ponPre ()
{insertTags('<pre>','</pre>','');}
function nowiki ()
{insertTags('<nowiki>','</nowiki>','');}
function Uetrad ()
{insertTags('*{{nl}}: {{Ü|nl|','}}','');}
/******* from Connel ****/
function addLoadEvent(func) {
if (window.addEventListener)
window.addEventListener("load", func, false);
else if (window.attachEvent)
window.attachEvent("onload", func);
}
addLoadEvent( loadButtons2 );
/************************************* Ende der eigenen Knöpfe ************************************************/
/****************************************************************************************************************/
var oldEditsectionLinks=true;
}
// ---Ende usuarioagente---
// </nowiki></pre>
/*** fin - fínt! ***/