Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Document Properties Marker
doctypemacro
overridefalse
extract-short-desctrue


Doctypemacrohide
NameChangelog Macro 
Short DescriptionRenders document history information. 
Parent
Parent Property
property-nameName
 
Audience
Name List
doctyperole
render-no-hits-as-blanktrue
render-list-as-comma-separated-valuestrue
namesAuthor, Template Author
propertyAudience
 
Categories
Name List
doctypecategory
 

Tags
Tag List
namesExperimental
hide
Iteration

Iteration
value

focused

released

hide
Since1.10.2 
Sort Keyhide



Section
indextrue
show-titlefalse
titleDescription

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).

Section


Column

Screenshot of the macro

Note Box
titleCompare to Change-History Macro

This macro is similar to the Change-History Macro that is part of the Confluence installation.

The projectdoc version has the following features:

  1. Control the order and content of the columns
  2. Define column headings
  3. Define the date format
  4. Filter on comments
  5. Suppress changes with no comment
  6. Specify the page (not necessarily the page the macro is on)



Column

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.


Section
titleProperties


Section
titleColumns

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 ('=').

Code Block
titleSpecify Labels
user=Committer, date=Modification Date, comment

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


Section
titleDate 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.

Example Box

If the format references the day 20.02.2015 then every change comment by a given user on that day is rendered in the same table cell.



Section
titleComment 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.

Example Box

If the comment filter is set to

Code Block
commit: (.+)

only changes where the comment starts with "commit: " are selected. The comment column only shows the part after this prefix.



Section
titleEmpty 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).


Section
titleTransclusions

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.

Caution Box
titleExperimental Feature

The limitations of this experimental feature are:

  • Changes are tracked on page level. The macro does not check if the page changed within the transcluded fragment. If the page from which content is transcluded changes, it is added to the list of changes.
  • Since only the Transclusion Macro is taken into account, changes to the page contributed by other macros are not reflected. This may confuse users.
  • The change is rendered with the identifier of the change, which includes the identifier of the page's history version (not only the version ID).

 We We recommend to use this feature to get an overview over changes. Do not apply this feature to use cases where it is mandatory to track all changes to a document.



Section
titlePage

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.


...

 
Section
delegatefalse
titleDetails



 
Section
indextrue
titleRelated macros


Section
indextrue
titleSub-Macros
Display Table
doctypemacro
render-no-hits-as-blanktrue
selectName, Short Description
restrict-to-immediate-childrentrue
sort-bySort Key, Name

...

Section
titleNotes


Section
titleReferences


projectdoc-tour-macro
render-no-hits-as-blanktrue
render-as-definition-listtrue
marker-column-property-nameTitle
replace-title-with-nametrue


TitleShort Description





projectdoc-section
titleResources


Tour
render-no-hits-as-blanktrue
render-as-definition-listtrue
marker-column-property-nameTitle
replace-title-with-nametrue


TitleShort Description
Charter
Paperwork
Domain Crunching





Piwik Set Multiple Custom Variables


NameValue
Departmentprojectdoc
Categoryprojectdoc-macro
Typeversion