Wikibase
MediaWiki Wikibase extension
|
Class for generating views of EntityDiff objects. More...
Public Member Functions | |
__construct (MessageLocalizer $messageLocalizer, ClaimDiffer $claimDiffer, ClaimDifferenceVisualizer $claimDiffView, SiteLookup $siteLookup, EntityIdFormatter $entityIdFormatter, EntityDiffVisualizer $basicEntityDiffVisualizer) | |
visualizeEntityContentDiff (EntityContentDiff $diff) | |
Generates and returns an HTML visualization of the provided EntityContentDiff. More... | |
Protected Member Functions | |
visualizeEntityDiff (EntityDiff $diff) | |
Generates and returns an HTML visualization of the provided EntityDiff. More... | |
Private Attributes | |
$messageLocalizer | |
$claimDiffer | |
$claimDiffVisualizer | |
$siteLookup | |
$entityIdFormatter | |
$basicEntityDiffVisualizer | |
Class for generating views of EntityDiff objects.
Wikibase\Repo\Diff\ItemDiffVisualizer::__construct | ( | MessageLocalizer | $messageLocalizer, |
ClaimDiffer | $claimDiffer, | ||
ClaimDifferenceVisualizer | $claimDiffView, | ||
SiteLookup | $siteLookup, | ||
EntityIdFormatter | $entityIdFormatter, | ||
EntityDiffVisualizer | $basicEntityDiffVisualizer | ||
) |
Wikibase\Repo\Diff\ItemDiffVisualizer::visualizeEntityContentDiff | ( | EntityContentDiff | $diff | ) |
Generates and returns an HTML visualization of the provided EntityContentDiff.
EntityContentDiff | $diff |
Implements Wikibase\Repo\Diff\EntityDiffVisualizer.
|
protected |
Generates and returns an HTML visualization of the provided EntityDiff.
EntityDiff | $diff |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |