The ClipUpload extension allows to upload files directly from your clipboard.
- CD into the extension folder e.g. # cd /usr/local/www/mediawiki/extensions/
- clone the fork into the original folder name e.g. git clone git@github.com:gessel/ClipUploadNg.git ClipUpload
- Add
wfLoadExtension( 'ClipUpload' );
to your "LocalSettings.php" file. - Configure this extension as needed by adding the parameters to your "LocalSettings.php" file (see the configuration section).
- Verify the installation on "Special:Version".
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 isThis 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 is500
-
$wgClipUP_CheckSameFileSize
Allows to check if the size of a file is the same as for the previously uploaded file.
Standard value isfalse
- Doesn't make MW 1.41 barf, but doesn't work yet either.
- Homepage
- Support
- Issue tracker
- Source code
- [Author](http://see.sl088.com/id/49t Author)
- claude.ai
- SLboat for the awesome original.
- Martin Schwindl, who made the great upload extension MsUpload
- rickyb98 for his help testing it a lot!
- Karsten Hoffmeyer for improving the documentation