User:Svick/userToolbox.js

$(function { var elem = document.createElement('div'); elem.className = 'portal'; elem.id = 'p-usertoolbox'; elem.innerHTML = 'User toolbox  '

var panel = document.getElementById('panel'); if(panel) panel.appendChild(elem);

// mw.util.addPortletLink('p-usertoolbox', 'http://example.com', 'Example'); });