Manual:$wgAllowCopyUploads

From MediaWiki.org
Jump to: navigation, search
Uploads: $wgAllowCopyUploads
Allow uploads from URLs as well as local files.
Introduced in version: 1.8.0 (r16158)
Removed in version: still in use
Allowed values: Boolean
Default value: false

Other settings: Alphabetical | By Function


[edit] Details

Allow for upload to be copied from an URL. Requires Special:Upload?source=web.

Users also need to have the associated user right 'upload_by_url' before this option will show up on Special:Upload. By default only administrators (sysops) have this permission.

[edit] Usage

Add to the bottom of your LocalSettings.php:

$wgGroupPermissions['autoconfirmed']['upload_by_url'] = true;
$wgAllowCopyUploads = true;

(The above example will let all autoconfirmed users upload by url).

[edit] See Also

$wgMaxUploadSize


Language: English  • 日本語
Personal tools
Namespaces
Variants
Actions
Site
Support
Download
Development
Communication
Print/export
Toolbox