Tags:
create new tag
view all tags
-- Created by TWikiGuest - 25 Oct 2004

I have long wanted to link to particular versions of a TWiki page: e.g. implementing a blog in TWiki, where the blog points to an old, historical, version, but where the generic page may have been updated more recently.

Explicit Revision Number in TWiki Link

TWiki almost allows this. The TWiki view command allows a revision parameter. E.g.

I'd like to be able to apply this to a TWiki link, without using the URL syntax.

  • Unfortunately
    LinkingToTWikiPageVersions?rev1.1
    (LinkingToTWikiPageVersions?rev1.1) does not work - in the version I write this in, the ? terminates the link.
  • Unfortunately^2, even the double square bracket link syntax does not work. In the version I am using,
    [[<nop>LinkingToTWikiPageVersions?rev1.1]]
    (LinkingToTWikiPageVersions?rev1.1) tries to create a page with the ?rev=1.1 in the name of the file, eliding the =.

Other attempts:

  • Placing the URL in the double square syntax works... [[https://twiki.org/cgi-bin/view/Codev/VersionNameOrDateinTwikiLink?rev1.1][LinkingToTWikiPageVersions?rev1.1]] - LinkingToTWikiPageVersions?rev1.1.

However, this is rather long and clumsy. I suggest enhancing the TWiki double link syntax to add parameters, such as

[<nop>[LinkingToTWikiPageVersions]?rev=1.1]
.

Dated Revisions in TWiki Link

Going beyond

   [[LinkingToTWikiPageVersions]?rev=1.1]

I more often want to specify a date for the revision - the equivalent of RCS -D.

   [[LinkingToTWikiPageVersions]?date="October 10, 2004"]

E.g. this is what I use in my home grown wiki blogging system - where the blog entry points to the topic page as of the date written, but where the more recent version of the page evolves away.

-- AndyGlew - 26 Oct 2004

There's a plugin, the RevRecoverPlugin, that does what you want, and could (I guess) be enhanced to handle dates as well.

-- CrawfordCurrie - 26 Oct 2004

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2004-10-26 - SvenDowideit
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.