Author: jean.luc.henry
Description:
Hello,
Trying to setup an upload server http://base.ekopedia.org like "Commons" project
for wikipedia.
Everything work great except one thing: images included in image description
fetched by wgFetchCommonsDescriptions do not use correct URL source.
As you can see on this URL:
http://base.ekopedia.org/Image:Pecheurs-sur-la-plage.jpg, the image and
description is fetched correctly. But there is an banner (Public Domain) which
contain an image inside.
As you can see on the source page:
http://base.ekopedia.org/Image:Pecheurs-sur-la-plage.jpg, the image in the
banner is ok.
So $wgFetchCommonsDescriptions works correctly for text, but did not correct the
image URL. In fact in html, this is this URL:
http://fr.ekopedia.org/images/thumb/6/62/PD-icon.svg/64px-PD-icon.svg.png
Instead of this one:
http://base.ekopedia.org/images/thumb/6/62/PD-icon.svg/64px-PD-icon.svg.png
I'm using this configuration:
$wgUseSharedUploads = true;
$wgSharedUploadPath = "http://base.ekopedia.org/images";
$wgSharedUploadDirectory = "/var/www/base.ekopedia.org/images";
$wgHashedSharedUploadDirectory = true;
$wgSharedUploadDBname = "base";
$wgFetchCommonsDescriptions = true;
$wgRepositoryBaseUrl = "http://base.ekopedia.org/image:";
$wgCacheSharedUploads = true;
$wgSharedLatin1 = false;
Jean-Luc
Version: unspecified
Severity: normal
URL: http://base.ekopedia.org/Image:Pecheurs-sur-la-plage.jpg