When I enable [[ https://www.mediawiki.org/wiki/Manual:$wgUseInstantCommons | $wgUseInstantCommons ]]
and paste [[File:Hong_Kong_Skyline_Restitch_-_Dec_2007.jpg|thumb|300]] into http://en.wiki.local.wmftest.net:8080/w/index.php?title=Hong_Kong&action=edit
I expect to see a thumbnail generated.
The url generated 404s /images/thumb/2/23/Hong_Kong_Skyline_Restitch_-_Dec_2007.jpg/300px-Hong_Kong_Skyline_Restitch_-_Dec_2007.jpg
This impacts development of the WikidataPageBannerExtension
The same problem can be replicated by setting $wgPBImage = 'Manhattan4_amk.jpg'; which causes the page banner to 404 as it generates a url to http://en.wiki.local.wmftest.net:8080/images/thumb/d/d7/Manhattan4_amk.jpg/320px-Manhattan4_amk.jpg
This is similar to T56202 but also happens when the 404 handler is not enabled, and it only affects non-default wikis (ie. InstantComons still works on 127.0.0.1).