[Pmwiki-users] pmwiki-0.6.18 released

Patrick R. Michaud pmichaud
Thu May 13 09:42:20 CDT 2004


On Wed, May 12, 2004 at 03:10:16PM +0200, Franco Stellin wrote:
> Nils Knappmeier wrote:
> 
> >2) If you wan to use the diff function that comes with phpdiff and the 
> >patch function from PmWiki 0.6.18, you should:
> >
> >   include 'phpdiff/difflib.php';
> >   include 'phpdiff/phpdiff.php';
> >
> >   and leave the line with phppatch.php
> 
> Thank you Nils. Unfortunately if I do what you suggest above, when I 
> click "restore" (in the history page), the difference (which is 
> correctly shown in the history page) is not patched at all in the edit 
> window :(  When I include back the line with "phppatch.php" in the local 
> "config.php" file, everything works fine again. So it seems, in my case, 
> the 0.6.18 patch function doesn't work.

Nils, is it possible that the phpdiff.php is producing output that
is somehow slightly different from what /usr/bin/diff would produce?
It seems to me that the patch algorithm introduced in 0.6.18 ought to
work with the output of phpdiff.php...

> Also, as I previously reported to the list, I'm still not able to see 
> the "extended" include syntax working on my site. In fact when I use in 
> my wiki the simple syntax: [[include:Pagename]] it works, but if I try 
> the extended syntax: [[include:Pagename##]] it doesn't ...

What about it doesn't work?

Pm



More information about the pmwiki-users mailing list