[xwiki-users] Mistake on XWiki Syntax page?
On the XWiki Syntax page, it says that [[text>>Space.Page#anchor]] will create a link to an anchor. It doesn't work for me, at least on the current page. (The # gets replace with %23 in the url.) Instead [[text>>Space.Page||anchor=anchor]] seems to work, even if Space.Page is left out. Where should I report this so it gets fixed? Thanks! Todd
On 09/20/2013 10:07 PM, Todd O'Bryan wrote:
On the XWiki Syntax page, it says that [[text>>Space.Page#anchor]] will create a link to an anchor. It doesn't work for me, at least on the current page. (The # gets replace with %23 in the url.)
Instead [[text>>Space.Page||anchor=anchor]] seems to work, even if Space.Page is left out.
Where should I report this so it gets fixed?
It is not a mistake. The syntax page contains definitions for 3 different syntaxes, xwiki/1.0, xwiki/2.0, and xwiki/2.1. The #anchor syntax belongs to the slightly older xwiki/2.0 syntax, and it will work correctly if you use it. However, the xwiki/2.1 syntax has been the default for a while, but the syntax page still uses 2.0 as the main syntax. -- Sergiu Dumitriu http://purl.org/net/sergiu
Hi, On Sep 21, 2013, at 4:07 AM, "Todd O'Bryan" <[email protected]> wrote:
On the XWiki Syntax page, it says that [[text>>Space.Page#anchor]] will create a link to an anchor. It doesn't work for me, at least on the current page. (The # gets replace with %23 in the url.)
Instead [[text>>Space.Page||anchor=anchor]] seems to work, even if Space.Page is left out.
Where should I report this so it gets fixed?
Yes someone really needs to finish http://jira.xwiki.org/browse/XWIKI-9176 ATM you'll find the syntax 2.1 explanations for links and images in their respective sections on: http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax#HLinks http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax#HImages Thanks -Vincent
participants (3)
-
Sergiu Dumitriu -
Todd O'Bryan -
Vincent Massol