Wikibase
MediaWiki Wikibase extension
|
Class for generating views of EntityDiff objects. More...
Public Member Functions | |
__construct (MessageLocalizer $messageLocalizer, SiteLookup $siteLookup, EntityIdFormatter $entityIdFormatter, EntityDiffVisualizer $basicEntityDiffVisualizer) | |
visualizeEntityContentDiff (EntityContentDiff $diff) | |
Generates and returns an HTML visualization of the provided EntityContentDiff. | |
Private Member Functions | |
visualizeSiteLinkDiff (EntityDiff $diff) | |
Generates and returns an HTML visualization of the site link part of the provided EntityDiff (which must really be an ItemDiff). | |
Private Attributes | |
$messageLocalizer | |
$siteLookup | |
$entityIdFormatter | |
$basicEntityDiffVisualizer | |
Class for generating views of EntityDiff objects.
Wikibase\Repo\Diff\ItemDiffVisualizer::__construct | ( | MessageLocalizer | $messageLocalizer, |
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.
|
private |
Generates and returns an HTML visualization of the site link part of the provided EntityDiff (which must really be an ItemDiff).
EntityDiff | $diff |
|
private |
|
private |
|
private |
|
private |