Translations of this page?:

ACTION_SHOW_REDIRECT

Description:
intercept redirects after posts
DefaultAction:
execute a redirect
Preventable:
yes
Added:
2008-10-26

When the action is changed to show after a POST request, DokuWiki will do a redirect. This event allows you to modify the redirect or prevent it altogether. It's signaled from act_redirect() in inc/actions.php.

Passed Data

  • $data['id'] – the page id the redirect goes to
  • $data['fragment'] – a fragment identifier if any (hash part of the URL)
  • $data['preact'] – the action before it was changed to show

Plugins handling this event

The following plugins are known to handle this event and their source code may be a good start for understanding and implementing a handler yourself.

See also

devel/event/action_show_redirect.txt · Last modified: 2009/09/11 18:38 by HåkanS
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 3.0 Unported
Imprint Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki
WikiForumIRCBugsGitXRefTranslate