Page MenuHomePhabricator

Enable "upload by url" feature at zhwiki
Closed, ResolvedPublic

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

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.

Stang 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

$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

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 changed the task status from Open to Stalled.Dec 21 2016, 9:13 PM
Dzahn triaged this task as Medium priority.

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

@WhitePhosphorus can you confirm the status of the discussion/if consensus has reached in that linked discussion? It doesn't look clear to me. It looks to me that the discussion was archived by a bot, and was not properly closed.

For the discussion, It should be considered a consensus has been reached. However, the task is still stalled due to T44473.

Consensus reached hundreds of years ago, removing tag

Boldly move forward since viwiki depolyed this feature ~

Change 785229 had a related patch set uploaded (by Stang; author: Stang):

[operations/mediawiki-config@master] Enable "upload_by_url" feature on zhwiki

https://gerrit.wikimedia.org/r/785229

Stang changed the task status from Stalled to Open.Apr 21 2022, 10:32 PM
Stang claimed this task.
Shizhao changed the task status from Open to Stalled.Apr 27 2022, 7:12 AM
Shizhao subscribed.

"Merge Conflict". This task looks like it needs to wait for T44473?

在T142991#7872921中,@gerritbot写道:

No follow up in T44473 for a pretty long period so... Merge conflict is not a problem as rebase will be performed before merge.

Stang changed the task status from Stalled to Open.May 12 2022, 3:25 PM

Change 785229 merged by jenkins-bot:

[operations/mediawiki-config@master] Enable "upload_by_url" feature on zhwiki

https://gerrit.wikimedia.org/r/785229

(Fake Stashbot):
Mentioned in SAL (#wikimedia-operations) [2022-05-12T20:23:15Z] <brennen@deploy1002> Started scap: Backport for [[gerrit:785229]] Enable "upload_by_url" feature on zhwiki
Mentioned in SAL (#wikimedia-operations) [2022-05-12T20:25:02Z] <brennen@deploy1002> Finished scap: Backport for [[gerrit:785229]] Enable "upload_by_url" feature on zhwiki (duration: 01m 46s)