SimpleBatchUpload

Simple, no-frills multi-file upload for MediaWiki

On this page

External links

SimpleBatchUpload MediaWiki Extension

Upload multiple files to your wiki with ease.

Upload interface showing multiple files having been uploaded

Usage Documentation

Only users with the writeapi right can upload files via this extension. By default, all registered users in MediaWiki have this right.

Upload Page

You can upload files via the Special:BatchUpload page.

You can navigate directly to Special:BatchUpload/CatPicture to generate a page in the File namespace with {{CatPicture}} as content for each file you upload.

Upload Button

Place the {{#batchupload:}} wikitext parser function into any wiki page to show an upload button.

Use {{#batchupload:CatPicture|Fluffy|Example}} to create File namespace pages with wikitext {{CatPicture|Fluffy|Example}} for each upload via the button.

You can specify each file uploaded via a button should get a prefix. {{#batchupload:+rename=!^(Fluff-[./+]*)?!iu -->Fluff-}} gives each file you upload via the button the Fluff- prefix, so that your Cat.png file gets uploaded to File:Fluff-Cat.png.

Installation

Requirements

  • PHP 8.0 or later
  • MediaWiki 1.43 or later

Load and enable

Load the extension using Composer:

COMPOSER=composer.local.json composer require --no-update mediawiki/simple-batch-upload:~3.0

Enable the extension by adding the following to your LocalSettings.php:

wfLoadExtension( 'SimpleBatchUpload' );

You can verify the installation by checking your wiki's Special:Version page.

More MediaWiki Extensions

View all our extensions

Professional MediaWiki Services

MediaWiki services by the authors of SimpleBatchUpload

Software Development icon
Software Development

Get superior results from the best MediaWiki developers with a proven track record of creating MediaWiki extensions & integrations.

Theme Development icon
Theme Development

Make your wiki look great! Use a time-tested responsive MediaWiki theme, or have us create a custom MediaWiki skin for you.

MediaWiki Hosting icon
MediaWiki Hosting

Let us take care of your wiki. We are MediaWiki hosting experts and provide cloud hosting, dedicated hosting, and on-premise hosting.

MediaWiki Consulting icon
MediaWiki Consulting

Bring your wiki to the next level by leveraging our MediaWiki expertise. From strategic planning to wikitext, we have you covered.

MediaWiki Migration icon
MediaWiki Migration

Migrate your wiki with confidence. We move your MediaWiki to a new home, or we help you migrate from another system to MediaWiki.

MediaWiki Upgrades icon
MediaWiki Upgrades

Keep your MediaWiki up-to-date and secure. We offer MediaWiki maintenance services to keep your wiki running smoothly.