Last modified: 2014-02-15 21:39:23 UTC
Initially I thought there were some regressions between 1.17 (or 1.17wmf1) and trunk but it turns out nothing changed. I was surprised the diff-engines control many parts of the HTML output, this makes styling them hard and ugly. For example the engine WMF uses has <span class="diffchange" /> inside "addedlines" or "removedlines", wheares DairikiDiff/WikiDiff (default) uses <ins> and <del>.
<ins>/<del> seems more semantical and are in html5. W00!
The logic is, at least now, clearly separated: there's DairikiDiff that generates a set of differences and there's DiffFormatter that turns them into HTML. And you can plug in a different formatter implementation. As of PHP/wikidiff2 difference, it has been fixed with I0d39e4a44881b13f5d2c473ca273d729cffd156c.