cogAllows putting a reference/location in a page
Developed by

XWiki Development Team

Active Installs0
0 Votes
LicenseGNU Lesser General Public License 2.1
Bundled With

XWiki Enterprise, XWiki Enterprise Manager

Installable with the Extension Manager


Allows putting a reference/location in a page. In HTML for example this is called an Anchor. It allows pointing to that location, for example in links.


{{id name="someid" /}}

Parameters definition

NameOptionalAllowed valuesDefault valueDescription
namenoanyNo default valueThe identifier value.


[[Click here to jump to anchor "someid">>||anchor="someid"]]

{{id name="someid" /}}
The "someid" anchor where to jump

Note that the link syntax must correspond to the syntax of the document where the link is present. This means that you have to use:

SyntaxLink format
xwiki/1.0 to another document[jump to anchor>Some.Document#someid]
xwiki/2.0[[jump to anchor>>#someid]]
xwiki/2.0 to another document[[jump to anchor>>Some.Document#someid]]
xwiki/2.1[[jump to anchor>>||anchor="someid"]]
xwiki/2.1 to another document[[jump to anchor>>Some.Document||anchor="someid"]]


Click here to jump to anchor "someid"

The "someid" anchor where to jump

Tested on

This extension has been tested with the following configurations.

Extension VersionXWiki FlavorNotes
6.1XWiki Enterprise 6.1

Prerequisites & Installation Instructions

We recommend using the Extension Manager to install this extension (Make sure that the text "Installable with the Extension Manager" is displayed at the top right location on this page to know if this extension can be installed with the Extension Manager). Note that installing Extensions when being offline is currently not supported and you'd need to use some complex manual method.

You can also use the manual method which involves dropping the JAR file and all its dependencies into the WEB-INF/lib folder and restarting XWiki.


Dependencies for this extension (org.xwiki.rendering:xwiki-rendering-macro-id 12.9):

Tags: id anchor
Created by Thomas Mortagne on 2008/09/30 12:57

Get Connected