User:DannyS712 test/extra menu demo1.js

mw.loader.using( 'mediawiki.util', function {    $(document).ready( function  { var link = mw.util.addPortletLink( 'p-cactions', '#', 'Testing1', 'ca-test1', 'Testing1'); $( link ).click( function ( event ) {           event.preventDefault;            console.log( "Its a test!" );       } );    } ); } );