Add support for the data type 'external identifier' for statements and qualifiers on commons
A external identifier data type is essentially a string with constraints - on wikidata it's entered as a string, but it's validated against the property's constraints (it seems - https://www.wikidata.org/wiki/Property:P269 under constraints)
Users need to be able to add an external id for any property that takes external identifiers as a value, in the File page and in UploadWizard
Examples
An external identifier can be an IMDB ID, an ISBN, or a Library of Congress authority ID or others (see full list of Wikidata properties that use the external identifier data type).
User stories
- As a Commons editor, I want to add an external identifier to a media file’s metadata, so that GLAMs can connect this ID to other databases for archival purposes.
- As a Commons editor, I want to add an external identifier to a media file’s metadata, so that other systems can find this Q item by looking up this ID.
Acceptance criteria:
- can select a property with data type 'external identifier' and enter a value for it, on File page and UploadWizard
- on File page
- in UploadWizard
- incorrect values return an error