[FEATURE] Add LinkService and "t3://" linking syntax
A new and unified syntax to link to pages, files, folders within a TYPO3 instance is added. All links are prefixed with "t3://". This patch adds a LinkService to convert from the "old" typolink syntax to the new syntax, and also allows to add the new syntax to typolink syntax. The further steps are * Don't replace the <a> tags with <links-tags inside the RTE transformations anymore * Make the frontend lib.parseFunc_RTE deal with <a> tags directly * Add a migration wizard for existing content Resolves: #74365 Releases: master Change-Id: I95a68c5770f4e4c5d9f8b3973817f1a270353217 Reviewed-on: https://review.typo3.org/47094 Reviewed-by:Frank Naegler <frank.naegler@typo3.org> Tested-by:
Frank Naegler <frank.naegler@typo3.org> Tested-by:
Bamboo TYPO3com <info@typo3.com> Reviewed-by:
Georg Ringer <georg.ringer@gmail.com> Reviewed-by:
Andreas Fernandez <typo3@scripting-base.de> Tested-by:
Andreas Fernandez <typo3@scripting-base.de>
Showing
- typo3/sysext/backend/Classes/Controller/LinkBrowserController.php 9 additions, 0 deletions...sext/backend/Classes/Controller/LinkBrowserController.php
- typo3/sysext/backend/Classes/Tree/View/ElementBrowserPageTreeView.php 3 additions, 1 deletion.../backend/Classes/Tree/View/ElementBrowserPageTreeView.php
- typo3/sysext/backend/Resources/Public/JavaScript/FormEngineLinkBrowserAdapter.js 0 additions, 16 deletions...sources/Public/JavaScript/FormEngineLinkBrowserAdapter.js
- typo3/sysext/core/Classes/LinkHandling/EmailLinkHandler.php 46 additions, 0 deletionstypo3/sysext/core/Classes/LinkHandling/EmailLinkHandler.php
- typo3/sysext/core/Classes/LinkHandling/FileLinkHandler.php 92 additions, 0 deletionstypo3/sysext/core/Classes/LinkHandling/FileLinkHandler.php
- typo3/sysext/core/Classes/LinkHandling/FolderLinkHandler.php 79 additions, 0 deletionstypo3/sysext/core/Classes/LinkHandling/FolderLinkHandler.php
- typo3/sysext/core/Classes/LinkHandling/LegacyLinkNotationConverter.php 218 additions, 0 deletions...core/Classes/LinkHandling/LegacyLinkNotationConverter.php
- typo3/sysext/core/Classes/LinkHandling/LinkHandlingInterface.php 52 additions, 0 deletions...ysext/core/Classes/LinkHandling/LinkHandlingInterface.php
- typo3/sysext/core/Classes/LinkHandling/LinkService.php 148 additions, 0 deletionstypo3/sysext/core/Classes/LinkHandling/LinkService.php
- typo3/sysext/core/Classes/LinkHandling/PageLinkHandler.php 88 additions, 0 deletionstypo3/sysext/core/Classes/LinkHandling/PageLinkHandler.php
- typo3/sysext/core/Classes/LinkHandling/UrlLinkHandler.php 61 additions, 0 deletionstypo3/sysext/core/Classes/LinkHandling/UrlLinkHandler.php
- typo3/sysext/core/Configuration/DefaultConfiguration.php 7 additions, 0 deletionstypo3/sysext/core/Configuration/DefaultConfiguration.php
- typo3/sysext/core/Documentation/Changelog/master/Feature-74365-LinkServiceForUnifiedReferencingSyntax.rst 128 additions, 0 deletions.../Feature-74365-LinkServiceForUnifiedReferencingSyntax.rst
- typo3/sysext/core/Tests/Unit/LinkHandling/EmailLinkHandlerTest.php 80 additions, 0 deletions...ext/core/Tests/Unit/LinkHandling/EmailLinkHandlerTest.php
- typo3/sysext/core/Tests/Unit/LinkHandling/FileLinkHandlerTest.php 123 additions, 0 deletions...sext/core/Tests/Unit/LinkHandling/FileLinkHandlerTest.php
- typo3/sysext/core/Tests/Unit/LinkHandling/FolderLinkHandlerTest.php 127 additions, 0 deletions...xt/core/Tests/Unit/LinkHandling/FolderLinkHandlerTest.php
- typo3/sysext/core/Tests/Unit/LinkHandling/LegacyLinkNotationConverterTest.php 281 additions, 0 deletions...sts/Unit/LinkHandling/LegacyLinkNotationConverterTest.php
- typo3/sysext/core/Tests/Unit/LinkHandling/LinkServiceTest.php 242 additions, 0 deletions...3/sysext/core/Tests/Unit/LinkHandling/LinkServiceTest.php
- typo3/sysext/core/Tests/Unit/LinkHandling/PageLinkHandlerTest.php 140 additions, 0 deletions...sext/core/Tests/Unit/LinkHandling/PageLinkHandlerTest.php
- typo3/sysext/core/Tests/Unit/LinkHandling/UrlLinkHandlerTest.php 125 additions, 0 deletions...ysext/core/Tests/Unit/LinkHandling/UrlLinkHandlerTest.php
Please register or sign in to comment