The following is a list of all events implemented by the DokuWiki's event system for the use with action plugins. To be able to choose the correct event a look at the walk through the source code during a request for /doku.php?id=start&do=show to explain the basics of DokuWiki.
When writing a new plugin, be sure to check when a event was added. Some might be only available in a recent development version of DokuWiki.
| ↓ Event Name | Description | Preventable | Added | Removed |
|---|---|---|---|---|
| ACTION_ACT_PREPROCESS | Handling ?do= actions | yes | 2006-04-25 | |
| ACTION_EXPORT_POSTPROCESS | postprocess the output of a page requested for export | no | 2008-08-28 | |
| ACTION_HANDLE_SUBSCRIBE | handle, process & generate data for a subscribe request | yes | 2010-01-20 | |
| ACTION_HEADERS_SEND | modify the HTTP headers sent by Dokuwiki | yes | 2006-04-25 | |
| ACTION_SHOW_REDIRECT | intercept redirects after posts | yes | 2008-10-26 | |
| AJAX_CALL_UNKNOWN | Handle AJAX calls | yes | 2006-08-09 | |
| AUTH_LOGIN_CHECK | intercept requests before authentication | yes | 2009-03-13 | |
| AUTH_USER_CHANGE | Intercept user data modifications before they are sent to the auth backend | yes | 2008-08-17 | |
| COMMON_NOTIFY_ADDRESSLIST | Manipulate the address list for a subscription mail notification after an edit | yes | 2010-01-20 | |
| COMMON_PAGETPL_LOAD | enhance or replace namespace templates | yes | 2011-02-03 | |
| COMMON_PAGE_FROMTEMPLATE | enhance or replace namespace templates | yes | 2010-03-10 | 2011-02-03 |
| COMMON_WORDBLOCK_BLOCKED | Intercept wordblock | yes | 2008-10-12 | |
| DOKUWIKI_DONE | run some code after DokuWiki finished all its processing | no | 2006-04-25 | |
| DOKUWIKI_STARTED | DokuWiki prepares to do its work | no | 2006-04-25 | |
| FEED_DATA_PROCESS | Process the feed data into feed items | yes | 2009-11-10 | |
| FEED_ITEM_ADD | Manipulate RSS feed items | yes | 2007-07-18 | |
| FEED_MODE_UNKNOWN | An unknown feed mode was requested | yes | 2009-11-10 | |
| FEED_OPTS_POSTPROCESS | Can modify the parameters for the feed creation | no | 2009-11-10 | |
| FETCH_MEDIA_STATUS | handles status codes when downloading a media resource | yes | 2010-02-23 | |
| FULLTEXT_SNIPPET_CREATE | Search result snippet creation | yes | 2009-10-26 | |
| HTML_CONFLICTFORM_OUTPUT | modify the conflict handling HTML | no | 2007-07-30 | |
| HTML_DRAFTFORM_OUTPUT | modify the draft recovery HTML | no | 2007-07-30 | |
| HTML_EDITFORM_OUTPUT | modify the edit form HTML | no | 2007-07-30 | |
| HTML_EDIT_FORMSELECTION | add elements to edit forms for editing the given wikitext | yes | 2010-01-19 | |
| HTML_LOGINFORM_OUTPUT | modify the login form HTML | no | 2007-07-30 | |
| HTML_PAGE_FROMTEMPLATE | replace namespace templates functionality | yes | 2006-09-16 | |
| HTML_RECENTFORM_OUTPUT | modify the recent changes HTML | no | 2008-10-12 | |
| HTML_REGISTERFORM_OUTPUT | modify the register form HTML | no | 2007-07-30 | |
| HTML_RESENDPWDFORM_OUTPUT | modify the resend password HTML | no | 2007-07-30 | |
| HTML_REVISIONSFORM_OUTPUT | modify the old revisions HTML | no | 2008-10-12 | |
| HTML_SECEDIT_BUTTON | prepares section edit button data for event triggering used as a callback in html_secedit | yes | 2010-11-07 | |
| HTML_SUBSCRIBEFORM_OUTPUT | modify the subscribe form HTML | no | 2010-01-20 | |
| HTML_UPDATEPROFILEFORM_OUTPUT | modify the update profile HTML | no | 2007-07-30 | |
| HTML_UPLOADFORM_OUTPUT | modify the uploadform HTML | no | 2008-10-29 | |
| HTTPCLIENT_REQUEST_SEND | rewrite outgoing HTTP(s) requests | yes | 2009-03-13 | |
| INDEXER_PAGE_ADD | manipulate the full text indexing process | yes | 2007-02-27 | |
| INDEXER_TASKS_RUN | run custom "Cron jobs" | yes | 2008-02-26 | |
| INDEXER_TEXT_PREPARE | Page tokenizing (aka. splitting the text into separate words) | yes | 2011-03-19 | |
| INDEXER_VERSION_GET | Construct the version number of the indexer | no | 2011-03-06 | |
| IO_NAMESPACE_CREATED | catch namespace creations | no | 2006-07-05 | |
| IO_NAMESPACE_DELETED | catch namespace deletions | no | 2006-07-05 | |
| IO_WIKIPAGE_READ | intercept reading the raw wiki text data | no | 2006-07-05 | |
| IO_WIKIPAGE_WRITE | intercept page writes | no | 2006-07-05 | |
| MAIL_MESSAGE_SEND | manage mail sending from DokuWiki | yes | 2007-09-30 | |
| MEDIAMANAGER_CONTENT_OUTPUT | Wraps the output of the (right) content pane in the Media Manager | yes | 2009-08-30 | |
| MEDIAMANAGER_STARTED | The media manager prepares to do its work | no | 2008-12-10 | |
| MEDIA_DELETE_FILE | Intercept file deletion | yes | 2008-10-01 | |
| MEDIA_SENDFILE | manipulate media file downloads from the wiki | yes | 2008-06-23 | |
| MEDIA_UPLOAD_FINISH | execute an action file uploads | yes | 2007-09-09 | |
| PARSER_CACHE_USE | manipulate the cache validity | yes | 2006-09-16 | |
| PARSER_HANDLER_DONE | finalize instruction data | no | 2006-05-22 | |
| PARSER_METADATA_RENDER | manipulate metadata | yes | 2006-11-26 | |
| PARSER_WIKITEXT_PREPROCESS | manipulate raw wiki text | no | 2006-07-24 | |
| PLUGIN_CONFIG_PLUGINLIST | Allow modification of the plugin list used by the config plugin | no | 2009-01-19 | |
| PLUGIN_PLUGINMANAGER_PLUGINLIST | Allow modification of the plugin list used by the config plugin | no | 2009-01-19 | |
| RENDERER_CONTENT_POSTPROCESS | Postprocess renderer output | no | 2006-07-24 | |
| SEARCH_QUERY_FULLPAGE | Filter/reorder search results | yes | 2008-08-11 | |
| SEARCH_QUERY_PAGELOOKUP | Filter/reorder search results | yes | 2008-08-11 | |
| SITEMAP_GENERATE | Generate a sitemap XML file from sitemap items | yes | 2010-11-12 | |
| SITEMAP_PING | Ping search engines with the sitemap URL | yes | 2010-11-12 | |
| TOOLBAR_DEFINE | Add buttons to the toolbar | yes | 2007-02-27 | |
| TPL_ACT_RENDER | Output XHTML before and/or after a page | yes | 2006-04-25 | |
| TPL_ACT_UNKNOWN | Output XHTML in the main DokuWiki window | yes | 2006-04-25 | |
| TPL_CONTENT_DISPLAY | Post process the XHTML output | yes | 2006-04-25 | |
| TPL_IMG_DISPLAY | The image output on an image detail page | yes | 2010-06-26 | |
| TPL_METAHEADER_OUTPUT | Manipulate meta headers | yes | 2006-09-16 | |
| TPL_TOC_RENDER | Pre-/postprocess the TOC | no | 2008-08-30 | |
| XMLRPC_CALLBACK_REGISTER | Add XMLRPC callbacks | yes | 2008-08-24 |
Event names follow a standard structure:
<location>_<event_data>_<action_or_state>
<location> — short name or hint which identifies the part of DokuWiki which generates the event.<event_data> — short name or hint which identifies the data being passed by the event<action_or_state> — if the event has a default action, this will indicate what that action is; if there is no default action, this will indicate the state or other reason for firing the event.Examples: