Opened 5 years ago
Last modified 4 years ago
#2533 new enhancement
Dynamic variables in wiki pages
| Reported by: | conny@… | Owned by: | anybody |
|---|---|---|---|
| Priority: | normal | Component: | Request-a-Hack |
| Severity: | normal | Keywords: | |
| Cc: | Trac Release: | 0.11 |
Description
I have several pages that are very similar: among other things there are some that sum up the status different sub-projects for larger "epics", and so on...
The copy-paste method is currently employed to duplicate the "/wiki/projectX/subproject/status" wiki page for each new subproject. This gets tedious (especially for non-techie users) and is prone to human error.
Expanding a variable like $MYVAR in the wiki source from the corresponding querystring parameter would potentially alleviate this by allowing one report page to be used for all the reports.
Example:
== Wikipage == [TracQuery(keyword=~$K)]
...(GET /mysite/wiki/StatusReport?K=MyTag) would resolve to:
== Wikipage == [TracQuery(keyword=~MyTag)]
Attachments (0)
Change History (2)
comment:1 Changed 4 years ago by fermulator@…
comment:2 Changed 4 years ago by anonymous
Any news on this one?


This would be very useful indeed.
Another good example:
The wiki link: