Manual:$wgCopyUploadsFromSpecialUpload/pt-br

Category:MediaWiki configuration settings/pt-br#CopyUploadsFromSpecialUploadCategory:MediaWiki configuration settings introduced in version 1.20.0/pt-br#CopyUploadsFromSpecialUploadCategory:MediaWiki configuration settings still in use/pt-br#CopyUploadsFromSpecialUploadCategory:Upload variables/pt-br#CopyUploadsFromSpecialUpload
Files and file uploads: $wgCopyUploadsFromSpecialUpload
Add an interface to Special:Upload to enable uploading from URLs
Introduzida na versão:1.20.0 (Gerrit change 16946; git #8c6c29b3)
Removida na versão:Ainda em uso
Valores permitidos:(booleano)
Valor padrão:false

Detalhes

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.

Exemplo de uso

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.php:

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

Ver também

Category:MediaWiki configuration settings/pt-br Category:MediaWiki configuration settings introduced in version 1.20.0/pt-br Category:MediaWiki configuration settings still in use/pt-br Category:Upload variables/pt-br