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

Details

Related Gerrit Patches:
mediawiki/extensions/WikibaseMediaInfo : masterDon't create a 'show x more languages' link if there are none to show

Event Timeline

Cparle created this task.Oct 10 2019, 12:00 PM
Restricted Application added a project: Structured-Data-Backlog. · View Herald TranscriptOct 10 2019, 12:00 PM
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 closed this task as Resolved.Thu, Oct 24, 12:30 AM
Ramsey-WMF claimed this task.
Ramsey-WMF added a subscriber: Ramsey-WMF.

Tested on prod and works.