Wikibase
MediaWiki Wikibase extension
|
Turns entity change request into ChangeOp objects based on change request deserialization configured for the particular entity type. More...
Public Member Functions | |
__construct (array $entityDiffVisualizerInstantiators, ClaimDiffer $claimDiffer, SiteLookup $siteLookup, EntityIdFormatterFactory $entityIdFormatterFactory, OutputFormatSnakFormatterFactory $snakFormatterFactory) | |
newEntityDiffVisualizer (?string $type=null, ?IContextSource $context=null) | |
Private Attributes | |
$entityDiffVisualizerInstantiators | |
$claimDiffer | |
$siteLookup | |
$entityIdFormatterFactory | |
$snakFormatterFactory | |
Turns entity change request into ChangeOp objects based on change request deserialization configured for the particular entity type.
Wikibase\Repo\Diff\EntityDiffVisualizerFactory::__construct | ( | array | $entityDiffVisualizerInstantiators, |
ClaimDiffer | $claimDiffer, | ||
SiteLookup | $siteLookup, | ||
EntityIdFormatterFactory | $entityIdFormatterFactory, | ||
OutputFormatSnakFormatterFactory | $snakFormatterFactory | ||
) |
callable[] | $entityDiffVisualizerInstantiators | Associative array mapping entity types (strings) to callbacks instantiating EntityDiffVisualizer objects. |
ClaimDiffer | $claimDiffer | |
SiteLookup | $siteLookup | |
EntityIdFormatterFactory | $entityIdFormatterFactory | |
OutputFormatSnakFormatterFactory | $snakFormatterFactory |
Wikibase\Repo\Diff\EntityDiffVisualizerFactory::newEntityDiffVisualizer | ( | ?string | $type = null , |
?IContextSource | $context = null |
||
) |
|
private |
|
private |
|
private |
|
private |
|
private |