Modify

Opened 6 years ago

Last modified 3 months 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: albert.gil@… 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 (3)

comment:1 Changed 6 years ago by fermulator@…

This would be very useful indeed.

Another good example:

The wiki link:

Please open a [/newticket?owner=$USER new ticket] for yourself.

comment:2 Changed 5 years ago by anonymous

Any news on this one?

comment:3 Changed 3 months ago by agil

  • Cc albert.gil@… added

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.