Wikipedia:WikiProject User scripts/Scripts/addLink

// Note: This is now just a thin wrapper around  from wikibits.js. Please consider using  directly instead.

function addLink(where, url, name, id, title, key, after) { // addLink accepts either an id or a DOM node, addPortletLink only takes a node if (after && !after.cloneNode) after = document.getElementById(after); return addPortletLink(where, url, name, id, title, key, after); }

//