Contributors

Last modified by Frank Fock on 2024/05/23 17:17

Contributors confluence bridge macro that shows the contributors of a given page.

ParameterNameDefaultDescription
includeIncludeauthors
  • authors - includes users who edited the page(s).
  • comments - includes people who commented to the page(s)

Several values can be given, separated by commas. Values "labels" and "watches" are not supported in this bridge macro.

orderOrdercount

Possibles values:

  • count - order by number of contributions
  • name - order contributors by name alphabetically
  • update - order by last contribution date
reverseReversefalsereverse the order specified in the order parameter.
limitLimitno limitShow at most the given number of contributors.
modeModeinline

Possible values are:

  • inline - a comma-separated list
  • list - a bullet list.
showCountShow countfalseShow the contribution count for each user.
showLastTimeShow last timefalseShow the last contribution time for each user.
pagePagecurrentThe page for which to list the contributions. If both page and space are empty, the current page is used.
spacesSpacescurrent

Space(s) containing the page specified in the page parameter, or the space(s) to search. Several spaces can be specified using commas.

@global and @ALL will search in the whole wiki.

scopeScopespecified page only

Possible values:

  • children - include direct children of the specified pages
  • descendants - include all children of the specified pages
  • (blank) - include only the specified pages
showPagesShow PagesfalseShow the list of pages used to build the list of contributors
noneFoundMessageNone Found Messagedefault message

The message to show when no contributors are found.

Examples

Code (this page, inline):

{{contributors mode="inline"/}}

Result:

Code (this page, list mode, show information):

{{contributors mode="list" showCount="true" showLastTime="true" showPages="true"/}}

Result:

Pages: Contributors

Code (Sandbox space, inline):

{{contributors spaces="Sandbox" scope="descendents" mode="inline"/}}

Result:

Code (Sandbox space, list mode, show information):

{{contributors spaces="Sandbox" scope="descendents" mode="list" showCount="true" showLastTime="true" showPages="true"/}}

Result: