[Mediawiki-l] Problems with my wiki off-line

Platonides Platonides at gmail.com
Tue Jan 29 23:16:59 UTC 2008


zaydo wrote:
> Hi,
> 
> just for fun, I wanted to install my wiki off-line on a laptop. It works
> except for the images.
> Opening an article, the software does not find the images:
> 
> ...images/d/de/imagename.jpg...: failed to open stream...
> 
> Well, of course the directories d/de below images do not exist. To my
> understanding those belong to the cache system of my life wiki. Therefore I
> did not copy them to the off-line version.
> I tried to set $wgCacheEpoch, $wgThumbnailEpoch, $wgUseFileCache and others
> to solve the problem - without success.
> 
> How can I persuade the software to use the image in the images-directory
> instead?


Your images are wither on /images or in /images/x/xy/
You can choose one of them with $wgHashedUploadDirectory
http://www.mediawiki.org/wiki/Manual:%24wgHashedUploadDirectory

But be consistent.

The "cached images" would be the thumb/ folder with thumbnails.




More information about the MediaWiki-l mailing list