Did you remember to set $wgForeignFileRepos (or $wgUploadNavigationUrl,
$wgUseSharedUploads, $wgSharedUploadPath and $wgSharedUploadDirectory) in
all of your language wikis' LocalSettings.php files?
Regards,
Daniel
-----Original Message-----
From: mediawiki-l-bounces(a)lists.wikimedia.org
[mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of T4b
Sent: 12 May 2010 19:20
To: MediaWiki announcements and site admin list
Subject: Re: [Mediawiki-l] Move files from one wiki to an other
Am 12.05.2010 20:14, schrieb Łukasz Garczewski:
On Wed, May 12, 2010 at 7:26 PM,
T4b<00t4b00(a)gmail.com> wrote:
> Am 12.05.2010 19:23, schrieb T4b:
>
>> Am 12.05.2010 18:58, schrieb Łukasz Garczewski:
>>
>>> On Wed, May 12, 2010 at 6:53 PM, T4b<00t4b00(a)gmail.com> wrote:
>>>
>>>> I'm currently transforming a single language wiki into a
>>>> multilingual wiki and I need the files which were already uploaded
>>>> in the single language wiki in the pool wiki. Any suggestions on how
to do that?
>
Assuming you have no image name clashes, use
maintenance/importImages.php
This should have the path to the images given as a parameter. Note
that the script expects a flat directory structure, so if you used
hashed directories, you will need to flatted them out before
running the script.
Good luck.
That worked, but some (not all!) images aren't displayed. What could
be the reason for that?
If forgot to write that they are not only not displayed, but they
point to the upload page of the language wiki instead of the pool
wiki. And a link is
http://en.pspwiki.ch
I'm not entirely sure what you mean.
An example URL could help me understand what happened. :)
For example on
http://de.pspwiki.ch/index.php/Hauptseite and
http://en.pspwiki.ch/index.php/Partner are pictures which looks like they
would not exist and if you click on them the Special:Upload page of the
language wikis instead of the pool wiki ist displayed.
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l