MultimediaViewer: Add a class for images, which shouldn't display in MediaViewer
Closed, DeclinedPublic

Description

Example: https://en.wikipedia.org/wiki/Clang
The second image (e.g. FOSS icon) is a portal icon and doesn't belong to the article itself.


Version: unspecified
Severity: normal

bzimport added a subscriber: wikibugs-l.
bzimport set Reference to bz63727.
Rezonansowy created this task.Via LegacyApr 9 2014, 2:23 PM
JeanFred added a comment.Via ConduitApr 9 2014, 2:35 PM

(Pretty sure this is a duplicate ; cannot find it though).

It think this is covered by https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/229 & https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/294

En.wiki should add a CSS class for MMV to detect useless icons.

Tgr added a comment.Via ConduitJun 26 2014, 6:58 PM

Wontfixing; sometimes we want to display images from templates (e.g. infoboxes, main page), and there is no easy way to differentiate between them anyway. Templates with non-content images should have a "metadata" class, which disables MediaViewer for the images inside.

Tgr added a comment.Via ConduitJun 28 2014, 9:02 AM

You can also use the "noviewer" class for more specific use cases.

Tgr added a comment.Via ConduitJun 28 2014, 9:04 AM

Also, for portal icons etc. you usually want the icon to link to the portal page, not the file description page. If you do that, that will also make Media Viewer ignore the image.

Gilles added a project: Multimedia.Via WebNov 24 2014, 3:19 PM
Gilles moved this task to Closed on the Multimedia workboard.Via WebDec 2 2014, 8:55 AM

Add Comment