User:DevSpenpai/maintenance.js

$.when(mw.loader.using(['mediawiki.util']), $.ready).done( => { mw.util.addPortletLink( 'p-personal', mw.util.getUrl('Category:Articles needing attention'), 'Maintenance', 'pt-maintenance', 'View maintenance category', null, '#pt-tasks' ); });