User:1234qwer1234qwer4/RfDstarted.js

// This script adds an "RfDs Today" link to the top toolbar that gives the list of RfDs opened today, adapted from User:Lourdes/AfDstarted.js $.when( mw.loader.using( ['mediawiki.util'] ), $.ready ).done( function { function englishMonthName(month){    switch(month)    {      case 0: return 'January';      case 1: return 'February';      case 2: return 'March';      case 3: return 'April';      case 4: return 'May';      case 5: return 'June';      case 6: return 'July';      case 7: return 'August';      case 8: return 'September';      case 9: return 'October';      case 10: return 'November';      case 11: return 'December';      default: return;    }  }  var d = new Date;  mw.util.addPortletLink( 'p-personal', mw.util.getUrl('Wikipedia:Redirects for discussion/Log/' + d.getUTCFullYear + ' ' + englishMonthName(d.getUTCMonth) + ' ' + d.getUTCDate), 'RfDs Today', 'pt-specialnew', 'View the RfD discussions that have been opened today', null, '#pt-preferences' ); });