2017 © Pedro Peláez
 

mediawiki-extension simple-batch-upload

Basic, no-frills uploading of multiple files to MediaWiki

image

mediawiki/simple-batch-upload

Basic, no-frills uploading of multiple files to MediaWiki

  • Wednesday, May 16, 2018
  • by s7eph4n
  • Repository
  • 1 Watchers
  • 6 Stars
  • 440 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 5 Open issues
  • 9 Versions
  • 11 % Grown

The README.md

SimpleBatchUpload

GitHub Workflow Status Latest Stable Version Packagist download count, (*1)

The SimpleBatchUpload extension provides basic, no-frills uploading of multiple files to MediaWiki., (*2)

It is maintained by Professional.Wiki. Contact us for commercial support or development work., (*3)

Requirements

  • PHP 8.0 or later
  • MediaWiki 1.35 or later

Installation

Composer

COMPOSER=composer.local.json composer require --no-update mediawiki/simple-batch-upload:^2.0
composer update mediawiki/simple-batch-upload --no-dev -o



### Manual installation [Download](https://github.com/ProfessionalWiki/SimpleBatchUpload/releases) and place the files in a directory called `SimpleBatchUpload` in your `extensions/` folder. Enable the extension by adding the following to your LocalSettings.php: ```php wfLoadExtension( 'SimpleBatchUpload' );
**Note:** To use the extension the user needs the [`writeapi`][writeapi] right. This is the default MediaWiki setting for registered users, but it may have been changed during the configuration of the wiki. ## Usage There are four ways to upload files using this extension: * Go to _Special:BatchUpload_ to get a plain upload page * Go to _Special:BatchUpload/Foo_ to get an upload page that sets `{{Foo}}` as the wikitext of the uploaded file's page * Add `{{#batchupload:}}` to any wikipage to get a simple upload button * Add `{{#batchupload:Foo|Bar|Baz}}` to any wikipage to get an upload button that sets `{{Foo|Bar|Baz}}` as the wikitext of the uploaded file's page ## Customization It is possible to specify dedicated parameter sets for the upload of specific file types by editing the _MediaWiki:Simplebatchupload-parameters_ page. Each line of that page is considered as one set of parameters. Available parameters are: * Name of template to be stored as text on initial upload * Upload comment * Title line of the Special:BatchUpload page Parameters should be separated by pipes (|). The line to be used is selected by appending the name of the template as the subpage to the URL of the Special:BatchUpload page. __Example:__ Consider the parameter line
Pics | These pics were uploaded using [[mw:Extension:SimpleBatchUpload{{!}}SimpleBatchUpload]] | Upload some pics!
* This can be selected by going to _Special:BatchUpload/Pics_. * The title of this page will be _Upload some pics!_. * The comment for the upload will be _These pics were uploaded using [[mw:Extension:SimpleBatchUpload{{!}}SimpleBatchUpload]]_. * If a file with that name is uploaded for the first time it will have `{{Pics}}` as wikitext. ## Configuration Available configuration options: * `$wgSimpleBatchUploadMaxFilesPerBatch` - Array defining the maximum number of files that can be uploaded each time depending on the user group. <br> Default: ``` php $wgSimpleBatchUploadMaxFilesPerBatch = [ '*' => 1000, ];

Note: Be aware that this is not the right setting to completely block file uploads! Users can still use the normal file upload or the MediaWiki API. See the paragraph on user permissions on Configuring file uploads on mediawiki.org., (*4)

License

GNU General Public License 2.0 or later, (*5)

The Versions

16/05 2018

dev-master

9999999-dev https://www.mediawiki.org/wiki/Extension:SimpleBatchUpload

Basic, no-frills uploading of multiple files to MediaWiki

  Sources   Download

GPL-2.0+ GPL-2.0-or-later

The Requires

 

extension mediawiki wiki

18/04 2018

1.3.1

1.3.1.0 https://www.mediawiki.org/wiki/Extension:SimpleBatchUpload

Basic, no-frills uploading of multiple files to MediaWiki

  Sources   Download

GPL-2.0+

The Requires

 

extension mediawiki wiki

30/03 2018

1.3.0

1.3.0.0 https://www.mediawiki.org/wiki/Extension:SimpleBatchUpload

Basic, no-frills uploading of multiple files to MediaWiki

  Sources   Download

GPL-2.0+

The Requires

 

extension mediawiki wiki

09/02 2017

1.2.0

1.2.0.0 https://www.mediawiki.org/wiki/Extension:SimpleBatchUpload

Basic, no-frills uploading of multiple files to MediaWiki

  Sources   Download

GPL-2.0+

The Requires

 

extension mediawiki wiki

14/11 2016

1.2.0-RC2

1.2.0.0-RC2 https://www.mediawiki.org/wiki/Extension:SimpleBatchUpload

Basic, no-frills uploading of multiple files to MediaWiki

  Sources   Download

GPL-2.0+

The Requires

 

extension mediawiki wiki

02/11 2016

1.2.0-RC1

1.2.0.0-RC1 https://www.mediawiki.org/wiki/Extension:SimpleBatchUpload

Basic, no-frills uploading of multiple files to MediaWiki

  Sources   Download

GPL-2.0+

The Requires

 

extension mediawiki wiki

11/06 2016

1.1.0

1.1.0.0 https://www.mediawiki.org/wiki/Extension:SimpleBatchUpload

Basic, no-frills uploading of multiple files to MediaWiki

  Sources   Download

GPL-2.0+

The Requires

 

extension mediawiki wiki

07/06 2016

1.0.1

1.0.1.0 https://www.mediawiki.org/wiki/Extension:SimpleBatchUpload

Basic, no-frills uploading of multiple files to MediaWiki

  Sources   Download

GPL-2.0+

The Requires

 

extension mediawiki wiki

06/06 2016

1.0.0

1.0.0.0 https://www.mediawiki.org/wiki/Extension:SimpleBatchUpload

Simple batch upload of files for MediaWiki

  Sources   Download

GPL-2.0+

The Requires

 

extension mediawiki wiki