This task is part of improving the describe step of the Upload Wizard on Commons T358765.
As part of this ticket we will be making some improvements to the date of creation field such as simplifying the input, using EXIF data as a starting point and provide guidance to the user.
Link to UI
- Replace the grouped button with a single button to access the calendar as shown in the UI
- If the file is ‘own work’ and has a date in the EXIF show that date in the date field by default with a message as shown here
- If the file is ‘not own work’ do not use the date in EXIF to pre-fill the date field
- Tapping on calendar icon shows the existing calendar widget where users will be able to choose a date
- If the user picks a date in the future show the error message as shown here
- Allow users to enter their own date or time period in the input box.
- If the user starts typing in the input box first (before clicking on the calendar icon) show the message as shown here
- If the user choses a date from the calendar widget remove the above message and replace the previously the previously typed input with date selected.
- If the user proceeds without entering the date show the error message as shown here
- Attempt to automatically convert the entered date into a format suitable for structured data. If that conversion fails, only include the date in the wikitext.
- "Copy information to other uploads" continues to work