Jump to content

Extension:JQueryUpload

From mediawiki.org
MediaWiki extensions manual
JQueryUpload
Release status: stable
Implementation Special page
Description Allows files to be uploaded to the wiki or specific pages using the jQueryFileUpload module
Author(s) Aran Dunkley, Sebastian Tschan, Igor Absorto, Professional Wiki
Latest version 2.0.0 (2023-06-29)
Compatibility policy For every MediaWiki release that is a Long Term Support release there is a corresponding branch in the extension.
PHP >= 8.0
Database changes No
License GNU General Public License 2.0 or later
Download
  • $wgJQUploadIconPrefix
  • $wgJQUploadFileMagic
  • $wgJQUploadFileLinkPopup

The JQueryUpload extension allows files to be uploaded to the wiki or to specific pages using the jQueryFileUpload module

Installation

[edit]
  • Download and place the file(s) in a directory called JQueryUpload in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'JQueryUpload' );
    
  • Configure as required.
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Configuration

[edit]

This extension provides the following configuration parameters, which should be added below invoking the extension in your LocalSettings.php file:

Name Description Default
$wgJQUploadIconPrefix Defines the relative path to the icons. /icons/Farm-Fresh_file_extension_
$wgJQUploadFileMagic Defines the upload file magic mode. file
$wgJQUploadFileLinkPopup Defines whether or not the upload file link should be a popup. true

See also

[edit]