[pmwiki-users] Better page diff?

Roman romat2 at gmail.com
Wed Nov 30 10:28:30 CST 2005

Another example is DokuWiki which offers side by side comparisons with
colored differences at word level. Attached you'll find comparison of
example sentences which looks absolutely OK for me.


2005/11/30, Patrick R. Michaud <pmichaud at pobox.com>:
> On Wed, Nov 30, 2005 at 09:34:50AM +0000, Anno wrote:
> > Curently the page history shows a comparison between each 2 lines of 2 versions,
> > but without any highlightning. If the lines are long, it is very difficult to
> > see what actually changed.
> > Some highlighting, similar to
> >
> > http://phpwiki.sourceforge.net/phpwiki/HomePage?
> > action=diff&previous=minor&version=48
> >
> > would be useful.
> Sure, but this is actually difficult to do well.  (It's even difficult
> to do it poorly.)  The problem is being able to highlight the changes
> in something like:
>    old:  This is a sentence for demonstration purposes.
>    new:  This is an ''example sentence for demonstration'' purposes.
> Somehow the highlighting algorithm has to recognize that "sentence for"
> in the second version isn't the same as the "sentence for" in the
> first version (even though "This is" and "purposes." are the same in
> both versions).
> If someone can give me a relatively easy approach to detecting the
> differences I might see about implementing it.  But it hasn't
> traditionally been a high priority (this issue is PITS 00571).
> Pm
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://host.pmichaud.com/mailman/listinfo/pmwiki-users
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Clipboard01.gif
Type: image/gif
Size: 17569 bytes
Desc: not available
Url : /pipermail/pmwiki-users/attachments/20051130/8194eca1/attachment.gif 

More information about the pmwiki-users mailing list