MediaWiki:Fandomdesktop.js

debugger; $(mw.util.addPortletLink('p-cactions', 'javascript:;', '!Create Player', 'ca-create-player', 'Create player subpages')).click(function { alert('xxx'); });