RedirectPlugin is cool. However, I find it annoying to maintain such redirects.
Why do I want redirects? Well, I am trying to use TWiki to create and maintain a hardware manual - and I might want aliases like PageTableEntries or PtE to both send me to the same page, PageTableEntry.
It's not just aliases. Often I find that I want to define several terms, e.g. AddressAx, AddressAy, AddressAz,
but it is easier to define a single page that discusses them all -
ComparisonOfAdressesAxAyAz - than it is to define
the terms all separately.
Taking a leaf out of
EmbedTopicPlugin, something like the following might be nice:
In page ComparisonOfTopic1and2and3
%RedirectFrom{Topic1,Topic2,Topic3}%
Idea: when the Compar* topic is saved, it creates the Topic1, etc.,
redirecting.
Actually, one can actually use
EmbedTopicPlugin
In page ComparisonOfTopic1and2and3
%BeginTopic{Topic1}% %REDIRECT{ComparisonOfTopic1and2and3}%%End{Topic1}%
although (1) I trust you can see how clunky and repetitive this is,
and (2) it looks even worse when rendered.
--
AndyGlew - 31 Mar 2006
--
AndyGlew - 31 Mar 2006
Ooops - I can't seem to set the
TopicClassification.
--
AndyGlew - 31 Mar 2006
is
AliasPlugin more like what you want?
--
SvenDowideit - 31 Mar 2006
I don't think so, if I understand what
AliasPlugin does.
I want to create URLs that get redirected, not aliases that apply only within my TWiki documents.
Why? Well, I have a bad habit of typing URLs in directly. I find that often saves a lot of time compared to conventional navigation, clicking through the network; even compared to searching or looking at TREEVIEW or my recent TopicTree stuff.
I don't thionk that
AliasPlugin helps me with this, does it?
Q: does
AliasPlugin help when you type something into the "Jump" box I see on my browser?
--
AndyGlew - 31 Mar 2006
RedirectPlugin is cool. However, I find it annoying to maintain such redirects.
One thing that's lacking in
TWiki is a mechanism that cause (configurable) automatic behaviours (see
TopicDisplayName for another example of this). In some cases -- quite possibly yours -- it can be done via a plugin. Your example
%RedirectFrom{Topic1,Topic2,Topic3}% can possibly be implemented already, although there would have to be an
overwrite="on"
argument to give it permission to splat existing page.
I might give a try and write this plugin once I'm back from breakfast.
--
MeredithLesly - 31 Mar 2006