Last modified by Thomas Mortagne on 2023/10/13

<
From version < 51.2 >
edited by Eduard Moraru
on 2016/02/09
To version < 51.6 >
edited by Eduard Moraru
on 2016/02/09
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -43,13 +43,15 @@
43 43  
44 44  The same thing applies for ##image~:## (e.g. ##image~:[email protected]## translates technically to ##image~:[email protected]##) and for ##attach~:## syntax (e.g. ##attach~:[email protected]## translates technically to ##attach~:[email protected]##).
45 45  
46 -=== Links to sibling Nested Pages ===
46 +More details and examples can be found in the XWiki link syntax documentation page on your XWiki instance.
47 47  
48 -To better support backwards compatibility with the pre-Nested-Pages behavior when the current document is a non-terminal document and the untyped link has not been resolved using the above mentioned algorithm, we perform 2 additional checks:
48 +=== Relative links to sibling Nested Pages ===
49 49  
50 -* we try to link to an existing terminal page that is a sibling in the parent space (i.e. ##~[~[Page]]## is resolved to the equivalent of ##~[~[doc:parentSpace.Page]]##)
51 -* if no such terminal page exists, then link to the non-terminal page that is a sibling in the parent space (i.e. ##~[~[Page]]## is resolved to the equivalent of ##~[~[doc:parentSpace.Page.WebHome]]##) for both when the non-terminal page exists or when it does not (and should be a wanted link)
50 +To better support backwards compatibility with the pre-Nested-Pages behavior when the current document is a non-terminal document and an untyped relative link (e.g ##~[~[Page]]##) has not been resolved using the above mentioned algorithm (i.e. as a terminal or non-terminal child of the current page), we perform 2 additional checks:
52 52  
52 +* we try to link to an existing terminal page that is a sibling of the current page (i.e. ##~[~[Page]]## is resolved to the equivalent of ##~[~[doc:currentPageParent.Page]]##)
53 +* if no such terminal page exists, then link to the non-terminal page that is a sibling of the current page (i.e. ##~[~[Page]]## is resolved to the equivalent of ##~[~[doc:currentPageParent.Page.WebHome]]##) for both when the non-terminal page exists or when it does not (and should be a wanted link)
54 +
53 53  == Color Theme Displayer ==
54 54  
55 55  In the administration, an error message is displayed if the configured color theme is invalid. It could happen after an upgrade if you were using an old Colibri Theme.
... ... @@ -175,7 +175,7 @@
175 175  * The WebDAV feature is now configured using Servlet 3.0 annotations and is not bundled by default anymore.
176 176  ** If you were using this feature, you should check the [[Instructions to install it manually>>extensions:Extension.WebDAV Server||anchor="HPrerequisites26InstallationInstructions"]].
177 177  ** If you were not using it, you should make sure to edit your ##web.xml## to remove all the Servlet and Filter definitions for WebDAV (search for ##dav## in ##web.xml##).
178 -* With the improvement done in the wiki links, ##image~:## and ##attach~:## syntax, existing untyped links pointing to inexistent documents (e.g. ##~[~[Doc]]##) will no longer be resolved to point to a new terminal document in the same space (i.e. ##<currentSpace>.Doc##, when ##<currentSpace>.Doc## does not exist), but will be resolved to point to a new non-terminal document in the top level (i.e. ##Doc.WebHome##). The reason is because we don`t currently have a way to specify a relative link to a nested document (i.e. space) and we only use absolute links. This only affects wanted links, since for existing documents the backwards compatibility mechanism preserves the previous behavior.
180 +* With the addition of the new ##space:## link type in the XWiki syntax, any previously existing links to a subwiki named ##space## (e.g. ##~[~[space:My.Page]]##) will be broken and interpreted as being a link to the non-terminal page ##My.Page## in the current wiki (as per the definition of the new ##space:## link type). To fix this, any such links need to be changed to ##~[~[space:space:My.Page]]##, or to ##~[~[doc:space:My.Page]]## (depending on the linked document's type).
179 179  * Mail API Unique Message Identifier (since 7.4.1): In order to solve [[XWIKI-12165>>http://jira.xwiki.org/browse/XWIKI-12165]], the unique identifier of each mime message sent has been change to a SHA1 based on the ##Message-ID## header and the list of recipients of the mails, ensuring uniqueness during a newsletter or mailing sending. To introduce this change, the ##MailContentStore## and the ##MailListener API## has been broken, and now use a new ExtendedMimeMessage instead of the simple ##MimeMessage## for all arguments. The values ##messageId## returned or used as argument in the API is no more equivalent to the ##Message-ID## header, but is now the unique identifier returned by ##ExtendedMimeMessage#getUniqueMessageId()##. Finally, the ##MessageMimeMessageFactory## now returns cloned ##MimeMessage## without changing the ##Message-ID##.
180 180  * If you have custom Velocity Uberspectors that implement ##org.xwiki.velocity.introspection.ChainableUberspector## or extend ##org.xwiki.velocity.introspection.AbstractChainableUberspector##, update them to ##org.apache.velocity.util.introspection.ChainableUberspector## and ##org.apache.velocity.util.introspection.AbstractChainableUberspector##. If you have a custom list of uberspectors specified under ##runtime.introspector.uberspect.chainClasses##, just use the ##runtime.introspector.uberspect## property for defining the list. Otherwise your custom configuration will be ignored!
181 181  * We've introduced the possibility to explicitly create a link to a Space in XWiki Syntax 2.1, e.g. ##~[~[space:Space1.Space2]]##. However if you had a subwiki named ##space## the new notation will conflict with the syntax for referencing that wiki. Thus you'll need to edit existing links such as ##~[~[space:something]]## to ##~[~[doc:space:something]]##. And if you wish to reference a given space in the ##space## subwiki, you'd write ##~[~[space:space:something]]##.

Get Connected