User:DannyS712/RandomAfC.js

//Copied from User:Abelmoschus Esculentus/RandomAfC.js $.when( mw.loader.using( ['mediawiki.util'] ), $.ready ).done( function { mw.util.addPortletLink( 'p-personal', mw.util.getUrl('Special:RandomInCategory/Pending_AfC_submissions'), 'Random AfC', 'pt-randafc', 'Open a random AfC draft...', null, '#pt-preferences' ); });