User:LTaalik/vector.js

$(document).ready(function {       /* get rid of the "star" interface for the watchlist */        $('#ca-watch').removeClass('icon');        /* "View history', "Move", "protect', and "delete" should be off on        the left side of the page, not concealed in a little dropdown box        up top. */        // kill redundant link        $('#p-namespaces li.selected').remove;        // merge all portlets        $('#p-cactions li').appendTo('#p-namespaces ul').wrapInner(' ');        $('#p-views li').appendTo('#p-namespaces ul');        // cleanup        $('#p-namespaces .collapsible').removeClass('collapsible');        // pull two links from the toolbox        $('#t-recentchangeslinked, #t-whatlinkshere')                .appendTo('#p-namespaces ul').wrapInner(' ');        /* The order should be Edit, Watch, Move, Delete, Protect, Discuss,        History, What Links Here, related changes.*/ order = [ "ca-view", "ca-talk", "ca-edit", "ca-watch", "ca-unwatch", "ca-move", "ca-delete", "ca-protect", "ca-history", "t-whatlinkshere", "t-recentchangeslinked" ];       for(var i=0; i<order.length; i++) { $( '#'+order[i] ).appendTo('#p-namespaces ul'); }       $(' ').appendTo("#p-namespaces"); $("#p-namespaces ul").appendTo("#footemp"); $("#p-namespaces").addClass("portal persistent"); $("#p-namespaces").removeClass("vectorTabs"); $("#p-namespaces").insertAfter("#p-navigation"); $("#p-namespaces").css("left", "auto"); $('#p-cactions, #p-views').appendTo("#p-tb"); $('#p-cactions, #p-views').removeClass; }); showbydefault = true;