User:RobinHood70/common.js

var page = 'User:RobinHood70/Toolbox';

var link = mw.util.addPortletLink( 'p-views', mw.util.getUrl( page ), 'Toolbox', 'ca-toolbox', 'Jump to Toolbox', null, '#ca-view, #ca-edit' );

if ( mw.config.get( 'wgPageName' ) == page ) { // If we're on our "page", un-highlight the normal Read/Create tabs $('#ca-view, #ca-edit').removeClass( 'selected' );

// ...and highlight our own $( link ).addClass( 'selected' ); }