Extension:UploadLocal

UploadLocal is an extension which allows the "uploading" of files already residing on the server into MediaWiki, by a special page on your mediawiki. This has numerous practical applications, notably the streamlining of the upload of large files, renaming of image files, and the ability to mass upload. Note that for this extension to be useful, the user must be able to put files in a directory on the server.

Installation

 * 1) Download the files from SVN or download a snapshot (select your version of MediaWiki) and place the files under $IP/extensions/UploadLocal
 * 2) Add to the end of LocalSettings.php:
 * 3) Installation can now be verified through Special:Version on your wiki

Optional settings
The default folder where the upload files are uploaded, is set by, so you can set it to whatever you want. The default is:

Also, the extension adds a new right called  and a new user group, uploader, along with sysop, are allowed to use this extension. You can change this however you want, although remember, in order for the extension to be useful, the user must also have FTP access.

Use
Upload files (via FTP) into the directory  (or whatever folder you set   to).

Then go to Special:UploadLocal and you should see the files you uploaded listed there.

Todo

 * Make the extension backwards compatible with 1.16. ✅
 * If uploads are disabled, the page does not have a page title.
 * Check for disallowed file extensions and show an appropriate error message. ✅
 * If a file is not allowed because it has a generic filename (DSC0001.jpg) the uploader reports that the file already exists which is the wrong error message. ✅
 * Show a thumbnail of the image on the upload form?