Wikibase
MediaWiki Wikibase extension
|
Represents a diff between two Item instances. More...
Public Member Functions | |
__construct (array $operations=[]) | |
getSiteLinkDiff () | |
Returns a Diff object with the sitelink differences. | |
isEmpty () | |
getType () | |
Public Member Functions inherited from Wikibase\DataModel\Services\Diff\EntityDiff | |
getAliasesDiff () | |
FIXME: Not all entities do have aliases! | |
getLabelsDiff () | |
FIXME: Not all entities do have labels! | |
getDescriptionsDiff () | |
FIXME: Not all entities do have descriptions! | |
getClaimsDiff () | |
FIXME: Not all entities do have claims a.k.a. | |
Additional Inherited Members | |
Static Public Member Functions inherited from Wikibase\DataModel\Services\Diff\EntityDiff | |
static | newForType ( $entityType, array $operations=[]) |
Protected Member Functions inherited from Wikibase\DataModel\Services\Diff\EntityDiff | |
fixSubstructureDiff (array &$operations, $key) | |
Checks the type of a substructure diff, and replaces it if needed. | |
Represents a diff between two Item instances.
Wikibase\DataModel\Services\Diff\ItemDiff::__construct | ( | array | $operations = [] | ) |
DiffOp[] | $operations |
Reimplemented from Wikibase\DataModel\Services\Diff\EntityDiff.
Wikibase\DataModel\Services\Diff\ItemDiff::getSiteLinkDiff | ( | ) |
Returns a Diff object with the sitelink differences.
Wikibase\DataModel\Services\Diff\ItemDiff::getType | ( | ) |
Reimplemented from Wikibase\DataModel\Services\Diff\EntityDiff.
Wikibase\DataModel\Services\Diff\ItemDiff::isEmpty | ( | ) |
Reimplemented from Wikibase\DataModel\Services\Diff\EntityDiff.