Page MenuHomePhabricator

Enable "upload by url" feature at zhwiki
Open, Stalled, NormalPublic

Description

Per local discussion, please enable the "upload by url" feature. Autoconfirmed user should be able to upload files from url in Special:upload, and they could only upload files inside upload.wikimedia.org. Configuration file can be seen below:

$wgGroupPermissions['autoconfirmed']['upload_by_url'] = true; 
$wgAllowCopyUploads = true; 
$wgCopyUploadsFromSpecialUpload = true; 
$wgCopyUploadsDomains = array( 'upload.wikimedia.org' );

Thanks for help.

Event Timeline

Cosine02 created this task.Aug 15 2016, 1:50 PM
Restricted Application added subscribers: JEumerus, Matanya, Aklapper. · View Herald TranscriptAug 15 2016, 1:50 PM

This has been in the Village Pump for about two days. Please give the discussion more time and land this after two weeks or so (Aug 27?). Thanks.

Cosine02 changed the task status from Open to Stalled.Aug 15 2016, 2:30 PM

Sorry to forget so...Maybe on hold for one week is ok.

$wgCopyUploadsDomains = array( 'upload.wikimedia.org' );

Won't work at all. See T44473 T130695

Cwek added a subscriber: Cwek.Aug 17 2016, 3:18 AM
Cwek added a comment.EditedSep 1 2016, 6:54 AM

$wgCopyUploadsDomains = array( 'upload.wikimedia.org' );

Won't work at all. See T44473 T130695

Seem it works?T130695#2587826
Can the $wgCopyUploadsDomains params be used now?

Cwek changed the task status from Stalled to Open.Sep 1 2016, 6:55 AM
Dzahn added a subscriber: Dzahn.Sep 1 2016, 2:15 PM

Blocked on Ops? Isn't this more "Waiting for MW deployment"?

There is still the question to get ops green light for upload.wikimedia.org copy by url

Dzahn added a subscriber: faidon.

re-adding Operations because of "There is still the question to get ops green light for upload.wikimedia.org copy by url" question. @faidon because i saw T44473#2587810 . I guess his comment still stands

Dzahn triaged this task as Normal priority.Dec 21 2016, 9:13 PM
Dzahn changed the task status from Open to Stalled.

I wonder if this function is feasible, as I saw on wikimedia commons, a whitelist is given for url-upload via Upload form.