Manual:$wgCopyUploadsFromSpecialUpload

From mediawiki.org
This page is a translated version of the page Manual:$wgCopyUploadsFromSpecialUpload and the translation is 55% complete.
Files and file uploads: $wgCopyUploadsFromSpecialUpload
Add an interface to Special:Upload to enable uploading from URLs
Introducido en la versión:1.20.0 (Gerrit change 16946; git #8c6c29b3)
Eliminado en la versión:aún se usa
Valores permitidos:(booleano)
Valor predeterminado:false

Detalles

By default, upload by URL, when enabled via $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 $wgAllowCopyUploads set to true and the associated user right upload_by_url.

Ejemplo de uso

This example setup will allow all autoconfirmed users to upload by URL, via Special:Upload or the API. Agrega al final de tu LocalSettings.php :

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

Véase también