Page MenuHomePhabricator

Create validator functions for Wikidata reference types
Closed, ResolvedPublic

Description

Description

These functions should ensure the Z669*K1 String passes a regex (e.g. /L[1-9]\d*/ for Z6695/Wikidata lexeme reference).

  • Validator function for Z6691
  • Validator function for Z6692
  • Validator function for Z6694
  • Validator function for Z6695
  • Validator function for Z6696

Desired behavior/Acceptance criteria (returned value, expected error, performance expectations, etc.)

  • Each validator function returns true if and only if the Z669*K1 String matches the appropriate regex.

Completion checklist