Manuel:$wgCopyUploadsFromSpecialUpload

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Manual:$wgCopyUploadsFromSpecialUpload and the translation is 36% complete.

Other languages:
Deutsch • ‎English • ‎español • ‎français • ‎italiano • ‎polski • ‎português • ‎português do Brasil • ‎中文 • ‎日本語
Téléversements: $wgCopyUploadsFromSpecialUpload
Add an interface to Special:Upload to enable uploading from URLs
Introduit dans la version :1.20.0 (Gerrit change 16946; git #8c6c29b3)
Retiré dans la version :Encore utilisé
Valeurs autorisées :(booléen)
Valeur par défaut :false
Autres paramètres : Alphabétique | Par Fonction

Détails

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.

Example usage

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;

Voir aussi