Last modified: 2012-11-03 15:07:29 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 T30954, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 28954 - Normalize how EXIF data gets exported into tables (armor against wiki formatting in raw data)
Normalize how EXIF data gets exported into tables (armor against wiki formatt...
Status: NEW
Product: MediaWiki
Classification: Unclassified
File management (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
https://commons.wikimedia.org/wiki/Fi...
:
Depends on:
Blocks: 40181
  Show dependency treegraph
 
Reported: 2011-05-13 12:20 UTC by Brion Vibber
Modified: 2012-11-03 15:07 UTC (History)
7 users (show)

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


Attachments

Description Brion Vibber 2011-05-13 12:20:54 UTC
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.
Comment 1 Bawolff (Brian Wolff) 2011-05-14 03:36:20 UTC
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.)
Comment 2 Lupo 2011-05-15 13:54:50 UTC
Then just disable template expansion and tables: htmlencode only "{" and "}". That should not have any effect on links.

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


Navigation
Links