Last modified: 2011-10-15 20:03:53 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 T25292, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 23292 - Undefined EXIF messages
Undefined EXIF messages
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
PagedTiffHandler (Other open bugs)
unspecified
All All
: Low normal (vote)
: ---
Assigned To: Nobody - You can work on this!
http://translatewiki.net/wiki/File:Rh...
: i18n
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-04-22 21:06 UTC by Raimond Spekking
Modified: 2011-10-15 20:03 UTC (History)
8 users (show)

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


Attachments

Description Raimond Spekking 2010-04-22 21:06:48 UTC
PagedTiffHandler installed on Translatewiki.net, example image uploaded (see URL).

Expand the metadata ("Show extended details") and you see a lot of undefined messages like:

<exif-format>
<exif-class> 	
<exif-geometry>
etc...
Comment 1 Ævar Arnfjörð Bjarmason 2010-04-23 02:08:12 UTC
Switching products. This is an issue in core which obviously doesn't list the full list of Exif messages (Exif supports both JPEG, TIFF and more).
Comment 2 Bawolff (Brian Wolff) 2011-04-16 02:33:25 UTC
(In reply to comment #1)
> Switching products. This is an issue in core which obviously doesn't list the
> full list of Exif messages (Exif supports both JPEG, TIFF and more).

I don't think it makes sense to have messages for properties we don't extract.

Additionally, are you sure those are actually EXIF tags (As opposed to tiff tags). I don't see them in the Exif standard.
Comment 3 John Mark Vandenberg 2011-05-08 12:05:18 UTC
I dont see any tiff files on translatewiki, the extension doesn't appear to be installed any longer, and those messages haven't been added to the mediawiki: namespace

http://translatewiki.net/wiki/Special:PrefixIndex/mediawiki:exif

Did you have $wgTiffUseTiffinfo or $wgTiffUseExiv enabled?

My reading of the code for PagedTiffImage indicates that setting either of these to true will result in metadata rows which don't have a defined message.
Comment 4 Siebrand Mazeland 2011-09-12 12:48:48 UTC
Extension is no longer active translatewiki. Set the bug to be an extension bug, not a core bug. Would advise to add these messages in the extension, because if you want to see tags that are TIFF specific in your MediaWiki installation, you should probably use the PagedTiffHandler extension anyway. Hope you agree :).
Comment 5 Bawolff (Brian Wolff) 2011-09-12 17:22:31 UTC
(In reply to comment #4)
> Extension is no longer active translatewiki. Set the bug to be an extension
> bug, not a core bug. Would advise to add these messages in the extension,
> because if you want to see tags that are TIFF specific in your MediaWiki
> installation, you should probably use the PagedTiffHandler extension anyway.
> Hope you agree :).

btw, this is not as major issue anymore, since in 1.18 the code was changed so "class" instead of "<exif-class>" is shown if the message does not exist. But I whole heartedly agree this is not a core issue, since those tags listed above don't seem to be mentioned in any standard I can find (For example, http://www.awaresystems.be/imaging/tiff/tifftags/search.html has a large db and doesn't mention them, and I also looked through the Exif standard document)....
Comment 6 Markus Glaser 2011-10-15 18:43:26 UTC
Is anyone still having issues with this? As Bawolff pointed out, this should not be an issue anymore with current MW versions. So, it's all about backwards compatibility. 

Unfortunately, I can't reproduce the list of untranslated exif-messages on my local machine. If you can point me to an instance where I can find the missing messages, I will be happy to add them to the language file of PagedTiffHandler.

Otherwise, I'd opt for closing this bug.
Comment 7 Bawolff (Brian Wolff) 2011-10-15 20:03:53 UTC
(In reply to comment #6)
> Is anyone still having issues with this? As Bawolff pointed out, this should
> not be an issue anymore with current MW versions. So, it's all about backwards
> compatibility. 
> 
> Unfortunately, I can't reproduce the list of untranslated exif-messages on my
> local machine. If you can point me to an instance where I can find the missing
> messages, I will be happy to add them to the language file of PagedTiffHandler.
> 
> Otherwise, I'd opt for closing this bug.

Anytime MediaWiki (1.18+) encounters an unknown metadata name, it adds a line to the debug log:

MediaHandler::addMeta Unknown metadata name: foo

Where foo is the name of the missing message name, sans the exif- prefix.

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


Navigation
Links