create new tag
, view all tags
(moved by MartinCleaver from rev 1.8 of CodevDocumentationProject)

Please see SlashFilenamePlugin

One thing I have found helpful in code documentation within twiki (not of twiki itself but of company code) is a custom plugin, a very simple regex parser with hardcoded base URL as a prefix, which searches for source tree strings and replaces them with cvsweb URLs. I guess in twiki's case this would grok to sourceforge anoncvs. There's some fooling to be done to eliminate excess punctuation from after filenames & etc but it's straightforward.


Make everything link to everything, get rid of all hard links everywhere, wiki wiki wiki (said with the tweeky voice).

-- TWikiGuest - 07 Jul 2002 (jcline at ieee.org)

Well, apart from needing a prefix, this is covered by a rule InterWiki. I think that approach scales better than having a specific plugin because this way you can support more than one source tree.

I noticed that RichardDonkin added two rules for referring to the SourceForge CVS; I will use them next time I get around to editing each of the pages (or if anyone else wants to make such alterations, please feel welcome). I have changed AttachCgiScript as an example.

-- MartinCleaver - 07 Jul 2002

Yes, perhaps InterWiki works for the style you desire. I prefer not requiring a prefix as this makes it necessary to train people to use it, and requires them to go out of their way to use it. I like to think that I can cut & paste email-style conversation into wiki and have everything work out, so saying "the configuration file TWiki.cfg must be modified to support blah" will create a link there.

Now perhaps this needs linking by context, so that different plugins would run on different zones (webs). So that in the CodevDocumentationProject context, it would retarget to cvs, perhaps to the top-of-tree version even. In the test web, it might retarget to the latest stable-release tag so people could see the release-code (instead of top-of-tree code).

Now why would a special prefix be desired if there is already the prefix TWIKIROOT (example: "TWIKIROOT/bin/mailnotify" above) everywhere? Then, that prefix is really the keyword-specifier, not a specific cvs: tag.

Just some ideas.

-- JonathanCline - 08 Jul 2002

See my comment in MetaLinkToMicrosoftFileSharing about creating a FilenamePlugin

-- MartinCleaver - 09 Jul 2002

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2003-06-12 - JonathanCline
  • 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-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.