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


As noted at

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

bzimport added a subscriber: Unknown Object (MLST).
bzimport set Reference to bz28954.
brion created this task.Via LegacyMay 13 2011, 12:20 PM
Bawolff added a comment.Via ConduitMay 14 2011, 3:36 AM

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.Via ConduitMay 15 2011, 1:54 PM

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

Gilles added a project: Multimedia.Via WebNov 24 2014, 3:37 PM
Jdforrester-WMF moved this task to Backlog on the Multimedia workboard.Via WebSep 4 2015, 6:34 PM
Restricted Application added subscribers: Steinsplitter, Matanya, Aklapper. · View Herald TranscriptVia HeraldSep 4 2015, 6:34 PM

Add Comment