Add support for the data type 'URL' for statements and qualifiers on commons
A url 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:P2699 under constraints)
Users need to be able to add a url for any property that takes urls as a value, in the File page and in UploadWizard
Use cases
The most common use case on Commons is to support listing the URL of a media file’s author/creator. A URL can be a creator’s official website, blog, or user page; a link to the full work; an archive URL; an import URL, or other (see full list of Wikidata properties that use the URL data type).
User story
As a Commons editor, I want to add one or more URLs to a media file’s metadata, so that anyone using that file can access those external resources.
Acceptance criteria:
- can select a property with data type 'URL' and enter a value for it, on File page and UploadWizard
- on File page
- in UploadWizard
- incorrect values return an error
- URL is linked