Manual:$wgCopyUploadsFromSpecialUpload

From MediaWiki.org
Jump to: navigation, search

Other languages:
Deutsch • ‎English • ‎español • ‎français • ‎italiano • ‎日本語 • ‎polski • ‎português • ‎português do Brasil
Uploads: $wgCopyUploadsFromSpecialUpload
Add an interface to Special:Upload to enable uploading from URLs
Introduced in version: 1.20.0 (Gerrit change 16946; git #8c6c29b3)
Removed in version: still in use
Allowed values: boolean
Default value: false
Other settings: Alphabetical | By function

Details[edit]

By default, upload by URL, when enabled via $wgAllowCopyUploadsManual:$wgAllowCopyUploads, is only possible using the API (or extensions such as UploadWizard). To make the option usable from Special:Upload, you can set this variable to true.

In order to make use of this option, users also need to have the option $wgAllowCopyUploadsManual:$wgAllowCopyUploads set to true and the associated user right upload_by_url.

Example usage[edit]

This example setup will allow all autoconfirmed users to upload by URL, via Special:Upload or the API. Add to the bottom of your LocalSettings.phpManual:LocalSettings.php:

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

See also[edit]