aboutsummaryrefslogtreecommitdiff
path: root/doc
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
parent655d7925c60ecd7dd5dc3b35887f7a2573029796 (diff)
downloadikiwiki-2c784773879b228b7dfec2c6d092c9e1e98ab97b.tar
ikiwiki-2c784773879b228b7dfec2c6d092c9e1e98ab97b.tar.gz
* meta: Add redir support, based on a patch by Thomas Schwinge.
Diffstat (limited to 'doc')
-rw-r--r--doc/plugins/meta.mdwn16
-rw-r--r--doc/todo/__42__forward__42__ing_functionality_for_the_meta_plugin.mdwn2
2 files changed, 18 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
diff --git a/doc/todo/__42__forward__42__ing_functionality_for_the_meta_plugin.mdwn b/doc/todo/__42__forward__42__ing_functionality_for_the_meta_plugin.mdwn
index c3c2b82f3..b584341c6 100644
--- a/doc/todo/__42__forward__42__ing_functionality_for_the_meta_plugin.mdwn
+++ b/doc/todo/__42__forward__42__ing_functionality_for_the_meta_plugin.mdwn
@@ -1,6 +1,8 @@
Here is a patch [[tag patch]] to add a *forward*ing functionality
to the [[`meta`_plugin|plugins/meta]].
+> [[done]], with some changes --[[Joey]]
+
Find the most recent version at
<http://www.schwinge.homeip.net/~thomas/tmp/meta_forward.patch>.