Use templates from the wiki when creating milestones.


Any wiki page with a name starting with MilestoneTemplates/ can be used as a template. This works in a similar way as wiki page templates work (see PageTemplates).

Examples for milestone template names:

  • MilestoneTemplates/MsTemplate
  • MilestoneTemplates/MyMilestoneTemplate

Additionally there is a preview of the milestone description (where you may use WikiFormatting) since version 0.1.1.

When creating a new milestone you may use a dropdown list for selecting a template. The contents of the template is used for the milestone description on creation. Note that the dropdown list is only available after creation of one or more template pages.

Milestone templates may use the variable $MILESTONE for inserting the chosen milestone name into the description. This may be useful if the template contains a TracQuery with milestone parameter.


Bugs/Feature Requests

Existing bugs and feature requests for MilestoneTemplatePlugin are here.

If you have any issues, create a new ticket.


1 / 2


Download the zipped source from here.


You can check out MilestoneTemplatePlugin from here using Subversion, or browse the source with Trac.


General instructions on installing Trac plugins can be found on the TracPlugins page.

Enable the plugin by going to the plugin admin page or by adding the following to your trac.ini configuration file:

milestonetemplate.web_ui.* = enabled

There are no default templates after installation. You need to create wiki pages with prefix MilestoneTemplates/ by yourself.

Recent Changes

16172 by rjollos on 2017-01-05 15:27:16
MilestoneTemplatePlugin 0.1.2: Fix incorrect import

Patch by komar.

Fixes #13027.

15440 by Cinc-th on 2016-03-17 11:18:16
MilestoneTemplatePlugin: preview renderer used some private component instead of Trac renderer. Thus preview didn't work on a clean Trac install.
15439 by Cinc-th on 2016-03-17 10:13:53


  • make sure preview works on all edit pages and without configured milestone templates
  • Version was bumped to V0.1.1 in [15438]


Author: Cinc-th
Maintainer: Cinc-th

Last modified 5 months ago Last modified on Dec 17, 2016, 7:56:57 AM