DokuWiki

It's better when it's simple

User Tools

Site Tools


devel:event:parser_wikitext_preprocess

PARSER_WIKITEXT_PREPROCESS

Description:
manipulate raw wiki text
DefaultAction:
none
Preventable:
no
Added:
2006-07-24

This event is signalled by p_get_instructions() in inc/parserutils.php immediately before DokuWiki hands the text to the parser for processing, allowing the event handler to inspect or modify the data before it is parsed.

Note that modifying the data might change section positions, which in turn would break section editing if not fixed in PARSER_HANDLER_DONE.

Passed Data

$data contains the raw wiki text.

See also

devel/event/parser_wikitext_preprocess.txt · Last modified: 2018-12-08 15:58 by torpedo

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki