diff --git a/typo3/sysext/core/Documentation/Changelog/9.2/Deprecation-83883-PageNotFoundAndErrorHandlingInFrontend.rst b/typo3/sysext/core/Documentation/Changelog/9.2/Deprecation-83883-PageNotFoundAndErrorHandlingInFrontend.rst index 9aec55e5177922f404b6c2a86a0f568951bae374..15962c1f96bb6600d645399eae790b8dde423935 100644 --- a/typo3/sysext/core/Documentation/Changelog/9.2/Deprecation-83883-PageNotFoundAndErrorHandlingInFrontend.rst +++ b/typo3/sysext/core/Documentation/Changelog/9.2/Deprecation-83883-PageNotFoundAndErrorHandlingInFrontend.rst @@ -11,12 +11,12 @@ Description The following methods have been marked as deprecated: -* php:`TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController->pageUnavailableAndExit()` -* php:`TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController->pageNotFoundAndExit()` -* php:`TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController->checkPageUnavailableHandler()` -* php:`TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController->pageUnavailableHandler()` -* php:`TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController->pageNotFoundHandler()` -* php:`TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController->pageErrorHandler()` +* :php:`TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController->pageUnavailableAndExit()` +* :php:`TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController->pageNotFoundAndExit()` +* :php:`TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController->checkPageUnavailableHandler()` +* :php:`TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController->pageUnavailableHandler()` +* :php:`TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController->pageNotFoundHandler()` +* :php:`TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController->pageErrorHandler()` These methods have been commonly used by third-party extensions to show that a page is not found, a page is unavailable due to misconfiguration or the access to a page was denied. @@ -37,10 +37,10 @@ Any installation with third-party PHP extension code calling these methods. Migration ========= -Use the new `ErrorController` with its custom actions `unavailableAction()`, `pageNotFoundAction()` and -`accessDeniedAction()`. +Use the new :php:`ErrorController` with its custom actions :php:`unavailableAction()`, :php:`pageNotFoundAction()` and +:php:`accessDeniedAction()`. Instead of exiting the currently running script, a proposed PSR-7-compliant response is returned which can be handled by the third-party extension to enrich, return or customize exiting the script. -.. index:: Frontend, PHP-API, FullyScanned \ No newline at end of file +.. index:: Frontend, PHP-API, FullyScanned