Last modified: 2014-06-28 09:04:18 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T65727, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 63727 - MultimediaViewer: Add a class for images, which shouldn't display in MediaViewer
MultimediaViewer: Add a class for images, which shouldn't display in MediaViewer
Status: RESOLVED WONTFIX
Product: MediaWiki extensions
Classification: Unclassified
MultimediaViewer (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-04-09 14:23 UTC by Rezonansowy
Modified: 2014-06-28 09:04 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Rezonansowy 2014-04-09 14:23:57 UTC
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.
Comment 1 Jean-Fred 2014-04-09 14:35:49 UTC
(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.
Comment 2 Tisza Gergő 2014-06-26 18:58:32 UTC
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.
Comment 4 Tisza Gergő 2014-06-28 09:02:17 UTC
You can also use the "noviewer" class for more specific use cases.
Comment 5 Tisza Gergő 2014-06-28 09:04:18 UTC
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.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links