Changelog Macro

Renders document history information.

Audience
Since
1.10.2

The Changelog Macro renders the changes of a given page as a table. The user selects the change information to show.

The macro allows to render selected information. This is especially handy for use cases where change information is exported (for instance to PDF).

Screenshot of the macro
Screenshot of the macro

Options of the macro
Options of the macro

To organize your collaborative work on a document, you may use a Charter. The Changelog Macro may be use on the charter document to track changes on the document the team is working on. This would support the team compiling of change information for the final document.

Properties

Columns

Specify the identifier of change attributes to show. The order of the identifiers defines the order of the columns.

Valid identifiers are:

IdentifierDefault LabelDescription
userAuthorThe user responsible for the change.
dateDateThe date when the change has been made.
commentCommentThe comment given by the user to describe the change. This information may not be provided by the user.
comment+versionCommentThe comment as above plus a link to the previous version.

There is a default label for each identifier. If you want to render a different label, specify it after the identifier and separate it with the equal sign ('=').

Specify Labels
user=Committer, date=Modification Date, comment

In this example the labels for user and comment are changed to custom values.

Date Format

The date format defines how dates are rendered. The rules for valid formats are specified in Date Format.

The date format also controls how changes are rendered. All change comments by a given user and on the given date are rendered in the comment column of a row.

Comment Filter

Specify a regular expression to select the changes to render in the table.

There may be many change comments, but only a few are important enough to render them in the changelog table. Typically teams define a prefix to add before every comment. The matched text in the first pair of brackets is rendered.

Empty Comment Handling

Teams may decide to not comment every change. These changes may not be rendered in the changelog table.

Simply check the box to drop all changes without a comment (this is the default).

Transclusions

Check this box to include changes from pages transcluded via the Transclusion Macro.

Select comment+version for a column to render changes within transcluded documents.

Page

Specify the page to render its changes. If no page is specified, the macro renders the changelog of the page this macro is part of.

Resources

Charter
Describes an information need and use this description as a basis to create and maintain a document.
Paperwork
Collaborate to create documents for your stakeholders as a team.
Domain Crunching
Collect and maintain information relevant for your team, project, or organization collaboratively.