aboutsummaryrefslogtreecommitdiff
path: root/doc/plugins/goto.mdwn
blob: 8e1de7a10a51902812062a9bc84526b8c521b5ec (plain)
1
2
3
4
5
6
7
8
9
10
[[!template id=plugin name=goto author="[[Simon_McVittie|smcv]]"]]
[[!tag type/web]]

This plugin adds a `do=goto` mode for the IkiWiki CGI script. It's mainly
for internal use by the [[404]], [[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.