Extension:MediaUploader

Category:DraftsCategory:Drafts Category:Extensions without an imageCategory:GPL licensed extensions
MediaWiki extensions manual
MediaUploader
Release status: betaCategory:Beta status extensions
Implementation MediaCategory:Media handling extensions, Special page Category:Special page extensions
Description Flexible, multi-file, step-by-step uploader
Author(s) Ostrzyciel, authors of UploadWizard
Latest version 0.1.0
Compatibility policy Master maintains backward compatibility.Category:Extensions with master compatibility policy
MediaWiki 1.37+Category:Extensions with manual MediaWiki version
PHP 7.3
Database changes Yes
Tables mu_campaign
License GNU General Public License 2.0 or later
Download Category:Extensions in Wikimedia version control
README
Campaign
  • $wgMediaUploaderConfig
  • $wgUploadWizardConfig
upwizcampaigns, mass-upload Category:Extensions which add rights
Quarterly downloads 0
Translate the MediaUploader extension if it is available at translatewiki.net
Issues Open tasks · Report a bug
Category:All extensions

MediaUploader is an easy to use and flexible file upload tool. It is designed to be configurable and meet the demands of a wide variety of wikis.

Installation

Note Note: If you are migrating from UploadWizard, see the dedicated guide.

  • Your MediaWiki will need to be capable of hosting media files and creating thumbnails (smaller previews of media files). If you can upload images and see smaller previews on their File page, you're already ready. If not, for full instructions, see Manual:Image administration, particularly image thumbnailing.
  • Download and move the extracted MediaUploader folder to your extensions/ directory.
    Developers and code contributors should install the extension from Git instead, using:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/MediaUploader
  • Only when installing from Git, run Composer to install PHP dependencies, by issuing composer install --no-dev in the extension directory. (See T173141 for potential complications.)Category:Extensions requiring Composer with git
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'MediaUploader' );
    
  • Run the update script which will automatically create the necessary database tables that this extension needs.
  • Configure as needed.
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Features

TBD

Configuration

MediaUploader has extensive and very flexible configuration that can also be partially adjusted on-wiki with the use of campaigns. If you find the config overwhelming, there are also several ready-to-use configuration sets that you can just copy to your wiki and get started in no time.

Origin and design

The idea of MediaUploader stemmed from the numerous issues with using UploadWizard on third-party wikis. The original tool was mostly designed for use by Wikimedia Commons, fulfilling its very specific needs (e.g. Wikibase support, specific licensing hacks, image-based tutorials). Third parties usually have a very different set of requirements that emphasize simplicity and flexibility. The two approaches are hard to reconcile in a single extension, especially given that UploadWizard must meet Commons' requirements and has no obligation to consider the needs of third parties. Thus, MediaUploader was born.

Main design goals of MediaUploader are:

  • Ease of use, at least as good as the original UploadWizard.
  • Configurability of all elements, well-described in documentation.
  • Ability to simplify certain elements of the wizard for wikis with less strict image description requirements.
  • Extensibility to allow for wiki-specific enhancements to be created locally.
  • No Wikimedia Commons-specific features.

See also

Category:Bulk upload
Category:All extensions Category:Beta status extensions Category:Bulk upload Category:ChangeTagsAllowedAdd extensions Category:ChangeTagsListActive extensions Category:CodeEditorGetPageLanguage extensions Category:ContentModelCanBeUsedOn extensions Category:Drafts Category:EditFilterMergedContent extensions Category:EditPage::showEditForm:initial extensions Category:Extensions in Wikimedia version control Category:Extensions included in Canasta Category:Extensions requiring Composer with git Category:Extensions which add rights Category:Extensions with manual MediaWiki version Category:Extensions with master compatibility policy Category:Extensions without an image Category:GPL licensed extensions Category:GetPreferences extensions Category:LinksUpdateComplete extensions Category:ListDefinedTags extensions Category:LoadExtensionSchemaUpdates extensions Category:Media handling extensions Category:MovePageIsValidMove extensions Category:PageDeleteComplete extensions Category:PageDelete extensions Category:PageSaveComplete extensions Category:Special page extensions Category:UserGetReservedNames extensions