On 10/03/2013 07:08 PM, James Montalvo wrote: > I have several wikis all symlinked to a single prime wiki. Only the > "images", "cache", and "mw-config" directories and LocalSettings.php file > are unique for each wiki. > > Normally for maintenance scripts I just add "--conf > C:/path/to/LocalSettings.php" to perform the maintenance script on a > particular wiki but for importImages.php that does not entirely work. If I > use it to upload to a particular wiki, the file-namespace pages get created > on the correct wiki, but the actual files get put in the images directory > of the prime wiki. > > Using "--conf C:/path/to/LocalSettings.php" does partially work. If I leave > it off then the file-namespace pages get created in the prime wiki, instead > of the intended wiki. So it appears --conf just isn't impacting file upload > location.
The default value for $wgUploadDirectory is "$IP/images" (as determined in includes/Setup.php), and the --conf option does not affect $IP. Have you tried setting the MW_INSTALL_PATH environment variable to override the $IP detection, or manually setting $wgUploadDirectory in the appropriate LocalSettings.php file? > Any assistance would be greatly appreciated. I'm fairly new to MW > development, and this is my first post on the mailing list. This question might have been better suited for mediawiki-l. -- Kevin Israel - MediaWiki developer, Wikipedia editor http://en.wikipedia.org/wiki/User:PleaseStand _______________________________________________ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l