summaryrefslogtreecommitdiff
path: root/doc/plugins
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2007-12-08 14:58:29 -0500
committerJoey Hess <joey@kitenet.net>2007-12-08 14:58:29 -0500
commit2c784773879b228b7dfec2c6d092c9e1e98ab97b (patch)
tree2f92e83a098f8861e75c606e43c7a226aee30b1f /doc/plugins
parent655d7925c60ecd7dd5dc3b35887f7a2573029796 (diff)
* meta: Add redir support, based on a patch by Thomas Schwinge.
Diffstat (limited to 'doc/plugins')
-rw-r--r--doc/plugins/meta.mdwn16
1 files changed, 16 insertions, 0 deletions
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