bug #6329
openimprove display of media sources and annotations
100%
Description
follow up of #6301
The sources and annotations are displayed differently in the image gallery and media page.
A. Gallery¶
- Sources and annotations should be display as footnotes below the whole gallery. Footnotes should be de-duplicated. This however is currently not possible since the media captions are loaded via AJAX one after another. To make this possible a new ajax mechanism is needed which loads the captions for all media in a gallery in one request and that also includes the footnotes.
B. Media Page¶
- On media pages the sources should be shown as ordinary attributes, not as footnotes (this is already implemented as far as I can see, only remainging issue: use "Source(s)" instead of "Sources". ---> #6316
Related issues
Updated by Andreas Kohlbecker about 6 years ago
- Copied from feature request #6301: Display of sources for images added
Updated by Andreas Kohlbecker about 6 years ago
- Subject changed from improve display of media sources to improve display of media sources and annotations
The sources and annotations are displayed differently in the image gallery and media page.
A. Gallery¶
- Sources and annotations should be display as footnotes below the whole gallery. Footnotes should be de-duplicated. This however is currently not possible since the media captions are loaded via AJAX one after another. To make this possible a new ajax mechanism is needed which loads the captions for all media in a gallery in one request and that also includes the footnotes.
B. Media Page¶
Updated by Andreas Müller about 6 years ago
I don't understand why the captions are relevant here sources and annotations are not dependent on the captions and the captions will not hold any information that needs footnotes/annotations. So all the information can be computed without AJAX here.
But probably I am missing something.
Updated by Andreas Kohlbecker about 6 years ago
Andreas Müller wrote:
I don't understand why the captions are relevant here sources and annotations are not dependent on the captions and the captions will not hold any information that needs footnotes/annotations. So all the information can be computed without AJAX here.
But probably I am missing something.
The method and related stuff is named media_caption
. This is for historical reasons and could be changed if really needed. I was referring to that term even if it is a bit confusing to ease find the according function in the code.
Updated by Andreas Kohlbecker over 1 year ago
- Related to feature request #9717: show media source external links in media gallery and media page added