From 2c784773879b228b7dfec2c6d092c9e1e98ab97b Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sat, 8 Dec 2007 14:58:29 -0500 Subject: * meta: Add redir support, based on a patch by Thomas Schwinge. --- doc/plugins/meta.mdwn | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'doc/plugins') diff --git a/doc/plugins/meta.mdwn b/doc/plugins/meta.mdwn index 093766708..073482a4c 100644 --- a/doc/plugins/meta.mdwn +++ b/doc/plugins/meta.mdwn @@ -30,6 +30,22 @@ You can use any field names you like, but here are some predefined ones: However, this latter syntax won't be allowed if the [[htmlscrubber]] is enabled, since it can be used to insert unsafe content. +* redir + + Causes the page to redirect to another page in the wiki. + + \[[meta redir=otherpage]] + + Optionally, a delay (in seconds) can be specified. The default is to + redirect without delay. + + It can also be used to redirect to an external url. For example: + + \[[meta redir="http://example.com/"]] + + However, this latter syntax won't be allowed if the [[htmlscrubber]] is + enabled, since it can be used to insert unsafe content. + * title Overrides the title of the page, which is generally the same as the -- cgit v1.2.3