Roger Oberholtzer wrote:
> On Thu, 2010-01-21 at 11:46 -0500, Chris Nelson wrote:
> ...
>> We have a [[ThisPage]] macro we developed that might do that.
>> 
>>     Provide the name of the current page or related details.
>> 
>>     Usage:
>> 
>>     [[ThisPage]] # Provide the name of the current page.
>>     [[ThisPage(name)]] # Same as above
>>     [[ThisPage(rev)]] # The current revision
>>     [[ThisPage(changed)]] # When the page was last modified
>> ...
> 
> That could be interesting.
> 
> So, we would need a:
> 
> [[ThisTicket(number)]]
> [[ThisTicket(rev)]]
> 
> and so on. As a general interface, perhaps as 'simple' as having each
> data base variable for the ticket available this way. Or at least the
> ones that make sense to have available this way.

Yeah.  If we were going to go there, I'd think about renaming it
[[Self]] or something generic that applied to wiki pages as well as
tickets.

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.

Reply via email to