[dokuwiki] Re: plugin render() called multiple times for metadata?

>
>
> If you're not using "purge=1", it shouldn't be, presumably your xdebug
> profiling will show the circumstance.  If it is, package up the useful bits
> of your xdebug profile and file a bug report.
>
>
>
Hmm... I've never explicitly changed the "purge" option. I am not sure what
the default is.

$conf['useheading'] is set to 0.

I should have been more specific with my previous question:

1) In some circumstances, it appears that a syntax plugin's render()
function can be called twice with the format set to 'metadata' when saving a
page. This is undesirable for me...

2) I have a syntax plugin, and I want to write some data into a database.
From looking at several similar plugins, most notably the data plugin, it
seems that they write their data to the database inside the render()
function when the format 'metadata' is specified.

3) So, are they are disadvantages to simply writing the data to the database
after render() is called for 'xhtml' pages? I can't think of any problems
off the top of my head, but I am relatively new to dokuwiki, so...


Thanks

Other related posts: