MediaViewer should ignore generated captions on special pages
Closed, ResolvedPublic

Description

Most special pages which list images (MostLinkedFiles, MostGloballyLinkedFiles, NewFiles, UncategorizedFiles, UnusedFiles) generate a caption from the filename and some basic information such as image size. MediaViewer picks this up and displays it as a caption; it should fall back to showing the file page description instead (which it does when there is no caption at all).

This is a more generic version of T77691.

Event Timeline

Tgr raised the priority of this task from to Needs Triage.
Tgr updated the task description. (Show Details)
Tgr set Security to None.
Tgr subscribed.

Change 181747 had a related patch set uploaded (by Namit):
Ignore generated captions on special file related pages

https://gerrit.wikimedia.org/r/181747

Patch-For-Review

Change 181747 merged by jenkins-bot:
Ignore generated captions on special file related pages

https://gerrit.wikimedia.org/r/181747

Change #1319537 had a related patch set uploaded (by Krinkle; author: Simon04):

[mediawiki/extensions/MultimediaViewer@master] Detect special page via wgCanonicalSpecialPageName to fix non-English

https://gerrit.wikimedia.org/r/1319537

Change #1319537 merged by jenkins-bot:

[mediawiki/extensions/MultimediaViewer@master] Detect special page via wgCanonicalSpecialPageName to fix non-English

https://gerrit.wikimedia.org/r/1319537