Extension:ClipUpload
This extension is currently not actively maintained! Although it may still work, any bug reports or feature requests will more than likely be ignored. |
ClipUpload Release status: unmaintained |
|
---|---|
Implementation | Media, Page action , Skin |
Description | Allows to upload files directly from your clipboard |
Author(s) | SLboat (Theslboattalk) |
Latest version | 1.3.0 (2017-01-17) |
MediaWiki | 1.20+ |
Database changes | No |
License | GNU General Public License 2.0 or later |
Download | GitHub: Note: |
|
|
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.
DemoEdit
This demo shows how easy it is to upload a file with this extension:
InstallationEdit
- Download and place the file(s) in a directory called
ClipUpload
in yourextensions/
folder. - Add the following code at the bottom of your LocalSettings.php:
require_once "$IP/extensions/ClipUpload/ClipUpload.php";
- Configure this extension as needed (see the configuration section).
- Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
ConfigurationEdit
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 ([[Category:Clipboard upload]]).
- $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
Thanks go toEdit
- rickyb98 for his help testing it a lot!
- Martin Schwindl, who made the great upload extension MsUpload
- Karsten Hoffmeyer, for his work on translations!
- Roy van Kaathoven, for the upload plugin