Page MenuHomePhabricator

CommonsMetadata outputs values with trailing « &#10 »
Closed, ResolvedPublic

Description

While fishing for suspects in bug 57259, I came across this issue with this image:

https://commons.wikimedia.org/w/api.php?action=query&prop=imageinfo&iiprop=extmetadata&titles=File:Bi-crystal.jpg

The API result is:
<LicenseShortName value="CC-BY-SA-3.0&#10;" source="commons-desc-page" hidden="" />
<UsageTerms value="Creative Commons Attribution-Share Alike 3.0&#10;" source="commons-desc-page" hidden="" />
<LicenseUrl value="http://creativecommons.org/licenses/by-sa/3.0&#10;" source="commons-desc-page" hidden="" />
<Copyrighted value="True" source="commons-desc-page" hidden="" />
<License value="cc-by-sa-3.0" source="commons-templates" hidden="" />

Values are trailed with a « &#10 », which makes (or may) an incorrect link.

MultimediaViewer does not appear affected (I suppose some more cleanup occurs later on).


Version: unspecified
Severity: minor

Details

Reference
bz66652

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:13 AM
bzimport added a project: CommonsMetadata.
bzimport set Reference to bz66652.
bzimport added a subscriber: Unknown Object (MLST).

Fixed by a purge. Other instances should be fixed on their own 30 days after deploying the patch for bug 57458, so in ~3 weeks.

  • This bug has been marked as a duplicate of bug 57458 ***