Review main Ready for review

98283[FEATURE] Allow "root" in limitToPages of route enhancers

Georg Ringer CR +1 V +1 Normal +152 −0 updated 12/02/26, 19:54

Commit message

The limitToPages option of route enhancers accepts the keyword "root",
which matches the root page of the site. No page ID needs to be
configured, and the keyword can be combined with page IDs and
expressions.

This allows, for example, providing sitemap.xml on the root page only,
while further page type suffixes configured in a separate PageType
enhancer apply to all pages.
Resolves: #105837
Releases: main
Change-Id: I88ec687bef4a8c07ba308deea88e0b65b0820b12

Test this change

Run a command in your clone of the TYPO3 Core. Then try what the change does and vote on Verified in Gerrit. How to review a patch

Check out patch set 1
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/83/98283/1 && git checkout FETCH_HEAD
Cherry-pick onto main
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/83/98283/1 && git cherry-pick FETCH_HEAD

Review

  • Code review CR +1 Needs a vote
    • Benni Mack +1
  • Verified V +1 Needs a vote
    • Benni Mack +1
    • core-ci +1 CI

Merge conflicts 4

Issues 1

Files 4

Review log 34

  1. Georg Ringer uploaded patch set 1 12/02/26, 16:48

  2. Georg Ringer commented on patch set 1 12/02/26, 16:50

  3. core-ci voted on patch set 1 V +1 12/02/26, 16:55 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/116186

  4. Benni Mack voted on patch set 1 CR +1 V +1 12/02/26, 19:54