Changes between Version 26 and Version 27 of ListOfWikiPagesMacro


Ignore:
Timestamp:
May 16, 2016, 10:28:29 AM (8 years ago)
Author:
figaro
Comment:

Cosmetic changes

Legend:

Unmodified
Added
Removed
Modified
  • ListOfWikiPagesMacro

    v26 v27  
    1010The 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.
    1111
    12 This package now uses the AdvParseArgsPlugin, which must also be installed.
     12This package uses the AdvParseArgsPlugin, which must also be installed.
    1313
    1414== Bugs/Feature Requests
     
    4242
    4343[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:
    4545#ignore_users = trac
    4646
     
    5656You can use the `ListOfWikiPages` macro like this:
    5757{{{
    58 [[ListOfWikiPages]]                     # default format as configured in the config file
     58[[ListOfWikiPages]]                     # default format as given in the configuration file
    5959[[ListOfWikiPages(format=short)]]       # short format
    6060[[ListOfWikiPages(format=long)]]        # long format (new v0.2)
     
    6969The values of this arguments are taken as negative offsets to the current time, that is the time that the wiki page is displayed.
    7070Allowed 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.
     71If the unit is missing, then seconds are assumed.
    7272
    7373{{{
    74 [[ListOfWikiPages(from=3d)]]            # displays all wiki pages changed in the last three days
    75 [[ListOfWikiPages(to=15m)]]             # displays all wiki pages was where changed longer than 15 minutes ago
    76 [[ListOfWikiPages(from=4.5w,to=15h)]]   # displays all wiki pages was where changed between 4 1/2 week and 15 hours ago
     74[[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
    7777}}}
    7878
     
    8282}}}
    8383
    84 The order can be reversed, i.e. list the oldest wikis first, using:
     84The order can be reversed, ie list the oldest wikis first, using:
    8585{{{
    8686[[ListOfWikiPages(order=reverse)]]
    8787}}}
    8888
    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)
     89Unwanted wiki ranges, eg `Trac*`, can be excluded by the `exclude=pattern` option which can be given multiple times.
     90The wildcards '`*`' (matches everything) and '`?`' (matches a single character) can be used in the pattern (requested in #6074).
    9191{{{
    9292[[ListOfWikiPages(exclude=Trac*,exclude=abc?)]]
    9393}}}
    9494
    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`.
     95The 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`.
    9696
    9797{{{
     
    108108
    109109[[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
    111111[[LastChangesBy(,12)]]               # the last 12 changes by the current user
    112112
     
    114114[[LastChangesBy(...,from=..,to=..]]  # Selects `from` and `to` time/date range
    115115
    116 [[LastChangesBy(...,headline=...]]   # Overwrites headline, may not contain `','`
     116[[LastChangesBy(...,headline=...]]   # Overwrites headline, may not contain `','`.
    117117
    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`.
    119119
    120 [[LastChangesBy(..,exclude=pattern]] # Excludes wikis matching `pattern`. Wildcards `*` and `?` are supported.
     120[[LastChangesBy(..,exclude=pattern]] # Excludes wiki pages matching `pattern`. Wildcards `*` and `?` are supported.
    121121}}}
     122
     123The resulting table looks like this in the `long` format:
    122124
    123125{{{