Modify

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@…

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 4 years ago by anonymous

Any news on this one?

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as new .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from anybody. Next status will be 'new'.
The owner will be changed from anybody to anonymous. Next status will be 'assigned'.
Author


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

 
Note: See TracTickets for help on using tickets.