Introduce a task type registry and collect all tasktype-specific code in it.
Unlike most other Add Link engineering changes, this affects lots of existing code and has a high risk of breaking current functionality so it needs to be tested thoroughly, including on sites which use local search. The affected functionality is the homepage suggested edits module + suggested edits content in the help panel + change tags.