The design team recently deployed the Popups[1] extension to English Wikipedia as a Beta Feature. We are using the PageImages[2] extension to get a thumbnail with a `pithumbsize` of 300. This was initially 290, but someone on IRC - I forget who - mentioned that it would be faster if it were 300.
We are facing two problems with this approach - 1. Some images are taking too long to load [3] 2. Sometimes the first relevant image is not picked up [4]
Any ideas on how these bugs could be resolved would be helpful. The code for the current implementation can be found on git [5].
--prtksxna
[1] https://www.mediawiki.org/wiki/Extension:Popups [2] https://www.mediawiki.org/wiki/Extension:PageImages [3] https://bugzilla.wikimedia.org/63156 [4] https://bugzilla.wikimedia.org/63177 [5] http://git.wikimedia.org/blob/mediawiki%2Fextensions%2FPopups.git/abafedb99d...