Page MenuHomePhabricator

Add support for url data type (top-level statements and qualifiers)
Open, HighPublic

Description

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

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

Event Timeline

Cparle created this task.Wed, Sep 4, 2:14 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptWed, Sep 4, 2:14 PM
Cparle updated the task description. (Show Details)Wed, Sep 4, 2:18 PM
Cparle updated the task description. (Show Details)Wed, Sep 4, 2:24 PM
Ramsey-WMF triaged this task as High priority.Tue, Sep 10, 4:26 PM