Wikibase
MediaWiki Wikibase extension
|
Validator for checking that entity labels and aliases are unique (per language). More...
Public Member Functions | |
__construct (LabelDescriptionDuplicateDetector $duplicateDetector) | |
validateEntity (EntityDocument $entity) | |
Private Attributes | |
$duplicateDetector | |
Validator for checking that entity labels and aliases are unique (per language).
This is used to make sure that Properties have unique labels and aliases.
Wikibase\Repo\Validators\LabelUniquenessValidator::__construct | ( | LabelDescriptionDuplicateDetector | $duplicateDetector | ) |
Wikibase\Repo\Validators\LabelUniquenessValidator::validateEntity | ( | EntityDocument | $entity | ) |
EntityDocument | $entity |
Implements Wikibase\Repo\Validators\EntityValidator.
|
private |