[Wikitech-l] Craziness in diff algorithm

2014-05-16 Thread Gryllida
Hi All,



Please excuse me for sending an HTML attachment to this list. There is
a need to display some part of it with color.



[1]Bug 13462 - Enhance line matching in diffs; An [2]example diff
similar to what I specifically have a problem with on one of Wikimedia
projects for several months: contributors often add and remove line
breaks making paragraph edits hard to analyse.



Effectively I got this (in a table, but tables are hard to read in
emails):



1) -

2) - foobar lin3

1) + foobar line

2)



But I would find this more useful:



1) -

2) - foobar lin3

1)

2) + foobar line





Please participate by providing insight on potential fixes or
workarounds (don't expect me to be able to read the backend codebase of
this software). Thanks.



Gryllida.

References

1. https://bugzilla.wikimedia.org/show_bug.cgi?id=13462
2. https://test.wikipedia.org/w/index.php?diff=199552oldid=199551
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] Craziness in diff algorithm

2014-05-16 Thread Gryllida
Hi All,

To clarify:

This software silently converted the message to plain text, so what I meant is 
clarified below.

On Fri, 16 May 2014, at 21:22, Gryllida wrote:
 Hi All,
 
 
 
 Please excuse me for sending an HTML attachment to this list. There is
 a need to display some part of it with color.
 
 
 
 [1]Bug 13462 - Enhance line matching in diffs; An [2]example diff
 similar to what I specifically have a problem with on one of Wikimedia
 projects for several months: contributors often add and remove line
 breaks making paragraph edits hard to analyse.
 
 
 
 Effectively I got this (in a table, but tables are hard to read in
 emails):
 
 
 
 1) -

(this line is red)

 
 2) - foobar lin3

(this line is red)

 
 1) + foobar line

(this line is green)


 
 2)
 
 
 
 But I would find this more useful:
 
 
 
 1) -

(this line is red)

 
 2) - foobar lin3

(in this line, the '3' is highlighted in red)

 
 1)
 
 2) + foobar line

(in this line, the 'e' is highlighted in green)

 
 
 
 
 
 Please participate by providing insight on potential fixes or
 workarounds (don't expect me to be able to read the backend codebase of
 this software). Thanks.
 
 
 
 Gryllida.
 
 References
 
 1. https://bugzilla.wikimedia.org/show_bug.cgi?id=13462
 2. https://test.wikipedia.org/w/index.php?diff=199552oldid=199551


Gryllida.

___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l