WMDE-leszek updated the task description. (Show Details)

CHANGES TO TASK DESCRIPTION
...
* if the input contains a part '-x-' in it, the part before '-x-' is taken, and validated the same way as above. In other words. Assuming "de" is a valid wikibase lang code, and "foo" is not, for lemma and representation language the following stuff is considered valid: de, de-x-Q666, de-x-yolo. And the following are to be considered invalid: foo, foo-x-Q666, foo-x-yolo, de-yolo, de-Q666

TBA: describe the behaviour visible by user in a BDD style (no error message shown, but not storing invalid data)


Code pointer: the entered lang code is checked using validator provided by LexemeValidatorFactory::getLanguageCodeValidator

TASK DETAIL
https://phabricator.wikimedia.org/T191504

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: WMDE-leszek
Cc: WMDE-leszek, Aklapper, Lydia_Pintscher, Lahi, Gq86, Cinemantique, GoranSMilovanovic, QZanden, LawExplorer, Wikidata-bugs, aude, Darkdadaah, Mbch331
_______________________________________________
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to