Here's the currently published docs regarding syntax for this Plugin:
- Redirect to a topic within the web:
%REDIRECT{"WikiWord"}%
- Redirect to a topic in another web:
%REDIRECT{"TWiki.WikiWord"}%
- Redirect to any URL:
%REDIRECT{"http://google.com/"}%
AFAICT this syntax does not work. Looking at the Sandbox example included in the distribution package, it appears the correct syntax is as follows:
- Redirect to a topic within the web:
%REDIRECTTO{"WikiWord"}%
- Redirect to a topic in another web:
%REDIRECTTO{"TWiki.WikiWord"}%
- Redirect to any URL:
%REDIRECTTO{"http://google.com/"}%
i.e. the correct tag is
REDIRECTTO
I was thinking of just correcting this in the docs and republishing.
I would prefer the
REDIRECT
format. Would anyone care to correct the code so both work?
I'll mark this for feedback from Thomas since he was the last one to checkin a version, but I'd welcome feedback from anyone.
If I don't get any comments in next couple weeks, I'll go ahead and make the correction.
--
TWiki:Main/LynnwoodBrown - 08 Mar 2007
As far as I can see the correction was made July last year. But noone uploaded the new version to twiki.org
--
TWiki:Main.KennethLavrsen - 08 Mar 2007
I did a
perl build.pl release
and
perl build.pl upload
so the plugin ar twiki.org matches the version on SVN. Please test that it works now. Closing.
--
TWiki:Main.KennethLavrsen - 08 Mar 2007
Reopened bug and corrected the example in sandbox and checked in. released new version. Reclosed bug.
LB