revalidateLinkRecommendations.php is used by Growth-Team to revalidate the task pool for Add-Link. Unfortunately, as of now, it doesn't run if link-recommendation is disabled from the server configuration. This makes using the script for fixing issues with Add-Link more difficult (such as, ensuring all tasks meet stricter requirements), as one needs to workaround the script limitation first (I did it for ruwiki by enabling link-recommendation is Community configuration, but disabling its frontend in site configuration).
Checking getDisabledTaskTypes() should be sufficient.