On /ticket/<x>/media/manage/, all links on the image name for images under "Remove existing media" are to /ticket/<x>/media/manage/. This is because generateImageHtml in commons-selection.js uses image.descriptionurl in line 296 but this is undefined in the case of existing images because the object returned by /api/tracker/mediainfo/?ticket=<x> doesn't have a descriptionurl key unlike the response returned by the getImages function.
Description
Description
Details
Details
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
Fix image links in existing media section | wikimedia-cz/tracker | master | +4 -0 |
Event Timeline
Comment Actions
Change 483743 had a related patch set uploaded (by Urbanecm; owner: Urbanecm):
[wikimedia-cz/tracker@master] Fix image links in existing media section
Comment Actions
Change 483743 merged by jenkins-bot:
[wikimedia-cz/tracker@master] Fix image links in existing media section