"Nikerabbit" posted a comment on MediaWiki.r109932.
URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/109932#c30028

Commit summary for MediaWiki.r109932:

diff: align cell content to the top

This is needed when both sides are unbalanced. For example when a very
long paragraph is replaced by a single sentence, the text in the right
cell will be floating in the middle.

Example using ?action=render-ascii:

PRE PATCH:
+----------------+  +----------------+
|eeeeeeeeeeeeeeee|  |                |
|eeeeeeeeeeeeeeee|  |                |
|eeeeeeeeeeeeeeee|  | lot of e       |
|eeeeeeeeeeeeeeee|  |                |
|eeeeeeeeeeeeeeee|  |                |
+----------------+  +----------------+

POST PATCH:
+----------------+  +----------------+
|eeeeeeeeeeeeeeee|  | lot of e       |
|eeeeeeeeeeeeeeee|  |                |
|eeeeeeeeeeeeeeee|  |                |
|eeeeeeeeeeeeeeee|  |                |
|eeeeeeeeeeeeeeee|  |                |
+----------------+  +----------------+


Part of: bug 33335 - new color scheme and text display for diffs
follow r107127

Nikerabbit's comment:

The bigger problem is that the diff algorithm is bad at matching paragraphs 
together.

_______________________________________________
MediaWiki-CodeReview mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview

Reply via email to