Last modified: 2012-11-29 12:37:49 UTC
When two revisions of a Wikidata item are selected, a diff should be created and displayed.
Implementation is in gerrit for review: https://gerrit.wikimedia.org/r/11865 I have implemented this based on the normal wikitext diff, using the same side-by-side layout and recycling the CSS. As a context (instead of the line number), the path to the changed value is shown, using the keys from our internal JSON representation. That sucks, of course. This implementation doesn't work correctly at the moment, because it depends on some other things to be fixed, most importantly bug 37680, but also bug 37691 and bug 37683. Anyway, some actual UI design seems in Order here. Some thoughts: * side-by-side seems useless. * instead, show added, removed and modified properties in a single column * for modified properties, show a word-based diff * it may be nice to just show the (old) item with highlighted modifications (inline diff) * diffs will often be for a single atomic change. It could be useful to make this a special case.
https://gerrit.wikimedia.org/r/11865 was merged
revision headers still need to be fixed
fixed now, though design/UX issues remain.
Added item #37958 for improving the design/UX issues.
Verified in Wikidata demo time for sprint 7