Translations of this page?:

Event Reference List

The following is a list of all events implemented by the DokuWiki's event system for the use with action plugins.

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 NameDescriptionPreventableAdded
ACTION_ACT_PREPROCESSHandling ?do= actionsyes2006-04-25
ACTION_EXPORT_POSTPROCESSpostprocess the output of a page requested for exportno2008-08-28
ACTION_HEADERS_SENDmodify the HTTP headers sent by Dokuwikiyes2006-04-25
ACTION_SHOW_REDIRECTintercept redirects after postsyes2008-10-26
AJAX_CALL_UNKNOWNHandle AJAX callsyes2006-08-09
AUTH_USERDATA_CHANGEIntercept user data modifications before they are sent to the auth backendyes2008-08-17
COMMON_WORDBLOCK_BLOCKEDIntercept wordblockyes2008-10-12
DOKUWIKI_DONErun some code after DokuWiki finished all its processingno2006-04-25
DOKUWIKI_STARTEDDokuWiki prepares to do its workno2006-04-25
FEED_ITEM_ADDManipulate RSS feed itemsyes2007-07-18
HTML_CONFLICTFORM_OUTPUTmodify the conflict handling HTMLno2007-07-30
HTML_DRAFTFORM_OUTPUTmodify the draft recovery HTMLno2007-07-30
HTML_EDITFORM_OUTPUTmodify the edit form HTMLno2007-07-30
HTML_LOGINFORM_OUTPUTmodify the login form HTMLno2007-07-30
HTML_PAGE_FROMTEMPLATEreplace namespace templates functionalityyes2006-09-16
HTML_RECENTFORM_OUTPUTmodify the recent changes HTMLno2008-10-12
HTML_REGISTERFORM_OUTPUTmodify the register form HTMLno2007-07-30
HTML_RESENDPWDFORM_OUTPUTmodify the resend password HTMLno2007-07-30
HTML_REVISIONSFORM_OUTPUTmodify the old revisions HTMLno2008-10-12
HTML_UPDATEPROFILEFORM_OUTPUTmodify the update profile HTMLno2007-07-30
HTML_UPLOADFORM_OUTPUTmodify the uploadform HTMLno2008-10-29
INDEXER_PAGE_ADDmanipulate the full text indexing processyes2007-02-27
INDEXER_TASKS_RUNrun custom "Cron jobs"yes2008-02-26
IO_NAMESPACE_CREATEDcatch namespace creationsno2006-07-05
IO_NAMESPACE_DELETEDcatch namespace deletionsno2006-07-05
IO_WIKIPAGE_READintercept reading the raw wiki text datano2006-07-05
IO_WIKIPAGE_WRITEintercept page writesno2006-07-05
MAIL_MESSAGE_SENDmanage mail sending from DokuWikiyes2007-09-30
MEDIA_DELETE_FILEIntercept file deletionyes2008-10-01
MEDIA_SENDFILEmanipulate media file downloads from the wikiyes2008-06-23
MEDIA_UPLOAD_FINISHexecute an action file uploadsyes2007-09-09
PARSER_CACHE_USEmanipulate the cache validityyes2006-09-16
PARSER_HANDLER_DONEfinalize instruction datano2006-05-22
PARSER_METADATA_RENDERmanipulate metadatayes2006-11-26
PARSER_WIKITEXT_PREPROCESSmanipulate raw wiki textno2006-07-24
RENDERER_CONTENT_POSTPROCESSPostprocess renderer outputno2006-07-24
SEARCH_QUERY_FULLPAGEFilter/reoderder search resultsyes2008-08-11
SEARCH_QUERY_PAGELOOKUPFilter/reoderder search resultsyes2008-08-11
TOOLBAR_DEFINEAdd buttons to the toolbaryes2007-02-27
TPL_ACT_RENDEROutput XHTML before and/or after a pageyes2006-04-25
TPL_ACT_UNKNOWNOutput XHTML in the main DokuWiki windowyes2006-04-25
TPL_CONTENT_DISPLAYPost process the XHTML outputyes2006-04-25
TPL_METAHEADER_OUTPUTManipulate meta headersyes2006-09-16
TPL_TOC_RENDERPre-/postprocess the TOCno2008-08-30
XMLRPC_CALLBACK_REGISTERAdd XMLRCP callbacksyes2008-08-24

Naming Structure

Event names follow a standard structure:

<location>_<event_data>_<action>
  • <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.

e.g. parser_handler_done

  • the event is triggered in the parser scripts,
  • the handler object is the event data,
  • there is no action, the state of parser, in its handler step, is done, i.e., the handler has completed its processing.

action_headers_send

  • the event is triggered in actions.php,
  • the event data is an array of headers,
  • the default action is to send the headers.
 
devel/events_list.txt · Last modified: 2008/11/07 21:48 by 70.103.232.219
 

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 3.0 Unported

Imprint Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki
WikiForumIRCBugsTranslate