On Mon, Mar 23, 2015 at 7:02 PM, Emmanuel Engelhart <[email protected]> wrote: > Hi Jason > > On 23.03.2015 17:40, Jason J. Evans wrote: >> >> At the National Library of Wales we are now at the stage where we need to >> white-list our domain in order to start testing the Toolset. I have a couple >> of questions at this point. > > > Great :) > >> 1. We would like to link uploads to image handles rather than a URL >> >> Here is an example of an object that re-directs to the catalogue entry >> >> http://hdl.handle.net/10107/1132312 >> >> And a link to a reference image (the version we wish to upload): >> http://hdl.handle.net/10107/1132312-11 >> >> Is this method exceptable? > > > This will probably fail because: > 1 - GWT probably doesn't follow HTTP redirections (although this might be > good if someone can confirm this)
GWToolset will follow the redirect. > 2 - You will have to add both domain names to the white-list and the first > one (handle.net) seems to be pretty generic and the strategy is to allow > only what is absolutely necessary. > > I would tend to recommend to try to get directly links to *.llgc.org.uk and > white-list only this domain. agreed. > >> 2. I have registered with Phabricator in order to request the domain to be >> white-listed. Do a create a new task to make the request? > > > Yes, here an example: > https://phabricator.wikimedia.org/T91927 you can also use this link: https://phabricator.wikimedia.org/maniphest/task/create/?projects=Wikimedia-Site-requests&priority=50&title=Add+domain+to+$wgCopyUploadsDomains&description=Please+add+the+following+domain+to+the+wgCopyUploadsDomains+whitelist,+so+that+I+can+use+GWToolset+to+upload+media+files+from+that+domain.+I+have+provided+at+least+3+example+URLs+to+media+files+that+will+be+uploaded+with+GWToolset.%0A%0A%3Cdomain+name%3E%0A%0A%3Cexample+URL%3E%0A%3Cexample+URL%3E%0A%3Cexample+URL%3E > > A small side remark: In your example, the picture your URL points to suffers > from two weaknesses which will impairs its reusing potential if uploaded: > * The quality is not really good: ~100ppi (better have around 300ppi) > * The format JPG generates automatically a loss of quality. A format like > TIFF (without JPEG compression of course) should be preferred (if possible > at all). > > That said, although Commons is primary interested in high quality pictures, > none of these problems is blocking to upload the pictures. > > Regards > Emmanuel > > -- > Volunteer > Technology, GLAM, Trainings > Zurich _______________________________________________ Glamtools mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/glamtools
