Review main Merged

97091[BUGFIX] Link pages of other sites in an available language

Benni Mack CR +2 V +2 Normal +74 −4 updated 11/11/26, 09:03

Commit message

When a page of another site is linked without an explicit language,
the language of the current request is used. If the site of the
target page does not have this language, no link was generated and
only the link text was rendered.

The link now falls back to the first fallback language of the current
language which is available in the target site, or to the default
language of the target site if none is available. As a result, such
cross-site links, which were silently dropped before, are now
rendered. Links with an explicitly configured language which is not
available in the target site still do not generate a link.

Review

  • Code review CR +2 Done
    • Benni Mack +2
    • Oli Bartsch +1
    • Josua Vogel +1
  • Verified V +2 Done
    • Benni Mack +2
    • Oli Bartsch +1
    • Oliver Klee +1
    • Josua Vogel +1
    • core-ci +1 CI

Issues 2

Files 2

Review log 1015

  1. Benni Mack uploaded patch set 1 10/23/26, 21:35

  2. Benni Mack rebased onto patch set 2 10/23/26, 21:36

  3. core-ci voted on patch set 1 V +1 10/23/26, 21:55 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/112371

  4. core-ci voted on patch set 2 V +1 10/23/26, 21:55 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/112372

  5. Benni Mack uploaded patch set 3 V +1 11/09/26, 13:57

  6. core-ci voted on patch set 3 V +1 11/09/26, 14:06 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/113693

  7. Benni Mack updated the commit message in patch set 4 V +1 11/09/26, 20:34

  8. core-ci voted on patch set 4 V +1 11/09/26, 20:48 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/113779

  9. Oli Bartsch uploaded patch set 5 V +1 11/10/26, 14:09

  10. Oli Bartsch voted on patch set 5 CR +1 V +1 11/10/26, 14:09

  11. core-ci voted on patch set 5 V +1 11/10/26, 14:18 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/113907

  12. Josua Vogel voted on patch set 5 CR +1 V +1 11/11/26, 07:34

  13. Oliver Klee voted on patch set 5 V +1 11/11/26, 08:39

  14. Benni Mack voted on patch set 5 CR +2 V +2 11/11/26, 09:03

  15. Benni Mack merged patch set 6 11/11/26, 09:03