Extension:UploadLocal

From MediaWiki.org
Jump to: navigation, search
MediaWiki extensions manual - list
Crystal Clear action run.png
UploadLocal

Release status: beta

Implementation Special page
Description Allows quick mass uploading of large files.
Author(s) Edward Z. Yang, Cneubauer
MediaWiki 1.17.+
Database changes no
License GPLv2+
Download Download snapshot
Subversion [Help]

Browse source code
View code changes

CHANGELOG

Parameters

$wgUploadDirectory

Added rights

uploadlocal

Check usage (experimental)

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 have FTP access.

Note: An earlier version of this extentsion works for 1.15 and some MediaWiki version prior. See the older version of this page for details. No version of this extension works with 1.16.

Contents

[edit] 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:
    require_once("$IP/extensions/UploadLocal/UploadLocal.php");
  3. Installation can now be verified through Special:Version on your wiki

[edit] Optional settings

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

$wgUploadLocalDirectory = $IP . '/extensions/UploadLocal/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/UploadLocal/data (or whatever folder you set $wgUploadLocal to).

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

[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.
  • Image File Migrator, a Python tool that can download files from one wiki and upload them to another.
  • Extension:MultiUpload
Personal tools
Namespaces
Variants
Actions
Site
Support
Download
Development
Communication
Print/export
Toolbox