Extension:EnhancedUpload

This extension is maintained by a member of the MediaWiki Stakeholders' Group .
MediaWiki extensions manual
EnhancedUpload
Release status: stable
Description Provides a special page with the option to upload one or multiple files to the wiki
Author(s) Hallo Welt! GmbH
Latest version 1.2-alpha
Compatibility policy For every MediaWiki release that is a Long Term Support release there is a corresponding branch in the extension.
MediaWiki 1.35+
Composer mediawiki/enhanced-upload
License GNU General Public License 3.0 only
Download
  • $wgEnhancedUploadAllowMismatchedMimeTypes
  • $wgEnhancedUploadOverrideStandardUpload
  • $wgEnhancedUploadDragDropImagesAlignment
  • $wgEnhancedUploadDragDropImagesWidth
  • $wgEnhancedUploadDragDropImagesType
  • $wgEnhancedUploadDragDropImagesHeight
Quarterly downloads 7 (Ranked 142nd)
Translate the EnhancedUpload extension if it is available at translatewiki.net

This extension adds a new special page for multi-upload and improves drag-and-drop upload in VisualEditor.

It also introduces the ‎<attachments /> tag that allows to easily maintain file lists on pages.

Installation edit

Install Extension:OOJSPlus and Extension:VisualEditor first, since they are required.

  • Download and move the extracted EnhancedUpload 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/EnhancedUpload
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'EnhancedUpload' );
    
  •   Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Configuration edit

You can set some variables in the "LocalSettings.php" file:

$wgEnhancedUploadDragDropImagesAlignment = 'none'; (default = 'right')
image alignment
$wgEnhancedUploadDragDropImagesWidth = '600px';
$wgEnhancedUploadDragDropImagesHeigth = '600px';
image size
$wgEnhancedUploadDragDropImagesType = 'frameless'; (default = 'thumb', other options 'frameless', 'frame', 'basic')
image type

External links edit