"bookmarks" Macro
Last modified by Eleni Cojocariu on 2026/11/11 13:28
Content
Reference
Description
The bookmarks macro displays a bookmarks page in any wiki page, where the reader manages their folders and Panel selection. It is in the "Navigation" category of the macros, and must stand on its own line.
Usage
{{bookmarks/}}Parameters
| Parameter | Default | What it does |
|---|---|---|
| user | The current user | Displays the bookmarks of this user, such as XWiki.jdoe, instead of those of the reader. |
Examples
| Reader | What the macro displays |
|---|---|
| Not logged in | "Log in to manage your bookmarks." |
| The user whose bookmarks are displayed | Their bookmarks. |
| An administrator of the wiki | The bookmarks, under "You are managing the bookmarks of <user>." when they belong to someone else. |
| Anyone else | "You are not allowed to view this list." |
FAQ
Why does an administrator see "You are not allowed to view this list."?
To display the bookmarks of another user, the page holding the macro must also be saved by an administrator of the wiki, as explained in Advanced Bookmarks Storage and Privacy.