[dokuwiki] Re: Links: various questions

  • From: Christopher Smith <chris@xxxxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Tue, 24 Feb 2009 11:04:02 +0900


On 24 Feb 2009, at 03:36, Mykola Ostrovskyy wrote:

CS> The handler creates a list (array) of "instructions", renderer method CS> calls + data to be processed by each call. Doku_Handler_Nest allows
CS> one wiki instruction to contain a list of wiki instructions.

I was also wondering what is the idea behind Doku_Handler_Nest. It seems
that footnote mode is the only one using it but it is not clear why.
Initially I thought that the nested instructions are rendered separately
to be shown at the bottom of the page. But at least in XHTML renderer
they seem to be rendered sequentially with the rest of the instructions.
Instead of skipping the instructions the renderer temporarily replaces
the output buffer and keeps on going.


See FS#701 and the patches that fixed it, in particular 
http://dev.splitbrain.org/darcsweb/darcsweb.cgi?r=dokuwiki;a=commit;h=20060804220100-9b6ab-ccd051e287af45afacdb1efecb8d9beb376276cb.gz

- Chris

PS. As a first port of call to see why something is in DokuWiki, visit the darcs web interface and locate the file you're interested in and read its patch list. Also check the annotated version of the file, it lists what patch is responsible for any particular line of current code.

http://dev.splitbrain.org/darcsweb/darcsweb.cgi?r=dokuwiki;a=summary

If that doesn't answer your question, bring it to the list.
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: