Note: I could not reproduce the issue in production although there are many small-sized images.
Update: This does happen on production. E.g. searching for "icon" produces a lot of small results.
- On betalabs Special:MediaSearch enter "dark night" (without quotes) as search terms into the search field. Press 'Search' (https://commons.wikimedia.beta.wmflabs.org/wiki/Special:MediaSearch?type=bitmap&q=dark+night).
- Only one result (https://commons.wikimedia.beta.wmflabs.org/wiki/File:Volcanic_Eruptions_on_Io_-_Discovery_Picture.j) is returned - click on it to bring the QuickView.
The UI is displayed as the following:
The Console will display the following two errors:
TypeError: mw.util.parseImageUrl(...).resizeUrl is not a function TypeError: Cannot read property 'focus' of undefined
It seems to complained of this one:
function Ue(e, t, n) { if (!z && !V || "undefined" == typeof console) throw e; console.error(e) }