Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
/*$(document).ready(function() {*/
        /* get rid of the "star" interface for the watchlist 
        $('#ca-watch').removeClass('icon');*/
 
        /* categories should be listed at the top, not the bottom 
        $('#catlinks').insertBefore('#firstHeading').css('font-size', '0.8em');*/
 
        /* the language links should be up top 
        var $plang = $('#p-lang').css('font-size', '0.8em');
 
        $('#catlinks').after($plang);
        $plang.attr('class', 'catlinks');
 
        var $h5 = $plang.find('h3, h5');
        $plang.find('div').prepend( $('<span>').append( $h5.text() + ':' ) );
        $plang.find('ul').prepend( $plang.find('li') );
        $h5.remove();*/
 
        /* "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('<span>');
        $('#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('<span>');*/
 
        /* The order should be Edit, Watch, Move, Delete, Protect, Discuss,
        History, What Links Here, related changes.
        order = [
                "ca-view", "ca-edit", "ca-watch", "ca-unwatch", "ca-move",
                "ca-delete", "ca-protect", "ca-talk", "ca-history",
                "t-whatlinkshere", "t-recentchangeslinked"
        ];
 
        for(var i=0; i<order.length; i++) {
                $( '#'+order[i] ).appendTo('#p-namespaces ul');
        }

        $('<div class="body" id="footemp">').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;
importScript('User:Mr.Z-man/patrollinks.js');*/