Access Keys:
Skip to content (Access Key - 0)

version-history macro

Overview:

The {version-history} macro allows you to display a table detailing the changes that have been made to the page...

Although this information is already available elsewhere, it is often useful to display it on the page itself. The macro is ideal for formal documentation as it allows you to quickly add a self-updating version history of the page that will be present in printouts. Furthermore, the table displays edit comments alognside each version.

Parameters:

Add the macro to your page as follows:

{version-history:page=Home|dateFormat:ddMMYY HHmm|reverse=true|first=5}
Parameter Required Notes
page The name of the page whose version history you wish to display, if none is given then the current page is assumed. (@self and @parent are also valid)
dateFormat Allows you to override the format used to display dates. Details of the pattern syntax may be found Date Formats. If omitted, the date format defined in Confluence General Configuration will be used.
reverse Whether to reverse the list (sorted in revision order)
first Only display the first x entries


Examples:


See Also:



Ask questions, get help and report bugs & issues on our Community Site

View old comments


Adaptavist Theme Builder Powered by Atlassian Confluence