We should clean up the Add Link / Add Image specific code from T278123: Provide capability for A/B testing task types (codesearch), it adds to tech debt as can be seen from T332309: Uncaught TypeError: can't access property "difficulty", this.taskType is undefined.
We might want to keep the framework for user-dependent task types, that will probably be needed again if we work on a new task type.
We need a way to handle this in the community configuration UI (when the user enables link-recommendation, grey out links and add some explanatory text, and vice versa).