HomePhabricator

Add LexemeValidatorsFactory providing validators for Lexeme field values
668c884b28a0Unpublished

Authored by Jakob_WMDE on Feb 2 2017, 4:52 PM.

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Add LexemeValidatorsFactory providing validators for Lexeme field values

Currently factory provides validators to validate a langauge code
(to validate the language of lemma Term) and a string used as
lemma (copying the basic validator Wikibase uses for terms, e.g.
aliases).
Those two validators can be used to validate user input for
single Lexeme's lemma.

Bug: T153674
Change-Id: I5f95281ccfcd763a5fcdba41db94686f0b6a95f3

Details