Page MenuHomePhabricator

Broken link parsing in EXIF Metadata for camera names like <VLUU L730 / Samsung L730>
Open, MediumPublic

Description

Author: ghouston

Description:
The "Camera model" metadata link for https://commons.wikimedia.org/wiki/File:Cambuslang_Premier_Inn_-_geograph.org.uk_-_1279016.jpg
is broken, probably by angle brackets in the model name.


Version: 1.21.x
Severity: minor

Details

Reference
bz40181

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 12:48 AM
bzimport set Reference to bz40181.
bzimport added a subscriber: Unknown Object (MLST).

[ Confirming bug. Setting component. Severity: minor ]

Note: This is caused by customizations done by commons in MW namespace. The issue will not be present in vanilla MediaWiki.

That said, the way we "escape" exif data could be significantly improved, which would fix this and other issues (bug 28954)

P.S. I'm thinking this will likely be a wontfix.

(In reply to comment #3)

P.S. I'm thinking this will likely be a wontfix.

I change my mind. Real issues should not be wontfixed...


2 possible ways forward:
*Commons changes there hack to invoke a lua module which verifies that make, model and software are linkable.
*In FormatMetadata.php we see if the value is a valid title, and if not we use a different message (Which by default could be the same as the normal message)