Closed svenseeberg closed 1 year ago
https://github.com/digitalfabrik/integreat-cms/issues/1383 is even more relevant, I guess.
The utility function introduced in #2126 could be used for this as well, so I suggest to wait until that PR is merged before working on this issue. Edit: It is now
Motivation
Sometimes we rename or copy regions. In these cases the links in the content are not changed and point to the source or no longer existent region. Also the link status should be reset. That means the checker needs to check the link first, before we show a status.
Proposed Solution
Add a feature that allows to easily replace links to suit a newly created or rename region. This can probably be located near the Broken Link Checker in the GUI.
This function should only be available to expert users.
Alternatives
We currently use the following code in the Django shell to manually solve this problem:
Additional Context
We also want a string replacement function (#1382). But it is probably safer to implement this first.
Design Requirements