integreat-cms icon indicating copy to clipboard operation
integreat-cms copied to clipboard

Add organization URLs to link check

Open MizukiTemma opened this issue 6 months ago • 4 comments

Short description

This PR adds URLs of organizations to our link check/replace feature.

The issue is planned not for Q3 but Q4, but in my opinion it's better to implement this before we start refactoring of link check/replace feature for performance and the centralised link management system.

Proposed changes

  • Add the model Organization to the link checker
  • Add a new function replace_urls to the model Organization to be compatible with the refactoring from #3003
  • Adjust functions for link replacement (because organization objects do not have any translations)

Side effects

  • I hope it functions at least. We definately need some refactoring (but suggest to do it in another PR) It's merged now :)

Resolved issues

Fixes: #2369


Pull Request Review Guidelines

MizukiTemma avatar Aug 12 '24 07:08 MizukiTemma