Page MenuHomePhabricator

Enable $wgAllowCopyUploads for pawiki
Open, NormalPublic

Description

Enable $wgAllowCopyUploads and allow autoconfirmed user to upload the image by URL for pa.wikipedia. The config will be like testwiki have. (As described below)

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

Village pump discussion link:- https://pa.wikipedia.org/wiki/ਵਿਕੀਪੀਡੀਆ:ਸੱਥ/ਪੁਰਾਣੀ_ਚਰਚਾ_20#English_Wikipedia_non_free_Image_Importer

Event Timeline

Restricted Application added a project: User-Jayprakash12345. · View Herald TranscriptMar 2 2019, 6:38 PM
Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Reedy added a subscriber: Reedy.Mar 2 2019, 6:57 PM

Why do you need/want to copyupload from WMF wikis?

Why do you need/want to copyupload from WMF wikis?

There are non-free media like films poster on enwiki. which we can't upload on commons. As a Wikipedian when we need non-free media on our language wiki. we download the image from enwiki and then upload on our wiki. also we can't import file by Special:Import. this will take time and energy of wikipedians. I have created ImageImporter.js script for Wikipedians in a response of Tool_for_transferring_non_free_fair_use_media. So we need this config.

Maybe Extension:FileImporter could be enabled on pawiki as a solution? TCB-Team input required for that maybe.

I don't think so. I have tested my script on testwiki. It is working fine. and importing the image as well. I will use the same config for pawiki as testwiki have. According to T196732#4409352 only ops would prefer for that to make the storage backend more intelligent. But one of mention task is from 2012. which mean ops is not working on that. And also storage should not be a problem. because of all wiki upload/will upload non-free media as it can't be upload on commons. This config will only make the process easier for Wikipedians.

Maybe Extension:FileImporter could be enabled on pawiki as a solution? TCB-Team input required for that maybe.

I have contacted them on #wikimedia-de-tech IRC last month. I talked with @Addshore. He is saying that Extension:FileImporter/Exporter is not ready for importing media Wikipedia to Wikipedia. He also mentions one task. But they are not actively working. And I am unsure that Extension:FileImporter/Exporter is providing smart storage system.

Change 495446 had a related patch set uploaded (by Jayprakash12345; owner: Jayprakash12345):
[operations/mediawiki-config@master] Enable $wgAllowCopyUploads for pawiki

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

Jayprakash12345 added a comment.EditedMar 11 2019, 10:59 AM

Schedule for 11:00–12:00 UTC Monday, March 11

495446 was scheduled for EU SWAT today, but I didn't deploy it since there is some opposition to it here. Please reach consensus.

@Reedy @MarcoAurelio Sir, Please express your concern with guidance. I already answered why it needs and also it is working fine for testwiki which uses the same cluster as pawiki uses.

Change 495446 had a related patch set uploaded (by Jayprakash12345; owner: Jayprakash12345):
[operations/mediawiki-config@master] Enable $wgAllowCopyUploads for pawiki

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