Review main Merged

94998[TASK] Document meta tag precedence of page properties over TypoScript

Benni Mack CR +2 V +2 Normal +131 −37 updated 07/30/26, 08:07

Commit message

Meta tags are set from three places, in this order: plugins rendered
within the page content, the page properties provided by EXT:seo, and
the TypoScript setting "page.meta". A meta tag that has been set
already is not overwritten by a later one, so a filled page property
always wins over TypoScript, which makes "page.meta" a fallback for
pages where the corresponding page property is empty. TypoScript takes
precedence only with "replace = 1", and since an empty value never
removes an already generated meta tag, "replace" combined with stdWrap
overrides the page property only if TypoScript resolves to a value.

This behaviour is intentional, but not documented where integrators
look for it. A chapter with examples is added to the documentation of
EXT:seo.

The functional test is reworked to take its TypoScript inline instead
of one fixture file per page id, and is extended to pin the interplay
for the description, Open Graph and X / Twitter meta tags, for the
"replace" option and for stdWrap based configuration.

Review

  • Code review CR +2 Done
    • Benni Mack +2
    • Georg Ringer +1
    • Garvin Hicking +1
  • Verified V +2 Done
    • Benni Mack +2
    • Georg Ringer +1
    • Garvin Hicking +1
    • core-ci +1 CI

Issues 1

Files 6

Review log 67

  1. Benni Mack uploaded patch set 1 07/29/26, 15:21

  2. Benni Mack marked it ready for review 07/29/26, 15:22

  3. core-ci voted on patch set 1 V +1 07/29/26, 15:32 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/105623

  4. Garvin Hicking voted on patch set 1 CR +1 V +1 07/30/26, 05:53

  5. Georg Ringer voted on patch set 1 CR +1 V +1 07/30/26, 06:21

  6. Benni Mack voted on patch set 1 CR +2 V +2 07/30/26, 08:07

  7. Benni Mack merged patch set 2 07/30/26, 08:07