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.

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