Last modified: 2014-03-03 20:01:23 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 T64039, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 62039 - MediaViewer confuses different instances of the same image on the same page
MediaViewer confuses different instances of the same image on the same page
Status: NEW
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-02-28 08:22 UTC by Tisza Gergő
Modified: 2014-03-03 20:01 UTC (History)
4 users (show)

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


Attachments

Description Tisza Gergő 2014-02-28 08:22:29 UTC
Steps to reproduce:
1. go to https://www.mediawiki.org/wiki/Multimedia/About_Media_Viewer
2. Click on the first image of the How does Media Viewer work? section.
Observe that the caption is missing.

MediaViewer actually opened the first instance of the same image (somewhat higher on the page, has no caption), but this is not obvious and can be quite confusing when the caption has important information (e.g. legend for a chart is often placed there) and the user is expecting it.
Comment 1 Mark Holmquist 2014-02-28 18:39:01 UTC
This was why we had #mediaviewer/File:Foobar.jpg/6 instead of just #mediaviewer/File:Foobar.jpg in the past - I made sure the index matched, so you got the same view no matter what.

Though we could at least be cognisant of the order when opening the lightbox. Seems not difficult.
Comment 2 Tisza Gergő 2014-02-28 20:19:18 UTC
That scheme had other problems (not stable enough, not to mention ugly :)
I would still go with #mediaviewer/<filename>/<index relative to other thumbnails of the same file>, with #mediaviewer/<filename>/1 being aliased to #mediaviewer/<filename>.
Comment 3 Mark Holmquist 2014-03-03 20:01:23 UTC
+1

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


Navigation
Links