Page MenuHomePhabricator

Empty "link" parameters in <gallery> or image thumb disallow to see them in the image viewer
Open, Needs TriagePublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

  • On galleries with items having a "link=" (on wp.fr "lien="), the images cannot be seen in the image viewer

What happens?:

What should have happened instead?:

Other information (browser name/version, screenshots, etc.):

Event Timeline

SyntaxTerror renamed this task from Empty "link" parameters in <gallery> disallow to see them in the image viewer to Empty "link" parameters in <gallery> or image thumb disallow to see them in the image viewer.Nov 23 2023, 7:27 PM
SyntaxTerror updated the task description. (Show Details)
SyntaxTerror updated the task description. (Show Details)

It is a duplicate of T350912. empty link= works as expected, the problem is that users did not want to add it.

This is a real problem, most people don't use the empty parameter "as expected" : I've removed it on multiple occasions where an empty parameter was used for one image/icon and not the others that were right next to it.

It would be much user-friendly to use a simple dash (i.e. "-") to indicate that no links are required, so that people don't unknowingly disable links when copying/pasting code from an image or image gallery.

This can also happen with gadgets that add empty link parameters by default when a button is pressed (MonobookToolbarStandard's "gallery" button doesn't do this, but there are many other user-defined gadgets or edit buttons).