User:1234qwer1234qwer4/DRVstarted.js

// This script adds an "DRVs Today" link to the top toolbar that gives the list of DRVs 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:Deletion review/Log/' + d.getUTCFullYear + ' ' + englishMonthName(d.getUTCMonth) + ' ' + d.getUTCDate), 'DRVs Today', 'pt-specialnew', 'View the DRV discussions that have been opened today', null, '#pt-preferences' ); });