Extension:UploadLocal

Special:UploadLocal is a special page written by User:Edward Z. Yang that allows the "uploading" of files already residing on the server into MediaWiki. This has numerous practical applications, notably the streamlining of the upload of large files, renaming of image files, and the upload of many files (aka. mass upload).

Installation
Download the source archive and extract the files in your extensions/ directory. A SpecialUploadLocal folder should be created.

In LocalSettings, add these lines:

Optional settings
There are a few more settings:

sets the absolute path for the directory where uploaded files reside, 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.

Using it
Upload files (via FTP) into the directory  (or whatever you set   to) of your wiki installation folder. Then surf to Special:UploadLocal and you should see the files you uploaded listed there. Follow the instructions.

License
Special:UploadLocal, a special page for MediaWiki Copyright (C) 2006–2008 Edward Z. Yang

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2 of the License.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

Download
A tarball and zip file are available:


 * SpecialUploadLocal-1.1.0.zip
 * SpecialUploadLocal-1.1.0.tar.gz