Page MenuHomePhabricator

Add a Link: suggest more relevant links
Open, Needs TriagePublic



As a newcomer, I want the links suggested via "add a link" to be as relevant as possible, because then my edit is more likely to be valuable.

Tune the service parameters for underlinked tasks so instead of trying to link the first few linkable words it finds, it suggests some of the most relevant links. Follow up from T301096.

Acceptance Criteria

Given I'm a logged in user,
When I received "Add a Link" suggestions,
Then they are the most relevant suggestions available

Completion checklist


  • The patches have been code reviewed and merged
  • The task passes its acceptance criteria


  • There are existing and passing unit/integration tests
  • Tests for every involved patch should pass
  • Coverage for every involved project should have improved or stayed the same

Design & QA

  • If the task is UX/Design related: it must be reviewed and approved by the UX/Design team
  • Must be reviewed and approved by Quality Assurance.


  • Related and updated documentation done where necessary

Event Timeline

What we could easily do on the PHP side is to make the score threshold or the link count somewhat dependent on how underlinked the article is. But that would require more effort from the Add Link service (more link candidates to check) so it might or might not turn out to be feasible, or might require performance improvements to the service (which would be nice to do anyway, but a bit outside our comfort zone).