Wikibase
MediaWiki Wikibase extension
|
Validator for checking that site links are unique across all Items. More...
Public Member Functions | |
__construct (SiteLinkConflictLookup $siteLinkConflictLookup) | |
validateEntity (EntityDocument $entity) | |
Private Member Functions | |
getConflictError (array $conflict) | |
Get Message for a conflict. More... | |
Private Attributes | |
$siteLinkConflictLookup | |
Validator for checking that site links are unique across all Items.
Wikibase\Repo\Validators\SiteLinkUniquenessValidator::__construct | ( | SiteLinkConflictLookup | $siteLinkConflictLookup | ) |
|
private |
Get Message for a conflict.
array | $conflict | A record as returned by SiteLinkConflictLookup::getConflictsForItem() |
Wikibase\Repo\Validators\SiteLinkUniquenessValidator::validateEntity | ( | EntityDocument | $entity | ) |
EntityDocument | $entity |
Implements Wikibase\Repo\Validators\EntityValidator.
|
private |