Epic #84729
closedEpic #84726: Initiative: URL Routing Integration / Site Handling
Epic #84728: Introduce speaking URLs for pages
Implement "slug" handling for pages and other records
100%
Description
1. Create a new pages DB field "slug" ("URL path")
2. Create a new TCA type "type=slug"
- FormEngine: renders an input field and validates against URI schemes (JS validation), prepends the current / configured site to get the full URL
- Also Consider (Copy 1) in pages etc. so they get a "-1" and not a "-copy1"
- Validate for "Uniqueness" on save (or before?)
- TCA type "slug":
type = 'slug'
config [
'valueFields' => ['a-field-from-the-same-table', 'another-field'], - special key "site-rootline"
'fieldSeparator' => '/' => (so you could do /year/month/title/uid')
'custom' => Userfunc?
]
Open topics:
- discuss if slugs always need a prepending or a appending slash?
- Should we still allow ?id=123 ?
3. Create a CLI command to create slugs for pages (or all TCA tables) - allow to migrate from realurl?
4. Create an upgrade wizard that does the same
5. Ensure that all pages within a site have a slug - possible?
6. Handle things like "moving a page to a different site"
Updated by Gerrit Code Review over 6 years ago
- Status changed from New to Under Review
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56889
Updated by Gerrit Code Review over 6 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56889
Updated by Gerrit Code Review over 6 years ago
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56889
Updated by Gerrit Code Review over 6 years ago
Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56889
Updated by Gerrit Code Review over 6 years ago
Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56889
Updated by Gerrit Code Review over 6 years ago
Patch set 7 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56889
Updated by Gerrit Code Review over 6 years ago
Patch set 8 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56889
Updated by Gerrit Code Review over 6 years ago
Patch set 9 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56889
Updated by Gerrit Code Review over 6 years ago
Patch set 10 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56889
Updated by Gerrit Code Review over 6 years ago
Patch set 11 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56889
Updated by Gerrit Code Review over 6 years ago
Patch set 12 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56889
Updated by Gerrit Code Review over 6 years ago
Patch set 13 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56889
Updated by Gerrit Code Review over 6 years ago
Patch set 14 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56889
Updated by Gerrit Code Review over 6 years ago
Patch set 15 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56889
Updated by Gerrit Code Review over 6 years ago
Patch set 16 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56889
Updated by Gerrit Code Review over 6 years ago
Patch set 17 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56889
Updated by Gerrit Code Review over 6 years ago
Patch set 18 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56889
Updated by Gerrit Code Review over 6 years ago
Patch set 19 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56889
Updated by Gerrit Code Review over 6 years ago
Patch set 20 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56889
Updated by Gerrit Code Review over 6 years ago
Patch set 21 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56889
Updated by Gerrit Code Review over 6 years ago
Patch set 22 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56889
Updated by Gerrit Code Review over 6 years ago
Patch set 23 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56889
Updated by Gerrit Code Review over 6 years ago
Patch set 24 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56889
Updated by Gerrit Code Review over 6 years ago
Patch set 25 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56889
Updated by Gerrit Code Review over 6 years ago
Patch set 26 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56889
Updated by Gerrit Code Review over 6 years ago
Patch set 27 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56889
Updated by Benni Mack over 6 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 7df267c885f4e7f065c36423faebf761d4194cff.
Updated by Christian Kuhn over 6 years ago
- Related to Bug #86073: Create url segment if localizing page added
Updated by Christian Kuhn over 6 years ago
- Related to deleted (Bug #86073: Create url segment if localizing page)
Updated by David Bruchmann about 6 years ago
Benni Mack wrote:
Applied in changeset 7df267c885f4e7f065c36423faebf761d4194cff.
In line 44 of SlugHelperTest is written "'strig tags' => [", is "strig" correct?
I'd suppose it shall be "string" ...