cross
New Foswiki release 2.1.6 is available with important security fixes.
Sourceforge foswiki email lists being discontinued. Subscribe to the new Foswiki announce and discuss lists at MailingLists

CONTRIBUTORS { attributes } -- list editors of a topic

  • A %CONTRIBUTORS% without parameters shows a list of all revisions using the default format
  • The following standard attributes are recognized
    Name Description Default
    web specify the web the topic is in if web is not set in the topic param currently viewed web
    topic specify the web.topic to show the revision information for currently viewed topic
    rev specify a revision to begin counting down from most recent revision
    last show the last N edits 4
    nodups if "on", suppresses duplicate lines, useful for showing a list of the authors (will only show the most recent change for each author) off
    header, footer, separator header and footer and separator as per FormattedSearch no header or footer and separator defaults to $n
    format Format of revision information, see supported formatting tokens below * $author -- Revision $rev on date $date
  • Supported formatting tokens (same as VarREVINFO):
    Token: Unit: Example
    $web Name of web Current web
    $topic Topic name Current topic
    $rev Revision number. Prefix r1. to get the usual r1.5 format 5
    $username Login username of revision jsmith
    $wikiname WikiName of revision JohnSmith
    $wikiusername WikiName with Main web prefix Main.JohnSmith
    $date Revision date. Actual date format defined as {DefaultDateFormat} in configure 21 Sep 2006
    $time Revision time 23:24:25
    $iso Revision date in ISO date format 2006-09-22T06:24:25Z
    $min, $sec, etc. Same date format qualifiers as GMTIME{"format"}  
  • EXAMPLE:
    • Show all the authors who edited Main.WebHome between revision r25 and r15
    • %CONTRIBUTORS{topic="Main.WebHome" rev="1.25" last="10" format=" * $author" header="Authors from rev 1.15 to 1.25:" nodups="on"}%
  • The output of the the CONTRIBUTORs Macro is quite disk IO intensive, so the result is cached in the Plugins work_area

Topic revision: r1 - 14 Dec 2010, SvenDowideit - This page was cached on 16 Aug 2018 - 04:26.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy