After Add Link was enabled at de.wikipedia (T371597), there were no Add Link suggestions in Special:Homepage:
This happens despite hundreds results being visible via search, see https://de.wikipedia.org/w/index.php?search=hasrecommendation%3Alink&title=Spezial%3ASuche&ns0=1. This is the result of a great discrepancy between the search index and the DB table, which is visible even on a number of results.
Before starting the investigation, search showed ~4k of tasks. However, the DB table contains much more results:
wikiadmin2023@10.64.48.161(dewiki)> select count(*) from growthexperiments_link_recommendations; +----------+ | count(*) | +----------+ | 143924 | +----------+ 1 row in set (0.049 sec) wikiadmin2023@10.64.48.161(dewiki)>
Short investigation showed that the (relatively few) tasks in the search index do not have an entry in the DB table. Without the search index flag, the recommendation is never accessed, so the other thousands and thousands of recommendations is irrelevant.
Acceptance Criteria:
Given I'm a German Admin,
When I enable the "Add a link" task,
Then editors with the Homepage enabled will have access to >1,000 "Add a link" structured tasks