Last modified: 2014-03-05 20:13:55 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 T64243, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 62243 - MultimediaViewer displays empty white footer
MultimediaViewer displays empty white footer
Status: RESOLVED FIXED
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-03-05 01:34 UTC by Jean-Fred
Modified: 2014-03-05 20:13 UTC (History)
4 users (show)

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


Attachments
MultimediaViewer displays empty white footer (484.27 KB, image/png)
2014-03-05 01:34 UTC, Jean-Fred
Details

Description Jean-Fred 2014-03-05 01:34:51 UTC
Created attachment 14740 [details]
MultimediaViewer displays empty white footer

See the following examples:

<https://fr.wikipedia.org/wiki/Cocotier_du_Chili#mediaviewer/Fichier:Jubaea%20chilensis%20%28Fruit%20and%20nut%29%20nuytsia%20pix.jpg>

<https://fr.wikipedia.org/wiki/Cocotier_du_Chili#mediaviewer/Fichier:Jubaea%20chilensis%20Flores%20masculinas%20%28Fundaci%C3%B3n%20JBN%20de%20Vi%C3%B1a%20del%20Mar%29%20001.jpg>

MultimediaViewer only displays an empty, white banner instead of the information panel.

Raised by a fr.wp user, reproduced locally. Purge did not help.
Comment 1 Jean-Fred 2014-03-05 01:38:12 UTC
Raised by at least another user.

(By “reproduced locally” I meant “reproduced by me as well”, of course [no I did not fully install MediaWiki With MMV just for the sake of this bug ;-)]
Comment 2 Mark Holmquist 2014-03-05 18:05:55 UTC
Boy, this is odd - the image info seems to come back fine, and there are no errors.
Comment 3 Tisza Gergő 2014-03-05 20:09:36 UTC
Our error reporting kind of sucks ( https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/268 is supposed to solve that but it is not deployed yet) so probably one of the metadata promises reject (could be anything, not just imageinfo).

For reference, here is a quick debug code which adds functionality from #268 on the fly:

for (key in mw.mediaViewer) {
    if (key.match(/Provider$/)) {
        (function ( provider ) {
            var oldGet = provider.get;
            provider.get = function () {
                return oldGet.apply( provider, arguments ).fail( function ( error ) {
                    console.log( provider.constructor.name + ' failed: ', error );
                } );
            };
        } ( mw.mediaViewer[key] ));
    }
}

According to that, the problem is with userinfo.
Comment 4 Tisza Gergő 2014-03-05 20:13:55 UTC
This seems to be the same issue as bug 62019. The fix there was ported back to wmf16, but frwiki is still on wmf15. This will change with tomorrow's deploy, so marking this as fixed.

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


Navigation
Links