Last modified: 2012-07-30 12:14:57 UTC
Repro: In a local MW installation, LocalSettings.php: $wgUseInstantCommons = true; $wgUploadPath = '/000'; In a page: [[File:Mediterranean_Sea_political_map-en.svg]] I don't have this file locally and it's on commons, and it generates HTML: <p><a href="/index.php/File:Mediterranean_Sea_political_map-en.svg" class="image"><img alt="Mediterranean Sea political map-en.svg" src="/000/thumb/d/d8/Mediterranean_Sea_political_map-en.svg/2046px-Mediterranean_Sea_political_map-en.svg.png" width="2046" height="1496" /></a> </p>
instant commons is set to cache files from commons locally. If you disable that (See [[mw:Manual:$wgForeignFileRepos]] docs) does it fix your issue?
(In reply to comment #1) > instant commons is set to cache files from commons locally. If you disable that > (See [[mw:Manual:$wgForeignFileRepos]] docs) does it fix your issue? It does.
In that case I'm going to mark this resolved invalid, since if caching of files is enabled, they have to be stored somewhere, and that somewhere is $wgUploadPath.