Changes between Version 8 and Version 9 of ListOfWikiPagesMacro
- Timestamp:
- Oct 24, 2009, 12:26:37 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ListOfWikiPagesMacro
v8 v9 3 3 == Description == 4 4 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. 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. 6 Version 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. 6 7 7 8 The 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. … … 17 18 # Optional list of ignored users, defaults to 'trac' to ignore trac's default wiki pages: 18 19 #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 19 24 }}} 20 25 … … 35 40 You can use the `ListOfWikiPages` macro like this: 36 41 {{{ 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) 38 45 }}} 39 46 which prints a table of all wiki pages, or with a list of wiki pages: 40 47 {{{ 41 [[ListOfWikiPages(ThatWikiPage,ThisWikiPage,AnotherWikiPage )]]48 [[ListOfWikiPages(ThatWikiPage,ThisWikiPage,AnotherWikiPage,format=...)]] 42 49 }}} 43 50 44 this results in a table similar to this (example links not functional and no CSS styles on trac-hacks): 51 The 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`. 45 52 46 53 {{{