The PageLinkBuilder now separates out into generating links
for pages with site configuration, and without site
configuration (= as before).
The new link mechanism does not rely on previous hooks
and options like config.absRefPrefix which are not necessary
for URLs as they are always absolute.
A new TypoScript option "typolink.language" is introduced.
If not set, it is set to "current", and allows to link
across pagetrees to a given site, or render a language menu
without having to use "&L=" as additional query parameter.
("current" is the current language and default) is
used to also allow to explicitly link to a different language
if this language was configured for the site configuration
for the site.
As for the linking process:
- typolink.forceAbsoluteUrl is used to generate the full
URL to a target page
- typolink.forceAbsoluteUrl.scheme is only applicable
if the site base of the target does not explicitly
define a scheme
- If you link to a different page tree or to a different
host/scheme, it is always treated as absolute.
On top: If you link across page trees, the link is
treated as external (extTarget is used).
The next steps are to create tests and incorporate
config.linkVars into this process.