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.
I've spent the last couple hours digging through the code, and at this point I'm at FileBackendStore->doOperationsInternal(), but can't figure out where the thing that looks like "mwstore://local-backend/local-public/e/ed/My_File_Name.png" (Zone Path?) gets converted into a file system path. At some point "mwstore://local-backend/local-public/" must get stripped off and replaced by "C:/path/to/wiki/images/".
Any assistance would be greatly appreciated. I'm fairly new to MW development, and this is my first post on the mailing list.
My config: MW 1.21, PHP 5.4, Windows 7
Thanks, James