Am 12.05.2010 20:31, schrieb Daniel Bishop:
> 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: [email protected]
> [mailto:[email protected]] 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<[email protected]>   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<[email protected]>     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
> [email protected]
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>
>
> _______________________________________________
> MediaWiki-l mailing list
> [email protected]
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>    
Yes, I have
$wgUploadNavigationUrl = 'http://pool.pspwiki.ch/index.php/Special:Upload';
$wgUseSharedUploads = true;
$wgSharedUploadPath = 'http://pool.pspwiki.ch/images/';
$wgSharedUploadDirectory = '/home/myname/pspwiki/images/';
in a file GlobalLanguageWikiSettings.php which is included in all 
language wiki LocalSettings.php.

But if I had forgotten that, all Images wouldn't work and not only some.

_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to