In T279519: Add a link: algorithm improvements: Avoid recommending links in sections that usually don't have links we modified the link recommendation service to accept a query parameter for sections_to_exclude (pipe delimited list); this accepts a list of section titles that will then be skipped by the research/mwaddlink app when iterating over text in an article. The idea is that e.g. enwiki community could define "References" as a section title that should never have link suggestions, and the link recommendation service will honor that setting.
In this task, we need to:
- Add a setting to LinkRecommendationTaskType for the sections to exclude
- Allow manipulation of this setting from Special:EditGrowthConfig
- Send the pipe-delimited list of section names to the service in maintenance/refreshLinkRecommendations.php
- (optional) T306792: initWikiConfig should set excludedSections for link-recommendation task type