Benutzer:Ricardo02/monobook.js: Unterschied zwischen den Versionen

Aus ConanWiki
Zur Navigation springen Zur Suche springen
Inhalt hinzugefügt Inhalt gelöscht
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
 
(8 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 2: Zeile 2:
 
+ 'MediaWiki:Gadget-Extra-Editbuttons.js&action=raw&ctype=text/javascript"><\/script>')
 
+ 'MediaWiki:Gadget-Extra-Editbuttons.js&action=raw&ctype=text/javascript"><\/script>')
 
var rmEditButtons = [6,7,10]
 
var rmEditButtons = [6,7,10]
customEditButtons = "A3,R1,T,H,K"
+
customEditButtons = "A3,R1,T,H,K,J1,S"
 
var usersignature = '\~\~\~\~'
 
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');
  +
a.href = "/wiki/DCW:TB";
  +
a.appendChild(document.createTextNode('Bilder'));
  +
li.appendChild(a);
  +
li.appendChild(document.createElement('br'));
  +
var a = document.createElement('a');
  +
a.href = "/wiki/DetektivConan-Wiki Diskussion:Team Bilder";
  +
a.appendChild(document.createTextNode('Diskussion:Team Bilder'));
  +
li.appendChild(a);
  +
li.appendChild(document.createElement('br'));
  +
var a = document.createElement('a');
  +
a.href = "/wiki/Kategorie:DC-Wiki:Team_Bilder";
  +
a.appendChild(document.createTextNode('Team Bilder Bausteine'));
  +
li.appendChild(a);
  +
li.appendChild(document.createElement('br'));
  +
var a = document.createElement('a');
  +
a.href = "/wiki/DCW:MB";
  +
a.appendChild(document.createTextNode('Meinungsbilder'));
  +
li.appendChild(a);
  +
li.appendChild(document.createElement('br'));
  +
var a = document.createElement('a');
  +
a.href = "/wiki/DetektivConan-Wiki:Team_Inhalt/Status_der_Kapitel-Artikel";
  +
a.appendChild(document.createTextNode('Status der Kapitel'));
  +
li.appendChild(a);
  +
li.appendChild(document.createElement('br'));
  +
var a = document.createElement('a');
  +
a.href = "/wiki/DetektivConan-Wiki:Team_Inhalt/Status_der_Episoden-Artikel";
  +
a.appendChild(document.createTextNode('Status der Episoden'));
  +
li.appendChild(a);
  +
ul.appendChild(li);
  +
li.appendChild(document.createElement('br'));
  +
var a = document.createElement('a');
  +
a.href = "/wiki/DCW:TI";
  +
a.appendChild(document.createTextNode('Inhalt'));
  +
li.appendChild(a);
  +
li.appendChild(document.createElement('br'));
  +
var a = document.createElement('a');
  +
a.href = "/wiki/DCW:TK";
  +
a.appendChild(document.createTextNode('Korrektur'));
  +
li.appendChild(a);
  +
li.appendChild(document.createElement('br'));
  +
var a = document.createElement('a');
  +
a.href = "/wiki/DetektivConan-Wiki:Kandidaturen";
  +
a.appendChild(document.createTextNode('Kandidaturen'));
  +
li.appendChild(a);
  +
li.appendChild(document.createElement('br'));
  +
var a = document.createElement('a');
  +
a.href = "/wiki/DetektivConan-Wiki:Beförderungen";
  +
a.appendChild(document.createTextNode('Beförderungen'));
  +
li.appendChild(a);
  +
li.appendChild(document.createElement('br'));
  +
var a = document.createElement('a');
  +
a.href = "/wiki/Benutzer:Ricardo02/Test";
  +
a.appendChild(document.createTextNode('Testseite'));
  +
li.appendChild(a);
  +
ul.appendChild(li);
  +
divi.appendChild(ul);
  +
div.appendChild(divi);
  +
document.getElementById('column-one').insertBefore(div,document.getElementById('p-Navigation'));
  +
}
  +
addOnloadHook(addFastLinks);

Aktuelle Version vom 3. Mai 2010, 18:40 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');
            a.href = "/wiki/DCW:TB";
            a.appendChild(document.createTextNode('Bilder'));
          li.appendChild(a);
          li.appendChild(document.createElement('br'));
          var a = document.createElement('a');
            a.href = "/wiki/DetektivConan-Wiki Diskussion:Team Bilder";
            a.appendChild(document.createTextNode('Diskussion:Team Bilder'));
          li.appendChild(a);
          li.appendChild(document.createElement('br'));
          var a = document.createElement('a');
            a.href = "/wiki/Kategorie:DC-Wiki:Team_Bilder";
            a.appendChild(document.createTextNode('Team Bilder Bausteine'));
          li.appendChild(a);
          li.appendChild(document.createElement('br'));
          var a = document.createElement('a');
            a.href = "/wiki/DCW:MB";
            a.appendChild(document.createTextNode('Meinungsbilder'));
          li.appendChild(a);
          li.appendChild(document.createElement('br'));
          var a = document.createElement('a');
            a.href = "/wiki/DetektivConan-Wiki:Team_Inhalt/Status_der_Kapitel-Artikel";
            a.appendChild(document.createTextNode('Status der Kapitel'));
          li.appendChild(a);
          li.appendChild(document.createElement('br'));
          var a = document.createElement('a');
            a.href = "/wiki/DetektivConan-Wiki:Team_Inhalt/Status_der_Episoden-Artikel";
            a.appendChild(document.createTextNode('Status der Episoden'));
          li.appendChild(a);
        ul.appendChild(li);
          li.appendChild(document.createElement('br'));
          var a = document.createElement('a');
            a.href = "/wiki/DCW:TI";
            a.appendChild(document.createTextNode('Inhalt'));
          li.appendChild(a);
          li.appendChild(document.createElement('br'));
            var a = document.createElement('a');
            a.href = "/wiki/DCW:TK";
            a.appendChild(document.createTextNode('Korrektur'));
          li.appendChild(a);
          li.appendChild(document.createElement('br'));
          var a = document.createElement('a');
            a.href = "/wiki/DetektivConan-Wiki:Kandidaturen";
            a.appendChild(document.createTextNode('Kandidaturen'));
          li.appendChild(a);
          li.appendChild(document.createElement('br'));
          var a = document.createElement('a');
            a.href = "/wiki/DetektivConan-Wiki:Beförderungen";
            a.appendChild(document.createTextNode('Beförderungen'));
          li.appendChild(a);
          li.appendChild(document.createElement('br'));
          var a = document.createElement('a');
            a.href = "/wiki/Benutzer:Ricardo02/Test";
            a.appendChild(document.createTextNode('Testseite'));
          li.appendChild(a);
        ul.appendChild(li);
      divi.appendChild(ul);
    div.appendChild(divi);
  document.getElementById('column-one').insertBefore(div,document.getElementById('p-Navigation'));
}
addOnloadHook(addFastLinks);