Page MenuHomePhabricator

Investigate why changes to Lexeme entity are not shown on the diff page
Closed, ResolvedPublic

Description

When comparing revision of Lexeme page, diff does not show any differences (while actual changes have been made to the entity), see e.g. http://wikidata-lexeme.wmflabs.org/index.php?title=Lexeme:L5&diff=prev&oldid=12.

There is diff-related code in WikibaseLexeme already. It should be investigated why changes to Lexeme entity do not show up on the diff page.
Once reason for this hsa been tracked down, tickets for fixing the issue should follow.

Event Timeline

The class behind this issue is EntityDiffVisualizer It's even hard-coded item parts in it with a fixme. I have this way of refactoring it in mind:

  • Have the EntityDiffViewFactory interface that returns instances of DiffView, get it implemented in different entity types using entity type definition class. And use it in EntityDiffVisualizer

How that sounds?

WMDE-leszek renamed this task from Investiage why changes to Lexeme entity are not shown on the diff page to Investigate why changes to Lexeme entity are not shown on the diff page.Mar 16 2017, 4:21 PM

Change 343902 merged by jenkins-bot:
[mediawiki/extensions/Wikibase] Add a note in docs for extending entities and EntityDiffVisualizer

https://gerrit.wikimedia.org/r/343902

WMDE-leszek moved this task from Review to Done on the Wikidata-Former-Sprint-Board board.

Investigation is done, thanks @Ladsgroup. Ticket for fixing the identified issue is T160656.