Changes between Version 8 and Version 9 of ListOfWikiPagesMacro


Ignore:
Timestamp:
Oct 24, 2009, 12:26:37 PM (14 years ago)
Author:
Martin Scharrer
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ListOfWikiPagesMacro

    v8 v9  
    33== Description ==
    44
    5 The macro `ListOfWikiPages` prints a table of all (user generated, i.e. non-trac-default) wiki pages with last changed date and author as requested in Request-a-Hack #2427.
     5The macro `ListOfWikiPages` prints a table of all (user generated, i.e. non-trac-default) wiki pages with last changed date and author as requested in Request-a-Hack #2427.
     6Version 0.2 provides also a long format which also includes the newest version number and links to the difference and the history as well as the last comment. This was requested by #4717.
    67
    78The second macro provided by this package is `LastChangesBy` which prints the last changes made by the given user or the logged-in user if no username is given.
     
    1718# Optional list of ignored users, defaults to 'trac' to ignore trac's default wiki pages:
    1819#ignore_users = trac
     20
     21# Select default format 'long' or 'short'. Defaults to 'short' which is the pre-v0.2 format.
     22#default_format = long
     23#default_format = short
    1924}}}
    2025
     
    3540You can use the `ListOfWikiPages` macro like this:
    3641{{{
    37 [[ListOfWikiPages]]
     42[[ListOfWikiPages]]                     # default format as configured in the config file
     43[[ListOfWikiPages(format=short)]]       # short format
     44[[ListOfWikiPages(format=long)]]        # long format (new v0.2)
    3845}}}
    3946which prints a table of all wiki pages, or with a list of wiki pages:
    4047{{{
    41 [[ListOfWikiPages(ThatWikiPage,ThisWikiPage,AnotherWikiPage)]]
     48[[ListOfWikiPages(ThatWikiPage,ThisWikiPage,AnotherWikiPage,format=...)]]
    4249}}}
    4350
    44 this results in a table similar to this (example links not functional and no CSS styles on trac-hacks):
     51The resulting table looks like this (example links not functional) in the `long` format. The `short` format simply lacks the columns `Version`, `Diff`, `History` and `Comment`.
    4552
    4653{{{