Changes between Version 26 and Version 27 of ListOfWikiPagesMacro
- Timestamp:
- May 16, 2016, 10:28:29 AM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ListOfWikiPagesMacro
v26 v27 10 10 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. 11 11 12 This package nowuses the AdvParseArgsPlugin, which must also be installed.12 This package uses the AdvParseArgsPlugin, which must also be installed. 13 13 14 14 == Bugs/Feature Requests … … 42 42 43 43 [listofwikipages] 44 # Optional list of ignored users, defaults to 'trac' to ignore trac's default wiki pages:44 # Optional list of ignored users, defaults to 'trac' to ignore Trac's default wiki pages: 45 45 #ignore_users = trac 46 46 … … 56 56 You can use the `ListOfWikiPages` macro like this: 57 57 {{{ 58 [[ListOfWikiPages]] # default format as configured in the configfile58 [[ListOfWikiPages]] # default format as given in the configuration file 59 59 [[ListOfWikiPages(format=short)]] # short format 60 60 [[ListOfWikiPages(format=long)]] # long format (new v0.2) … … 69 69 The values of this arguments are taken as negative offsets to the current time, that is the time that the wiki page is displayed. 70 70 Allowed is a number followed by a unit which can be `s`, `m`, `h`, `d`, `w`, `o`, `y` for seconds, minutes, hours, days, weeks, months and years. 71 If the unit is missing seconds are assumed.71 If the unit is missing, then seconds are assumed. 72 72 73 73 {{{ 74 [[ListOfWikiPages(from=3d)]] # displays all wiki pages changed in the last threedays75 [[ListOfWikiPages(to=15m)]] # displays all wiki pages was where changed longerthan 15 minutes ago76 [[ListOfWikiPages(from=4.5w,to=15h)]] # displays all wiki pages was where changed between 4 1/2 weekand 15 hours ago74 [[ListOfWikiPages(from=3d)]] # displays all wiki pages changed in the last 3 days 75 [[ListOfWikiPages(to=15m)]] # displays all wiki pages changed more than 15 minutes ago 76 [[ListOfWikiPages(from=4.5w,to=15h)]] # displays all wiki pages changed between 4 1/2 weeks and 15 hours ago 77 77 }}} 78 78 … … 82 82 }}} 83 83 84 The order can be reversed, i .e.list the oldest wikis first, using:84 The order can be reversed, ie list the oldest wikis first, using: 85 85 {{{ 86 86 [[ListOfWikiPages(order=reverse)]] 87 87 }}} 88 88 89 Unwanted wiki ranges (e.g. `Trac*`)can be excluded by the `exclude=pattern` option which can be given multiple times.90 The wildcards '`*`' (matches everything) and '`?`' (matches a single character) can be used in the pattern . (Requested by #6074)89 Unwanted wiki ranges, eg `Trac*`, can be excluded by the `exclude=pattern` option which can be given multiple times. 90 The wildcards '`*`' (matches everything) and '`?`' (matches a single character) can be used in the pattern (requested in #6074). 91 91 {{{ 92 92 [[ListOfWikiPages(exclude=Trac*,exclude=abc?)]] 93 93 }}} 94 94 95 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`.95 The resulting table looks like this in the `long` format (example links not functional). The `short` format simply lacks the columns `Version`, `Diff`, `History` and `Comment`. 96 96 97 97 {{{ … … 108 108 109 109 [[LastChangesBy]] # or 110 [[LastChangesBy()]] # the last 5 changes by the current user (i.e. every user sees it's own changes, if logged-on)110 [[LastChangesBy()]] # the last 5 changes by the current user, ie every logged-on user sees its own changes 111 111 [[LastChangesBy(,12)]] # the last 12 changes by the current user 112 112 … … 114 114 [[LastChangesBy(...,from=..,to=..]] # Selects `from` and `to` time/date range 115 115 116 [[LastChangesBy(...,headline=...]] # Overwrites headline, may not contain `','` 116 [[LastChangesBy(...,headline=...]] # Overwrites headline, may not contain `','`. 117 117 118 [[LastChangesBy(...,order=reverse]] # Lists the wikis in reverse order. Only really useful with few wikis or with `to`/`from`.118 [[LastChangesBy(...,order=reverse]] # Lists the wikis in reverse order. Only useful with few wiki pages or with `to`/`from`. 119 119 120 [[LastChangesBy(..,exclude=pattern]] # Excludes wiki s matching `pattern`. Wildcards `*` and `?` are supported.120 [[LastChangesBy(..,exclude=pattern]] # Excludes wiki pages matching `pattern`. Wildcards `*` and `?` are supported. 121 121 }}} 122 123 The resulting table looks like this in the `long` format: 122 124 123 125 {{{