Page MenuHomePhabricator

Define and implement a validator for the Wikidata reference types
Open, LowPublic

Description

Description

The Wikidata reference types are Z6091/2/4/5/6. Currently the validator For each of them is declared to be Z101/Validate object.

  • We can do a better job with a simple new validator which could apply to all of these. It would check that the ID is present and Lexically appropriate for the particular reference type. We already have functions that check those IDs. See validWikidataReference(), in builtins.js.

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

  • ...

Remove all the non-applicable tags from the "Tags" field, leave only the tags of the projects/repositories related to this task


Completion checklist