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