Last modified: 2013-11-20 09:22:38 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T58794, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 56794 - False specificity in vague dates for Media Viewer
False specificity in vague dates for Media Viewer
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
MultimediaViewer (Other open bugs)
unspecified
All All
: Low minor (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-11-08 19:26 UTC by Dominic
Modified: 2013-11-20 09:22 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Dominic 2013-11-08 19:26:23 UTC
I'm looking at File:Sketch_map_of_Metlakahtla_Annette_Island,_Alaska,_to_show_the_part_seized_by_the_misson._From,_Metlakahtla_case._A...._-_NARA_-_298063.jpg, where there is only a bare year in the image description. In Media Viewer, rather than giving "1926" as the date, it displays as "1/1/1926", which is not exactly correct.
Comment 2 Tisza Gergő 2013-11-08 20:43:33 UTC
I don't think solving this is worth this much as the effort of creating a library for parsing/representing/displaying partial dates. Wikidata will support date precision, so once we switch to that, such cases will be easy to handle; how to import partial dates correctly into Wikidata is another matter.
Comment 3 Mark Holmquist 2013-11-19 23:58:09 UTC
This may have been solved with https://gerrit.wikimedia.org/r/92298 - can someone confirm that it's still an issue?
Comment 4 Tisza Gergő 2013-11-20 09:22:38 UTC
moment.js does not support partial dates (it will parse them, set all missing fields to zero and then handle them as exact dates). I looked for partial date libraries but didn't find a decent one for either JS or PHP. As I said, I don't think this would be worth the effort.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links