[ewiki] Re: Merge Notes

Hi,

> 1. In ewiki_page(), where did the finished variable go?
>    #-- ready
>    if ($finished) {
>       $o .= $handler_o;
>    }

It should have of course read "if ($handler_o)" here; but it's fixed now.
Thank you for the note.

> Also, if you want it I have some timing/debugging/logging code I can submit.

I already dreamed about a debug plugin ;-)  but currently I don't like to
have lots of if(EWIKI_DEBUG){...} around, even if it was sometimes helpful.


> I disagree with your fix in aview_subpages.php, $result->get($_hiding)
> appears not to get enough information for the auth plugin to work on.
> Specifically, as I read the code, meta data is not retrieved.  If you want
> ...

Actually, the "$result->get()" should already retrieve the full database
entry, if a parameter is passed "$result->get(55.3)". But it appears that
there was a bug in the database result class (again odd variable names).
Using this ->get(1) syntax may be sometimes faster (buffering), than a
separate e_db(GET) call - but basically it's the same now.


mario


Other related posts: