User:Neil916/monobook.js

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); }