diff options
author | Simon McVittie <smcv@ http://smcv.pseudorandom.co.uk/> | 2009-01-31 23:01:10 +0000 |
---|---|---|
committer | Simon McVittie <smcv@ http://smcv.pseudorandom.co.uk/> | 2009-01-31 23:01:10 +0000 |
commit | c886bea32084a920f3ba26b3f96327681f5db917 (patch) | |
tree | 8227719f5d504056549abdef21963408124d7ccf /doc/plugins/goto.mdwn | |
parent | 46b880f8390ac82d746add01de38a05155743374 (diff) | |
download | ikiwiki-c886bea32084a920f3ba26b3f96327681f5db917.tar ikiwiki-c886bea32084a920f3ba26b3f96327681f5db917.tar.gz |
Split cgi_goto into a goto plugin
Diffstat (limited to 'doc/plugins/goto.mdwn')
-rw-r--r-- | doc/plugins/goto.mdwn | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/plugins/goto.mdwn b/doc/plugins/goto.mdwn new file mode 100644 index 000000000..21dda16b2 --- /dev/null +++ b/doc/plugins/goto.mdwn @@ -0,0 +1,10 @@ +[[!template id=plugin name=goto author="[[Simon_McVittie|smcv]]"]] +[[!tag type/useful]] + +This plugin adds a `do=goto` mode for the IkiWiki CGI script. It's mainly +for internal use by the [[apache404]], [[comments]] and [[recentchanges]] +plugins, which enable it automatically. + +With this plugin enabled you can link to `ikiwiki.cgi?do=goto&page=some/where` +to make a link that will redirect to the page `/some/where` if it exists, or +offer a link to create it if it doesn't. |