Dokuwiki - Renderer Mode

About

Renderer Mode

Code excerpt

DOKU_INC.'inc/parser/'.$this->mode.'.php'

Mode

Metadata

The special mode metadata does not output anything but collects metadata for the page. Use it to insert values into the metadata array.

Xhtml

i

i stands for instructions.

A page is parsed to an intermediate instruction format first before it is rendered to XHTML.

See Two cache staging

  • Function: p_get_instructions
$id=Id Of a page
$rev=''
$file = wikiFN($id,$rev); // from pageutils.php
p_get_instructions(io_readWikiPage($file,$id,$rev)) // from parserutils.php