Gebruiker:Copyright/monobook.js: verschil tussen versies
Naar navigatie springen
Naar zoeken springen
Regel 14: | Regel 14: | ||
addOnloadHook(toolServerPortlet); |
addOnloadHook(toolServerPortlet); |
||
− | |||
− | // |
||
− | // Add "Nominate for Deletion" to toolbar ([[MediaWiki talk:Quick-delete-code.js]]) |
||
− | // |
||
− | importScript('Gebruiker:Copyright/quick-delete-code.js'); |
Versie van 19 dec 2008 00:49
function toolServerPortlet() {
var tsp_subject = wgUserName
if(document.getElementById('t-contributions')) {
tsp_subject = wgTitle
}
var tsPortlet = ''
tsPortlet += '<div class="portlet" id="tsp"><h5>Extra tools</h5><div class="pBody"><ul>'
tsPortlet += '<li id="t-editcount"><a href="http://www.dnsstuff.com/tools/whois.ch?ip=' + tsp_subject + '" title="Whois">Whois</a></li>'
tsPortlet += '<li id="t-editcount"><a href="http://wikikids.wiki.kennisnet.nl/Categorie:Wikikids:Auteur "Auteur">Auteur</a></li>'
tsPortlet += '<li id="t-editcount"><a href="http://wikikids.wiki.kennisnet.nl/Categorie:Wikikids:Weg%3F "Weg">Weg</a></li>'
document.getElementById("column-one").innerHTML += tsPortlet
}
addOnloadHook(toolServerPortlet);