Manual:$wgAllowCopyUploads
From MediaWiki.org
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
Details [edit]
Users also need to have the associated user right 'upload_by_url' before this option is available. By default only administrators (sysops) have this permission. To make the option usable from Special:Upload, you need to set $wgCopyUploadsFromSpecialUpload to true as well.
By default any source location is allowed, but you can whitelist a specific set by using $wgCopyUploadsDomains.
Usage [edit]
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).
See Also [edit]
Language: | English • 日本語 |
---|