Benutzer:Ricardo02/monobook.js: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Inhalt hinzugefügt Inhalt gelöscht
Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
Zeile 16: | Zeile 16: | ||
var li = document.createElement('li'); |
var li = document.createElement('li'); |
||
var a = document.createElement('a'); |
var a = document.createElement('a'); |
||
− | li.appendChild(a); |
||
− | li.appendChild(document.createTextNode(', ')); |
||
var a = document.createElement('a'); |
var a = document.createElement('a'); |
||
a.href = "/wiki/DCW:TB"; |
a.href = "/wiki/DCW:TB"; |
Version vom 29. April 2010, 18:34 Uhr
document.write('<script type="text/javascript" src="http://de.wikipedia.org/w/index.php?title=' + 'MediaWiki:Gadget-Extra-Editbuttons.js&action=raw&ctype=text/javascript"><\/script>') var rmEditButtons = [6,7,10] customEditButtons = "A3,R1,T,H,K,J1,S" var usersignature = '\~\~\~\~' function addFastLinks() { var div = document.createElement('div'); div.className = "generated-sidebar portlet"; var h5 = document.createElement('h5'); h5.appendChild(document.createTextNode('Schnelllinks')); div.appendChild(h5); var divi = document.createElement('div'); divi.className = "pBody"; var ul = document.createElement('ul'); var li = document.createElement('li'); var a = document.createElement('a'); var a = document.createElement('a'); a.href = "/wiki/DCW:TB"; a.appendChild(document.createTextNode('Bilder')); li.appendChild(a); ul.appendChild(li); divi.appendChild(ul); div.appendChild(divi); document.getElementById('column-one').insertBefore(div,document.getElementById('p-Navigation')); } addOnloadHook(addFastLinks);