Spring til indhold

Bruger:Metalindustrien/monobook.js

Fra Wikipedia, den frie encyklopædi
 // ---------------------------------------
 // BEGIN PATROLLINK
 function linkPatrol()
 {
     if (document.getElementById("n-patrol")) return;
     var li_current = document.getElementById("n-recentchanges");
     if (!li_current) return;
     var li_next = li_current.nextSibling;
     var ul_node = li_current.parentNode;
     var li = document.createElement("li");
     li.setAttribute("id", "n-patrol");
     li.setAttribute("title", "Se ikke-patruljerede ændringger");
     li.appendChild(document.createElement("a"));
     li.firstChild.setAttribute("href","/w/index.php?title=Speciel:Recentchanges&days=30&limit=5000&hideliu=1&hidepatrolled=1");
     li.firstChild.appendChild(document.createTextNode("Patruljér"));
     ul_node.insertBefore(li, li_next);
 }
 addOnloadHook(linkPatrol);
 // 
 // END PATROLLINK
 // ---------------------------------------

// ---------------------------------------
 // BEGIN EXTRA TOOLS
 function extraToolLinks()
 {
     // create commons link
     if (document.getElementById("t-qa")) return;
     var li_current = document.getElementById("t-upload");
     if (!li_current) return;
     var li_next = li_current.nextSibling;
     var ul_node = li_current.parentNode;
     var li = document.createElement("li");
     li.setAttribute("id", "t-qa");
     li.setAttribute("title", "Til rodekassen");
     li.appendChild(document.createElement("a"));
     li.firstChild.setAttribute("href","http://da.wikipedia.org/wiki/Bruger:Metalindustrien/Rodekassen");
     li.firstChild.appendChild(document.createTextNode("Rodekassen"));
     ul_node.insertBefore(li, li_next);
 }
 addOnloadHook(extraToolLinks);

 function extraToolLinks1()
 {
     // create commons link
     if (document.getElementById("t-qa")) return;
     var li_current = document.getElementById("t-upload");
     if (!li_current) return;
     var li_next = li_current.nextSibling;
     var ul_node = li_current.parentNode;
     var li = document.createElement("li");
     li.setAttribute("id", "t-qa");
     li.setAttribute("title", "Til rodekassen");
     li.appendChild(document.createElement("a"));
     li.firstChild.setAttribute("href","http://da.wikipedia.org/wiki/Bruger:Metalindustrien/Hash");
     li.firstChild.appendChild(document.createTextNode("Hash"));
     ul_node.insertBefore(li, li_next);
 }
 addOnloadHook(extraToolLinks1);
 // 
 // END EXTRA TOOLS
 // ---------------------------------------

// Velkomstskabeloner Bruger:Morten_LJ (inkluder venligst denne linie)
document.write('<script type="text/javascript" src="' 
    + 'http://da.wikipedia.org/w/index.php?title=User:Morten_LJ/velkomst.js' 
    + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');