Page MenuHomePhabricator

Add musees.cg70.fr to $wgCopyUploadsDomains for Commons for GWToolset
Closed, ResolvedPublic

Description

Please add the following domain(s) to the wgCopyUploadsDomains whitelist:
http://musees.cg70.fr

This is part of a GLAM batch upload using the GlamWiki Toolset
https://commons.wikimedia.beta.wmflabs.org/wiki/Special:GWToolset

This supersedes bug:61378

I’ll submit a patch in a sec.


Version: wmf-deployment
Severity: enhancement

Details

Reference
bz63449

Event Timeline

bzimport raised the priority of this task from to Normal.
bzimport set Reference to bz63449.
JeanFred created this task.Apr 2 2014, 9:56 PM

Given that gwtoolset is severely limitted to who can use it, could we just make it ignore the whitelist, or would that be a big no no? (Asked to nobody in particular)

Change 123459 had a related patch set uploaded by Jean-Frédéric:
Add Musées de la Haute-Saône to wgCopyUploadsDomains

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

Sorry to be bugging, but could this be merged soonish? Our partners are operating on a very tight schedule here, so we need to get things started in the coming week(s).

Change 123459 merged by jenkins-bot:
Add Musées de la Haute-Saône to wgCopyUploadsDomains

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

Thanks Roan for deploying this.

We encountered the following error though:

Copy uploads are not available from this domain. original URL: http://musees.cg70.fr/wikimedia/2006/DV5_M0354_2006_7/DV5_M0354_2006_7_tif/M0354_2-047-57_1.tif evaluated URL: http://musees.cg70.fr/wikimedia/2006/DV5_M0354_2006_7/DV5_M0354_2006_7_tif/M0354_2-047-57_1.tif

(on the Beta cluster)

Does that mean that http://musees.cg70.fr/* does not get whitelisted by *.musees.cg70.fr?

I followed the way other domain names were whitelisted, assuming it was the right way to do it...

(Reopening for the discussion, please let me know if this is not the right venue).

(In reply to Jean-Fred from comment #5)

Thanks Roan for deploying this.

We encountered the following error though:

Copy uploads are not available from this domain. original URL:
http://musees.cg70.fr/wikimedia/2006/DV5_M0354_2006_7/DV5_M0354_2006_7_tif/
M0354_2-047-57_1.tif evaluated URL:
http://musees.cg70.fr/wikimedia/2006/DV5_M0354_2006_7/DV5_M0354_2006_7_tif/
M0354_2-047-57_1.tif

(on the Beta cluster)

Does that mean that http://musees.cg70.fr/* does not get whitelisted by
*.musees.cg70.fr?

Possibly. In lots of contexts this would whitelist foo.musees.cg70.fr, but not plain musees.cg70.fr without a subdomain (havent double checked what gwtoolset actually does). You probably want to whitelist just musees.cg70.fr

I followed the way other domain names were whitelisted, assuming it was the
right way to do it...

(Reopening for the discussion, please let me know if this is not the right
venue).

This is the correct venue

Change 124754 had a related patch set uploaded by Jean-Frédéric:
Add Musées de la Haute-Saône to wgCopyUploadsDomains

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

Change 124754 merged by jenkins-bot:
Add Musées de la Haute-Saône to wgCopyUploadsDomains

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

hashar added a comment.Apr 9 2014, 9:20 AM

I have deployed Jean-Frédéric change on the cluster, though slightly tweaked it to allow both *.musees.cg70.fr and musees.cg70.fr.

Let me now on IRC (hashar) if there is anything needed.