User:DannyS712 test/extra menu.js

mw.loader.using( 'mediawiki.util', function {    $(document).ready( function  { /** Create the menu **/ var $html = $( ' ' ); $html.append( ' Tools ' ); $html.append( ' ' );

/** Add the menu in the right place **/ $( '#right-navigation' ).append( $html ); $( '#right-navigation' ).append( $( '#p-cactions' ) ); $( '#right-navigation' ).append( $( '#p-search' ) ); /** Add a blank tool to the menu for demonstration purposes **/ var testing = mw.util.addPortletLink( 'p-dstools', '#', 'shown', 'ca-test', 'tool tip', ' access key'); } ); } );