Thread:Extension talk:MsUpload/Imageupload to different file repository than main wiki

Do you have any idea how I could make MsUpload use a different file repo? I have a shared filedatabase for a wiki, stemming from interlanguage wikis (wikifarm). MsUpload uses the single wiki for storage, though. I've had a lookout for  and  and similar, but with no results, searching the MsUpload files neither. I am not trying to store the files under different folders, instead in a different wiki.

The part in my LocalSettings for the file repo of wiki.com (not real name) underneath, images.wiki.com is the second wiki installation. $wgForeignFileRepos[] = array(  'class'                   => 'ForeignAPIRepo',   'name'                    => 'shared',   'apibase'                 => 'http://images.wiki.com/api.php',   'fetchDescription'        => true, // Optional   'descriptionCacheExpiry'  => 43200, // 12 hours, optional (values are seconds)   'apiThumbCacheExpiry'     => 43200, // 12 hours, optional, but required for local thumb caching ); Any ideas on how to to achieve this?