Manual:ImportImages.php

importImages.php is designed to import imaged to wiki from local directory: php maintenance/importImages.php /path/to/images png jpg gif bmp But it doesn't seem to work fine. (At least error messages are confusing): vi-notebook:/var/lib/mediawiki1.7# php maintenance/importImages.php /store/wiki/absurd_pic jpg Import Images

Warning: Invalid argument supplied for foreach in /usr/share/mediawiki1.7/maintenance/importImages.php on line 34 It means your directory doesn't contain files with specified extension. Or: vi-notebook:/var/lib/mediawiki1.7# php maintenance/importImages.php /store/wiki/absurd_pic/0/00 jpg Import Images

Saving Coke.jpg...failed. Saving JapanOrange.jpg...failed. Saving Friki.JPG...failed. It means that it managed to find them.