Page MenuHomePhabricator

When there are no hideable caption languages on the File page, we still get a link saying "show 0 more languages"
Closed, ResolvedPublic

Description

Steps to reproduce:

  1. upload a file, add an English caption
  2. view the file page
  3. note the link saying "Show 0 more languages"

Link should not be shown at all if there are no hidden languages

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Change 542091 had a related patch set uploaded (by Cparle; owner: Cparle):
[mediawiki/extensions/WikibaseMediaInfo@master] Don't create a 'show x more languages' link if there are none to show

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

Change 542091 merged by jenkins-bot:
[mediawiki/extensions/WikibaseMediaInfo@master] Don't create a 'show x more languages' link if there are none to show

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

Ramsey-WMF claimed this task.
Ramsey-WMF subscribed.

Tested on prod and works.