Declare and use variables in wiki pages


This macro allows you to declare and use pagewide variables as shown in the examples below. Embedding variables in other macros is currently not working yet.

Tested it with Trac 0.10. The 0.11 version is not working yet.

Bugs/Feature Requests

Existing bugs and feature requests for PageVariableMacro are here.

If you have any issues, create a new ticket.


0 / 2


Download the zipped source from here.


Check out using Subversion, or browse the source with Trac.


Our current milestone is [[Variable(milestone)]]
In milestone [[PageVariable(milestone)]] we will ...

This will show up as:

Our current milestone is Proj5M3
In milestone Proj5M3 we will ...

Recent Changes

3448 by pmonnaie on 2008-04-02 21:09:47
The other part of the macro to set the variable
3447 by pmonnaie on 2008-04-02 21:07:10
Split into 2 macros, this is the one to get the variable (and possibly
place it into some text or other macro)
3441 by pmonnaie on 2008-04-01 22:37:56
better, but still not working :(


Author: pmonnaie
Maintainer: pmonnaie

Last modified 7 weeks ago Last modified on Sep 6, 2016, 7:31:43 PM