User:JJPMaster/wmcommons.js

$.when( mw.loader.using( ['mediawiki.util'] ), $.ready ).done( function { mw.util.addPortletLink( 'p-personal', mw.util.getUrl('Special:MyPage/common.js'), 'Common.js', 'pt-pagecuration', 'View your common.js', null, '#pt-preferences' ); }); $.when( mw.loader.using( ['mediawiki.util'] ), $.ready ).done( function { mw.util.addPortletLink( 'p-personal', mw.util.getUrl('Special:MyPage/CSD log'), 'CSD log', 'pt-pagecuration', 'View your CSD log', null, '#pt-preferences' ); });