The recently-updated macro is a bridge between Confluence and XWiki. It displays the most recent contributions to the wiki, relative to documents, attachments and comments.
There are only a few things that are not supported compared to the Confluence macro, due to differences between the two:
- some special values of the spaces parameters are not supported: @personal , @favorite / @favourite , and personal spaces starting with a "~"
Parameters
| Parameter | Description | Required | Default |
|---|---|---|---|
| types | Select one or multiple content types. The macro will display only the content of the type you specify here. | No | all types |
| spaces | Select one or multiple spaces. The macro will display only the documents present in the selected spaces. | No | @self |
| author | Comma-separated list of authors. | No | |
| labels | Comma-separated list of tags. | No | |
| excludedLabels | Comma-separated list of tags. | No | |
| max | Maximum number of results. | No | 15 |
| theme | Appearance of the macro ( concise , social , sidebar ). | No | concise |
| width | Width of the macro in percentage. | No | 100% |
| hideHeading | Whether to hide the text "Recently Updated" as title | No | false |
| showProfilePic | Whether to show the profile picture of users | No | false |
| currentWiki | If this parameter is selected then the spaces & excluded spaces parameters are ignored and the macro will display the documents from the current wiki. | No | false |
| excludedSpaces | Select one or multiple spaces. The macro will not display the documents present in the selected spaces. | No | |
| global | If this parameter is selected then spaces, excluded spaces and the current wiki parameters are ignored and the macro will display the documents from the current wiki and subwikis. | No | false |
Example Usage
{{recently-updated
spaces="@global"
theme="concise"
max="5"
/}}
spaces="@global"
theme="concise"
max="5"
/}}
Recently Updated
TODO
- add button to fetch more results
- test more thoroughly on subwikis