Extension:SpecialUploadLocal
From MediaWiki.org
|
Special:UploadLocal Release status: stable |
|||
|---|---|---|---|
| Implementation | Special page | ||
| Description | Allows quick mass uploading of large files. | ||
| Author(s) | Edward Z. YangTalk | ||
| Last Version | 1.1.0 (2008-02-09) | ||
| MediaWiki | 1.11 (Does not work for 1.7 but an earlier version does). | ||
| License | GPL | ||
| Download | .zip, .tar.gz | ||
|
|||
|
|||
Special: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.
Contents |
[edit] Installation
Download one of these files:
Open the tarball or zip folder "SpecialUploadLocal". Extract the "SpecialUploadLocal" folders with all of the subfolders and files into your extensions/ directory. A SpecialUploadLocal folder should be created in your directory.
In LocalSettings.php, add this line:
require_once 'extensions/SpecialUploadLocal/SpecialUploadLocal.php';
or
require_once("$IP/extensions/SpecialUploadLocal/SpecialUploadLocal.php");
[edit] Optional settings
$wgUploadLocalDirectory sets the absolute path for the directory where uploaded files reside, so you can set it to whatever you want. The default is:
$wgUploadLocalDirectory = $IP . '/extensions/SpecialUploadLocal/data';
Also, the extension adds a new right called uploadlocal 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.
[edit] Use
Upload files (via FTP) into the directory /extensions/SpecialUploadLocal/data (or whatever you set $wgUploadLocal to) of your wiki installation folder).
Then go to Special:UploadLocal and you should see the files you uploaded listed there.
Follow the instructions.
[edit] Older versions of Mediawiki
This newer version does not work for at least 1.7 Mediawiki, but an earlier version of Extension:SpecialUploadLocal works for 1.7 Mediawiki.
[edit] 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.
[edit] See also
- Commonist, a Java tool that makes it easy to upload large numbers of files using HTTP. This tool doesn't need another extension, but is Commons specific and slower.

