• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Item3737: Docs say tag for this plugin is REDIRECT but it is actually REDIRECTTO

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Extension RedirectPlugin Normal Closed   n/a  

Edit Form Data

Summary:
Reported By:
Codebase:
Applies To:
Component:
Priority:
Current State:
Waiting For:
Target Release:
Released In:
 

Detail

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

ItemTemplate
Summary Docs say tag for this plugin is REDIRECT but it is actually REDIRECTTO
ReportedBy TWiki:Main.LynnwoodBrown
Codebase ~twiki4
SVN Range TWiki-4.1.2, Sat, 03 Mar 2007, build 13043
AppliesTo Extension
Component RedirectPlugin
Priority Normal
CurrentState Closed
WaitingFor

Checkins TWikirev:13093
TargetRelease n/a
ReleasedIn

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r3 - 2007-03-08 - LynnwoodBrown
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback