If I'm correct an image (or media) file ([[File:...]]) should convert to
/index.php?title=<pagetitle>#/media/File:<filename>
Instead I get
/index.php?title=<pagetitle>#/media/index.php%3Ftitle%3DFile%3A<filename>
Thus, when clicking the thumbnail, the full size image never loads. The progress wheel just spins and spins.
http://foobazaar.com/wikpa/index.php?title=Issues:MobileImage&useskin=minerva - example on a brand new Mediawiki installation (1.27.1) and MobileFrontend 1.0.0 (717861c).
With Minerva enabled, the image URL is incorrect, I think, and the image never loads into the media viewer. If I fix the URL it loads. The working URL matches the format that Wikipedia produces.
Instructions:
[] Run the unit tests @ /wiki/Special:JavaScript/qunit/test and confirm they pass (green)
[] Restore the unit test that was abandoned in the comments below
[] Run the unit tests via /wiki/Special:JavaScript/qunit/test and confirm they fail (red)
[] Update the code so that all tests pass again.