Mediawiki Extension ClipUpload

From Micylou WIKI
This is the latest revision of this page; it has no approved revision.
Jump to navigation Jump to search
Source: DataSource
Language: English
Topic: Mediawiki
SubTopic: Mediawiki Extension
Last Edit By: DochyJP
LastEdit: 2021-04-14
Document type: Documentation
Status: Active
Access: free

Description

This extension is not actively maintained but is very practical.

The ClipUpload extension is similar to the MsUpload extension with the exception that it takes the files to be uploaded from the clipboard. It uses "InlineAttachment" to perform its task.

Since version 1.3.0 of January 17, 2017 the browsers Chrome, Firefox and Opera are supported.

Installation

Download

Download the extension from GIT.

sudo wget https://github.com/SLboat/ClipUpload/archive/master.zip

Unzip

Decompress it via

sudo unzip master.zip

Rename folder

Rename unzipped folder ClipUpload-master into ClipUpload

sudo mv ClipUpload-master/ ClipUpload

Activate the extension

Add this into the Localsettings.php with the configuration points as needed

require_once "$IP/extensions/ClipUpload/ClipUpload.php";

Configuration

This extension provides three parameters available for configuration:

  • $wgClipUP_Comment
    Allows to set a standard text added to the files description upon uploading a file.
    Standard value is This file was uploaded from the clipboard ().
  • $wgClipUP_MaxFileSize
    Allows to set the maximum size in KB for files uploadable by this extension.
    Standard value is 500
  • $wgClipUP_CheckSameFileSize
    Allows to check if the size of a file is the same as for the previously uploaded file.
    Standard value is false
        require_once "$IP/extensions/ClipUpload/ClipUpload.php";
        // Configuration
                // $wgClipUP_Comment="" ; 
                        // Allows to set a standard text added to the files description upon uploading a file.
                        // Standard value is This file was uploaded from the clipboard ()
                // $wgClipUP_MaxFileSize=500; 
                        // Allows to set the maximum size in KB for files uploadable by this extension.
                        // Standard value is 500
                // $wgClipUP_CheckSameFileSize=false;
                        // Allows to check if the size of a file is the same as for the previously uploaded file.
                        // Standard value is false




Back to top of page - Back to Welcome Page