User:Roidanton/modern.js

addOnloadHook(function {    var portlets = document.getElementById("mw_portlets");    portlets.parentNode.removeChild(portlets);

var cactions = document.getElementById("p-cactions"); cactions.parentNode.removeChild(cactions); var categories = document.getElementById("catlinks"); var personal = document.getElementById("p-personal");

var personalList = personal.getElementsByTagName("ul")[0]; var first = personalList.firstElementChild;

var elements = cactions.getElementsByTagName("li"); while (elements.length > 0) personalList.insertBefore(elements[0], first); });