Wikibase
MediaWiki Wikibase extension
|
Validates the structure of the site link's badge change request. More...
Public Member Functions | |
__construct (EntityTitleLookup $titleLookup, array $allowedBadgeItemIds) | |
validateBadgeSerialization (array $serialization) | |
Private Attributes | |
$titleLookup | |
$allowedBadgeItemIds | |
Validates the structure of the site link's badge change request.
Wikibase\Repo\ChangeOp\Deserialization\SiteLinkBadgeChangeOpSerializationValidator::__construct | ( | EntityTitleLookup | $titleLookup, |
array | $allowedBadgeItemIds | ||
) |
EntityTitleLookup | $titleLookup | |
string[] | $allowedBadgeItemIds |
Wikibase\Repo\ChangeOp\Deserialization\SiteLinkBadgeChangeOpSerializationValidator::validateBadgeSerialization | ( | array | $serialization | ) |
string[] | $serialization |
ChangeOpDeserializationException |
|
private |
|
private |