Deprecation: #94227 - f:base ViewHelper

See Issue #94227

Description

The <f:base> ViewHelper isn’t suitable in almost all use cases and has been deprecated: In most cases the PageRenderer takes care of the main <head> markup, directly, or indirectly via TypoScript config.baseURL.

Impact

Using the view helper in fluid templates will log a deprecation warning and the view helper will be dropped with v12.

Affected Installations

The limited use of the view helper likely leads to little usage numbers. Searching extensions for the string html:<f:base> should reveal any usages.

Migration

The easiest solution is to simply copy PHP class TYPO3\CMS\Fluid\ViewHelpers\BaseViewHelper to the consuming extension, giving the view helper a happy life in an extension specific namespace.