Daniel Sheridan wrote:
> On Mon, 2009-11-16 at 15:15 +0000, Cooke, Mark wrote:
>>> Daniel Sheridan wrote:
>>>> ...
>>>> We have a similar problem, which we solve as follows:
>>>> 
>>>> ...
>>>>       * a page PageName/Draft contains the current working version
>>>>         of the page, with a link back to [..] for the current
>>>>         approved version
>>> 
>>> Am I missing?  When you say "a link back to [..], do you mean that
>>> PageName/Draft includes something like [wiki:PageName
>>> Approved version]?
>>> Or is there a way to do relative links in the wiki?
>>> 
>> Look in your trac documentation under
>> wiki/TracLinks#AdvanceduseofTracLinks (for 0.10.5 at least) there is
>> a description for relative links where [..] is exactly what you
>> would hope it would be: 
>> 
>> ../wiki/PageName/Draft  [..] links to ../wiki/PageName
> 
> Exactly. It means I can have two templates, one for approved pages:
> 
> = XX/n: Title =
> [[PageOutline]]
> '''Summary:''' Document summary
> 
> '''Authors:''' Document authors
> 
> '''Version:''' 0.1 (go to [./Draft current draft version])

I really hate this. :-(  I want

  '''Version:''' [[ThisPage(rev)]] 

Or something which displays the rev so I don't have to maintain it
manually!

The page template I'm working on includes:

 = Revision History =

 See wiki [./?action=history history].

--~--~---------~--~----~------------~-------~--~----~
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