The RedirectPlugin is a NeWikiPlugin that returns a fragment of Javascript into the page to do an automatic redirection and a link that can be manually clicked on if Javascript is not enabled.
This plugin is useful if you have multiple wiki instances that you want to tie together.
Requires only one parameter, 'to', which can be an InterWiki link. If it cannot be interpreted as an interwiki link we assume it's some external link and just redirect to it as given. If it is an interwiki link, we first expand it, then redirect.
Note: There is a default 2 second pause before the redirection, so if you want to edit the page containing this plugin, you'd better be quick. You may change the duration of the pause by providing a delay='1234' style parameter.
Allows redirecting to:
Full syntax examples:
[{RedirectPlugin to='http://www.google.com' delay='5000'}] [{RedirectPlugin to='JSPWiki:Main'}] [{RedirectPlugin to='SomeOtherPage'}]
Included in the McKessonApsWikiPlugins jar. -- JohnVolkar
Now included in the NeWikiPlugins.jar. -- MurrayAltheim
See also: CategoryThirdPartyPlugin