Changes between Version 5 and Version 6 of MilestoneQueryMacro


Ignore:
Timestamp:
Sep 21, 2016, 8:47:01 PM (8 years ago)
Author:
figaro
Comment:

Moved example to functional description

Legend:

Unmodified
Added
Removed
Modified
  • MilestoneQueryMacro

    v5 v6  
    77This is a macro to display a list of milestones that have matching names. This can be used for reporting on releases which are close together.
    88
    9 The macro supports wildcard-matching, whether the milestone has been released or not and whether the list should be displayed in alphabetical order or not.
     9The macro supports wildcard-matching, whether the milestone has been released or not and whether the list should be displayed in alphabetical order or not. Here is an example of how to display upcoming (and just released) releases, matching two types of names but not completed and in ascending order:
     10
     11{{{
     12[[MilestoneQuery(%release_%,,)]]
     13
     14[[MilestoneQuery(%rc_%,,)]]
     15}}}
     16
     17This is how we display our previous releases, particularly named releases in descending order:
     18
     19{{{
     20[[MilestoneQuery(release_%, completed, DESC)]]
     21}}}
    1022
    1123== Bugs/Feature Requests
     
    2739You can check out MilestoneQueryMacro from [/svn/milestonequerymacro here] using Subversion, or [source:milestonequerymacro browse the source] with Trac.
    2840
    29 == Example
     41== Installation
    3042
    31 Here is an example of how to display upcoming (and just released) releases, matching two types of names but not completed and in ascending order:
    32 
    33 {{{
    34 [[MilestoneQuery(%release_%,,)]]
    35 
    36 [[MilestoneQuery(%rc_%,,)]]
    37 }}}
    38 
    39 This is how we display our previous releases, particularly named releases in descending order:
    40 
    41 {{{
    42 [[MilestoneQuery(release_%, completed, DESC)]]
    43 }}}
     43General instructions on installing Trac plugins can be found on the [TracPlugins#InstallingaTracplugin TracPlugins] page.
    4444
    4545== Recent Changes