bug #6329
open
improve display of media sources and annotations
Added by Andreas Kohlbecker over 7 years ago.
Updated about 5 years ago.
Estimated time:
(Total: 0:00 h)
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
- 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¶
- Description updated (diff)
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.
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.
- Description updated (diff)
- Description updated (diff)
Also available in: Atom
PDF