Review main Merged

76532[TASK] Deprecate TypoScript setup "constants" TLO

Christian Kuhn CR +2 V +2 Normal +142 −48 updated 02/14/23, 10:52

Commit message

This is not about TypoScript constants/settings
that are accessed using {$myConstant} in TypoScript
setup.

This is about the TypoScript setup "constants"
top-level-object: It is used in TypoScript
"parseFunc" and allows referencing string literals
by name in "parseFunc" strings, which are substituted
by using ###theName###, when property "constants = 1" is
set in "parseFunc".

This feature dates back to Kasper's "Initial revision"
and is obsolete ever since: The feature exists next
to well-known TypoScript constants, existing
usages can be easily substituted. The confusion with
TypoScript "constants" alone justifies a deprecation
of this detail.

The patch deprecates both the TypoScript setup
"constants" top-level-object, plus the "constants"
property in "parseFunc".

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 6