Deprecation: #85130 - $TSFE->getPageShortcut() moved to PageRepository

See Issue #85130

Description

The method TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController::getPageShortcut() has been moved to TYPO3\CMS\Frontend\Page\PageRepository::getPageShortcut(), as it conceptually belongs in this class.

Impact

Calling the method will trigger a PHP E_USER_DEPRECATED error.

Affected Installations

TYPO3 installations using the method directly in an extension.

Migration

Switch the call $GLOBALS['TSFE']->getPageShortcut() to $GLOBALS['TSFE']->sys_page->getPageShortcut() to receive the exact same result without a deprecation message.