User:Dibbydib/newpages.js

$.when( mw.loader.using( ['mediawiki.util'] ), $.ready ).done( function { mw.util.addPortletLink( 'p-personal', mw.util.getUrl('Special:NewPages/hidepatrolled'), 'NewPages', 'pt-specialnew', 'Special:NewPages', null, '#pt-preferences' ); });