"bookmarks" Macro
Last modified by superadmin on 2026/11/25 21:26
Content
Shows a user's bookmarks in any wiki page, with its user parameter and what each kind of reader sees.
Reference
Description
As on the bookmarks page, the reader manages their folders and Panel selection from the bookmarks macro. 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.