User:Pilotguy/monobook.js

function addlilink(node, href, text, id, tooltip, accesskey) { // the code below is mostly copied from addPortletLink

var link = document.createElement( "a" ); link.appendChild( document.createTextNode( text ) ); link.href = href;

var item = document.createElement( "li" ); item.appendChild( link ); if ( id ) item.id = id;

if ( accesskey ) { link.setAttribute( "accesskey", accesskey ); tooltip += " ["+accesskey+"]"; }	if ( tooltip ) { link.setAttribute( "title", tooltip ); }	updateTooltipAccessKeys( new Array( link ) );

node.appendChild( item );

return item; }

// // Edit tools for the vandal whack-a-mole game // User:Pilotguy/whackamole.js - please include this line // document.write(' ');

// User:Lupin/popups.js - please include this line importScript('User:Lupin/popups.js');

popupAdminLinks=true; popupRedlinkRemoval=true;