Page MenuHomePhabricator

Add UI support for time Wikibase datatype for qualifiers only
Open, NormalPublic

Description

User story: As a uploader, I want 'time' support, so that I can specify the exact time the image was created/uploaded/etc

We have this:
On the front-end, we currently only support statements which take as their input Wikidata entities or quantities

We want this:
We should support time input.

The minimum requirement is just to be able to enter a date and time, without precision and without calendar.

The plan is to release this to beta/test and then to see if the community is ok with it without precision and calendar. We may have to do more work to include those if they don't think this is useful without those (will be another ticket)

Note this ticket is for time value inputs for qualifiers only as a first step. T231979 covers the same thing for top-level statements

See comments for design input on the UI

Acceptance Criteria:

  • Users can add/edit/view statements that have 'time' values for qualifiers using the Commons UI

Event Timeline

Cparle created this task.Jul 2 2019, 4:30 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJul 2 2019, 4:30 PM
Cparle updated the task description. (Show Details)Jul 2 2019, 4:51 PM
Cparle updated the task description. (Show Details)
Cparle updated the task description. (Show Details)
Cparle added subscribers: egardner, PDrouin-WMF.
PDrouin-WMF added a subscriber: Volker_E.EditedJul 2 2019, 5:04 PM

I've seen these designs for an OOUI datepicker.

They are in use on Revision History

@PDrouin-WMF There's currently two date pickers in MW core, that are close to the template. Forward thinking, we're recommending DateInputWidget as long as date is the main input needed (not time).

Ramsey-WMF triaged this task as Normal priority.Jul 8 2019, 8:00 PM
Restricted Application added a project: Multimedia. · View Herald TranscriptAug 10 2019, 11:54 PM
Cparle renamed this task from Add UI support for time Wikibase datatype to Add UI support for time Wikibase datatype for qualifiers only.Sep 4 2019, 11:08 AM
Cparle updated the task description. (Show Details)
Cparle updated the task description. (Show Details)Sep 4 2019, 11:11 AM