From 3bea93a8837558291dd4a9fe4d86a7bc65fc6ca4 Mon Sep 17 00:00:00 2001 From: Daniel Siepmann <daniel.siepmann@typo3.org> Date: Thu, 2 Apr 2020 10:52:34 +0200 Subject: [PATCH] [DOCS] Fix broken text role markup in changelog Resolves: #90926 Releases: master, 9.5 Change-Id: I088e2aeb1ae1f3979ec4ba8f7f345032bebfc96a Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/64048 Tested-by: Andreas Fernandez <a.fernandez@scripting-base.de> Tested-by: Tymoteusz Motylewski <t.motylewski@gmail.com> Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de> Reviewed-by: Tymoteusz Motylewski <t.motylewski@gmail.com> --- ...-PageNotFoundAndErrorHandlingInFrontend.rst | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) 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 9aec55e51779..15962c1f96bb 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 -- GitLab