Template talk:According to Exif data

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

When to use[edit]

Hello, is this template meant to be mandatory when a date is based on the EXIF data? I ask, because usually the UploadWizard does not use it for the date parameter of {{Information}}. --Arnd (talk) 18:06, 15 November 2015 (UTC)[reply]

I would think that it should only be used when the up-loader has not provided the date the photo (etc.) was taken. Allen4names (talk) 04:33, 16 November 2015 (UTC)[reply]
OK thanks, maybe this could be mentioned in the template description. --Arnd (talk) 06:42, 16 November 2015 (UTC)[reply]
{{Sofixit}} Magog the Ogre (talk) (contribs) 00:36, 17 November 2015 (UTC)[reply]
@Aschroet, Allen4names, and Magog the Ogre: It's a bit late, but I've added this info to the template description; see Special:Diff/746401744. Hope it reads okay; feel free to change it. — Sam Wilson ( TalkContribs ) … 02:06, 3 April 2023 (UTC)[reply]

According to EXIF data before 1995[edit]

Given than EXIF was invented only in 1995, would it be possible to alter this template either a) to prevent dates pre-1995 from being used or b) to automatically add Template:Invalid EXIF date to any images where the template is used with pre-1995 dates? Thanks. - Themightyquill (talk) 14:33, 27 January 2017 (UTC)[reply]

Not all exif of old files containing a date. --Steinsplitter (talk) 14:56, 27 January 2017 (UTC)[reply]
@Steinsplitter: I'm afraid I don't understand your comment. Could you please elaborate? - Themightyquill (talk) 16:10, 28 January 2017 (UTC)[reply]
Not all exif are containing a date. It is not possible to parse exif data as far i know. --Steinsplitter (talk) 17:06, 28 January 2017 (UTC)[reply]
@Steinsplitter: But I just mean those files that use {{According to EXIF data|1994}}. I'm talking about parsing the input variables, not the exif data itself. - Themightyquill (talk) 18:41, 28 January 2017 (UTC)[reply]
That should be possible if the input var is always numerical. --Steinsplitter (talk) 12:55, 30 January 2017 (UTC)[reply]
@Steinsplitter: Something like {{if:{{ISOyear | {{Ymd|1={{{1}}}}} }}<1995|{{Invalid EXIF date}}}} ? - Themightyquill (talk) 14:21, 1 March 2017 (UTC)[reply]

Template without parameters[edit]

Hello everyone, is see several users adding this template without any parameters. I guess that they expect that there is a mechanism that take over the Exif data into the data parameter. Concering this, i wonder if it is not possible to really use that date and display it in the infobox (instead of having this only in the metadata section). If this is technically not possible, what do you think about establishing a bot that is adding the Exif data from metadata as a template parameter when it is missing? In this case we could even document this behavior as a possible way to use the template. At least one user (using his own scripts for uploads) already requested such a mechanism. From several others i know that they just add a year to the date to avoid to extract the complete date from Exif before uploading. Best regards, --Arnd (talk) 07:59, 5 May 2017 (UTC)[reply]

2019-01[edit]

After special:diff/334995193, the date is malformed. @Threecharlie: could you please explain what you wanted to change?--Roy17 (talk) 17:47, 16 January 2019 (UTC)[reply]

@Roy17: I'm sorry, I have imported the string from {{Taken on}} for implement the possibility of categorizing automatically by nationality of the image. If you see that it creates problems, go back to the previous version. :-( --Threecharlie (talk) 18:10, 16 January 2019 (UTC)[reply]
@Ahecht: ...--Threecharlie (talk) 18:12, 16 January 2019 (UTC)[reply]
@Threecharlie: Not sure what you were trying to do there. The line that you replaced used to insert a ")" if the first parameter existed, and you changed it to insert the date instead. I reverted your change, and created a sandbox version you can experiment with. --Ahecht (TALK
PAGE
) 19:05, 16 January 2019 (UTC)[reply]

2019-10[edit]

It is not rendering correctly; e.g. “26 March 2005 (according to Exif data)[[Category:Photographs taken on <span clas]]” at File:Jericho Health Centre 20050326.jpg. – Kaihsu Tai (talk) 07:54, 29 October 2019 (UTC)[reply]