Review 14.3 Merged

96045[BUGFIX] Allow disabling frontend indexing via EnableIndexingEvent

Georg Ringer CR +2 V +2 Normal +243 −2 updated 09/24/26, 21:39

Commit message

EnableIndexingEvent could only force indexing of the current page.
There was no API to prevent indexing, for example for a plugin
showing GET-parameter based results that should not end up in the
index. The former workaround of setting index_enable on
$GLOBALS['TSFE']->config is no longer available.

The event now provides disableIndexing() and isIndexingDisabled().
A veto takes precedence over enableIndexing(), config.index_enable
and the disableFrontendIndexing extension setting.

Review

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

Issues 1

Files 11

Review log 57

  1. Georg Ringer commented on patch set 1 09/24/26, 20:24

    Cherry Picked from branch main.
  2. Georg Ringer voted on patch set 1 CR +2 V +2 09/24/26, 20:24

  3. core-ci voted on patch set 1 V -1 09/24/26, 20:33 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/109183

  4. Georg Ringer uploaded patch set 2 CR +2 V +2 09/24/26, 20:46

  5. core-ci voted on patch set 2 V +1 09/24/26, 20:55 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/109189

  6. Benni Mack voted on patch set 2 CR +2 V +2 09/24/26, 21:39

  7. Benni Mack merged patch set 3 09/24/26, 21:39