Skip to content

Celery job to fix internal links #3860

@MizukiTemma

Description

@MizukiTemma

Motivation

To fight agains #3856 or other possible similar problems, a new job is wished that fixes all the internal links periodically.

Proposed Solution

Add a new celery job that does following work:

  • Check each link in the database
  • If a link is referencing an old translation (not the latest version), find its latest version and the link to it, and replace the URL with that of the latest translation.

We can probably delete links that are in old (not latest) translations, considering #3831

Screenshot

Alternatives

User Story

Additional Context

Design Requirements

Related Issues

Summary of discussion and updates to the description

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature or requestneeds-internal-discussionUs developers need to discuss first which way of implementation is considered to be the bestnot-readyThis Issue is not ready to be worked on yetquestionFurther information is requested

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions