User:-Zai-/AFC-link.js

$( document ).ready( function { mw.util.addPortletLink( 'p-personal', mw.util.getUrl( 'toolforge:RandomInCategory/Pending_AfC_submissions' ), 'Random AfC submission', 'pt-afc', 'View a random AfC submission', null, '#pt-sandbox' ); });