Jump to content

File talk:Torre dei Becci, June 2013.jpg

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Metadata

[edit]

What is up with the Metadata? The Apple link goes to the fruit instead of to Apple Inc., and when Show extended details is clicked the "Software used" link goes to 6.0, an industrial rock album. How do we fix this? – Paine Ellsworth CLIMAX! 23:07, 20 October 2013 (UTC)[reply]

I dug around and discovered that the metadata is coming from the camera, not from Wikipedia software. We get whatever the camera manufacturer serves us. Random checks of iphone uploads show they all link to apple (examples: File:A Bottle Of Hierbas Ibicencas.jpg; File:NHS bus (BOK 86V), 7 December 2009.jpg). Pretty lame, eh? considering the source. -- Diannaa (talk) 03:06, 21 October 2013 (UTC)[reply]
So one thought would be to move the Apple Inc. article to Apple and move that to Apple (fruit), but a better way would be for us to somehow be able to edit the metadata. If Wikilinks are a part of that data, then Wikipedia should have control over them, more than just using redirects to link to the correct article(s). Isn't there a way for us to edit the Metadata? – Paine Ellsworth CLIMAX! 14:09, 21 October 2013 (UTC)[reply]
I've fixed the Apple problem, but the 6.0 problem remains. The relevant page is MediaWiki:Exif-software-value, but I don't know what the correct link should be, obviously not 6.0. It also occurs to me that there might be more than one type of software known as 6.0 --Redrose64 (talk) 14:36, 21 October 2013 (UTC)[reply]
According to the iPhone article, this uses iOS 6 software, which is where the 6.0 should link. Is it possible for me to edit the metadata? or does it require your "magic admin touch"? ;>) – Paine Ellsworth CLIMAX! 14:45, 21 October 2013 (UTC)[reply]
I see that it does require your admin's magic touch. That's a pretty neat file over there at MediaWiki:Exif-make-value. I would suppose that an entry is needed that goes like |6.0=[[iOS 6|6.0]]. Is that correct? – Paine Ellsworth CLIMAX! 15:28, 21 October 2013 (UTC)[reply]
Almost; three other lines would be required. Here's the Wikicode:
{{#switch:$1
|6.0=[[iOS 6|6.0]]
|#default=[[$1]]
}}
That would display the link as 6.0 but we could make it simply |6.0=[[iOS 6]] which would show as iOS 6. We still have no means for knowing that when the value 6.0 is used it's definitely Apple's iOS software, as opposed to something from (say) Canon. If a Canon camera does embed 6.0 into the EXIF metadata as the software version, the link would be entirely wrong. --Redrose64 (talk) 17:06, 21 October 2013 (UTC)[reply]
Isn't there a way to make the link to the software subject to to the "Camera manufacturer" link?
  • "if (so and so) then (such and such)"?
– Paine Ellsworth CLIMAX! 17:54, 21 October 2013 (UTC)[reply]
No; the MediaWiki pages are a bit like templates, but the way that parameters are specified is different. If a template is only supplied with one value, such as {{{1|}}}, it can only use that - it cannot make use of information that it wasn't supplied. Similarly with MediaWiki pages - if they are only supplied with one value, in this case $1, it can only use that - there is no $2 for it to use as well. --Redrose64 (talk) 18:44, 21 October 2013 (UTC)[reply]
Then I suppose there is no way to disable the link rather than have readers be beguiled by links to fruits and to rock bands? – Paine Ellsworth CLIMAX! 19:10, 21 October 2013 (UTC)[reply]
Oh, we can disable the link easily enough - just take the square brackets out of MediaWiki:Exif-software-value. But I thought that you wanted it to link? --Redrose64 (talk) 19:13, 21 October 2013 (UTC)[reply]
Yes, we want the links, but we don't want the readers misled. Next best thing, I'll make the 6.0 page a disambiguation page and dab the links to the page. – Paine Ellsworth CLIMAX! 19:24, 21 October 2013 (UTC)[reply]
 Done – see 6.0 (disambiguation)
Is this change (with apple) something to also add at Commons:Template:Exif-make-value? Chris857 (talk) 19:28, 21 October 2013 (UTC)[reply]
Hi, Chris857 – my gut says "yes". Best to find a Commons image file with Apple as the manufacturer in the metadata and see where it links. If it links to the fruit, then yes, a similar command in the Commons:Template:Exif-make-value is needed. – Paine Ellsworth CLIMAX! 20:10, 21 October 2013 (UTC)[reply]
I checked earlier today, using a file uploaded recently: commons:File:2013-10-10 Boeing 777F of Lufthansa Cargo at Everett - Lufthansa's first 777F.jpg, which is why I posted to commons:Template talk:Exif-make-value#Edit request on 21 October 2013. --Redrose64 (talk) 20:39, 21 October 2013 (UTC)[reply]
You noted also (I'm sure) that the software on that one is "7.0.2", which has no article on Wikipedia. Normally, a redirect would be created with {{R from EXIF}} on board. The likely target for the redirect would be iOS 7#7.0.2; however, this would result in the same challenge you mentioned before about other manufacturers and their potential versions of their software. – Paine Ellsworth CLIMAX! 02:03, 22 October 2013 (UTC)[reply]
I've filed bugzilla:55977. --Redrose64 (talk) 21:14, 21 October 2013 (UTC)[reply]
There is {{R from EXIF}}, but it only works for over-specific links (like Adobe Photoshop CS4 Windows or GIMP 2.6.11), but not over-general links like 6.0. ~HueSatLum 21:40, 21 October 2013 (UTC)[reply]

What if, since 6.0 is the only super generic one (and the redirect doesn't really do the trick where-as Canon 6.0 would still be redirected to the wrong page), we made it so that for now there is only no link to 6.0 with:

{{#switch:$1
|6.0=$1
|#default=[[$1]]
}}

I'm pretty sure that would do the trick for now until a $2 parameter is added in core to allow to filter by manufacturer as well. Technical 13 (talk) 01:48, 22 October 2013 (UTC)[reply]