Normalize how EXIF data gets exported into tables (armor against wiki formatting in raw data)
Open, NormalPublic

Description

As noted at https://secure.wikimedia.org/wikipedia/commons/w/index.php?title=Commons:Village_pump&oldid=54313750#Template_in_EXIF

Straight text metadata fields appear to get shipped through to the generated wiki-formatted table as-is, hence expansion of templates etc, either by design (weird!) or accidentally (could break the table).

Should probably armor raw texts against accidental formatting; but make sure that the formatting that is *explicitly* applied to various data fields isn't broken.


Version: unspecified
Severity: normal
URL: https://commons.wikimedia.org/wiki/File:LG_Headshot.jpg

bzimport set Reference to bz28954.
bzimport added a subscriber: Unknown Object (MLST).
brion created this task.May 13 2011, 12:20 PM

This is trivial to do. The main use case against doing this is we want raw urls to be linked. (Currently we htmlencode only some of the fields [before putting it through the parser], which is really supper weird, since we let the wikitext through, and not all fields are htmlencoded.)

Lupo added a comment.May 15 2011, 1:54 PM

Then just disable template expansion and tables: htmlencode only "{" and "}". That should not have any effect on links.

Jdforrester-WMF moved this task from Untriaged to Backlog on the Multimedia board.Sep 4 2015, 6:34 PM
Restricted Application added subscribers: Steinsplitter, Matanya, Aklapper. · View Herald TranscriptSep 4 2015, 6:34 PM

Add Comment