- Copyright
- GPL-2.0-or-later
◆ validate()
Wikibase\Repo\RestApi\Application\Validation\ItemDescriptionValidator::validate |
( |
string | $language, |
|
|
string | $descriptionText, |
|
|
TermList | $existingLabels ) |
◆ CODE_DESCRIPTION_LABEL_DUPLICATE
const Wikibase\Repo\RestApi\Application\Validation\ItemDescriptionValidator::CODE_DESCRIPTION_LABEL_DUPLICATE = 'item-description-validator-code-description-label-duplicate' |
◆ CODE_DESCRIPTION_SAME_AS_LABEL
const Wikibase\Repo\RestApi\Application\Validation\ItemDescriptionValidator::CODE_DESCRIPTION_SAME_AS_LABEL = 'item-description-validator-code-description-same-as-label' |
◆ CODE_EMPTY
const Wikibase\Repo\RestApi\Application\Validation\ItemDescriptionValidator::CODE_EMPTY = 'item-description-validator-code-description-empty' |
◆ CODE_INVALID
const Wikibase\Repo\RestApi\Application\Validation\ItemDescriptionValidator::CODE_INVALID = 'item-description-validator-code-invalid-description' |
◆ CODE_TOO_LONG
const Wikibase\Repo\RestApi\Application\Validation\ItemDescriptionValidator::CODE_TOO_LONG = 'item-description-validator-code-description-too-long' |
◆ CONTEXT_CONFLICTING_ITEM_ID
const Wikibase\Repo\RestApi\Application\Validation\ItemDescriptionValidator::CONTEXT_CONFLICTING_ITEM_ID = 'item-description-validator-context-conflicting-item-id' |
◆ CONTEXT_DESCRIPTION
const Wikibase\Repo\RestApi\Application\Validation\ItemDescriptionValidator::CONTEXT_DESCRIPTION = 'item-description-validator-context-description' |
◆ CONTEXT_LABEL
const Wikibase\Repo\RestApi\Application\Validation\ItemDescriptionValidator::CONTEXT_LABEL = 'item-description-validator-context-label' |
◆ CONTEXT_LANGUAGE
const Wikibase\Repo\RestApi\Application\Validation\ItemDescriptionValidator::CONTEXT_LANGUAGE = 'item-description-validator-context-language' |
◆ CONTEXT_LIMIT
const Wikibase\Repo\RestApi\Application\Validation\ItemDescriptionValidator::CONTEXT_LIMIT = 'item-description-validator-context-character-limit' |
The documentation for this interface was generated from the following file: