Bulk upload of images to Mediawiki

If like me you’re running a Mediawiki wiki you sometimes need to upload large numbers of pictures in one go. This can be done quickly and easily using the ImportImages script.

I’m running MediaWiki on Windows, but the terminology is similar for Linux installations (see the manual for ImportImages.php). The following command uploads all the images in the given folder.

php C:\Inetpub\wwwroot\mediawiki\maintenance\importimages.php \\path-to\my\imagefolder

.

Leave a Reply

Your email address will not be published. Required fields are marked *