Page MenuHomePhabricator

Add http://arquivomunicipal2.cm-lisboa.pt to $wgCopyUploadsDomains
Closed, DeclinedPublic

Description

Website of Lisbon Municipal Archives, with a large amount of files out of copyright

Event Timeline

Darwinius raised the priority of this task from to Needs Triage.
Darwinius updated the task description. (Show Details)
Darwinius added a subscriber: Darwinius.

Please clarify this request. Do you wish to have:

zhuyifei1999 changed the task status from Open to Stalled.Dec 3 2015, 3:28 AM
zhuyifei1999 changed the task status from Stalled to Open.Dec 3 2015, 10:01 AM

Per User talk:Darwinius, this task is for the whitelist.

zhuyifei1999 renamed this task from http://arquivomunicipal2.cm-lisboa.pt to Add http://arquivomunicipal2.cm-lisboa.pt to $wgCopyUploadsDomains.Dec 3 2015, 10:01 AM
zhuyifei1999 set Security to None.
Restricted Application added a subscriber: Bawolff. · View Herald TranscriptDec 3 2015, 10:02 AM

@Darwinius are you sure it's http://arquivomunicipal2.cm-lisboa.pt not http://arquivomunicipal.cm-lisboa.pt? The former seems redirected to the latter right now.

Or is it better to whitelist both?

Hello, it will probably be better if I include an example of what I would like to import to the project:

http://arquivomunicipal2.cm-lisboa.pt/xarqdigitalizacaocontent/Imagem.aspx?ID=2108375&Mode=M&Linha=1&Coluna=1

I understand it's not directly an image, but something that brings it up from somewhere else. Do you think it would work here?

Well, if the url isn't an image by itself when the WMF server tries to access them, they probably won't get uploaded.

Is that url redirected from somewhere else? Some image hosting services require the visitor to visit a redirect before the "real" image url can be accessed.

Hi zhuyifei1999, I'm terribly sorry but I can't answer that question, as I don't know the details of that network. That url comes from here:

http://arquivomunicipal2.cm-lisboa.pt/xarqdigitalizacaocontent/PaginaDocumento.aspx?DocumentoID=254703&AplicacaoID=1&Pagina=1&Linha=1&Coluna=1

If you click in the image itself, it will send you to the image properly, with the url I placed above. Maybe the whitelisting of "arquivomunicipal2.cm-lisboa.pt" would be enough?

Hi zhuyifei1999, I'm terribly sorry but I can't answer that question, as I don't know the details of that network. That url comes from here:
http://arquivomunicipal2.cm-lisboa.pt/xarqdigitalizacaocontent/PaginaDocumento.aspx?DocumentoID=254703&AplicacaoID=1&Pagina=1&Linha=1&Coluna=1
If you click in the image itself, it will send you to the image properly, with the url I placed above. Maybe the whitelisting of "arquivomunicipal2.cm-lisboa.pt" would be enough?

Maybe it's for just me, but the image won't load. If you wish, I can submit a patch for the whitelist, but uploading might not work anyways.

Hi zhuyifei1999, if you say it doesn't work for you, then probably it will be useless. Thank you very much for the time you've spent with this, anyway. If I find a way of getting it by way of a proper image url I'll ask again for its inclusion in the whitelist.

zhuyifei1999 closed this task as Declined.Dec 3 2015, 2:14 PM

Until there's some sort of way to access the images server-side.

For some reason that specific image is now failing to show, can you please try this one:

http://arquivomunicipal2.cm-lisboa.pt/xarqdigitalizacaocontent/Imagem.aspx?ID=2108377&Mode=M&Linha=1&Coluna=1 ?

Hmm

I wonder if the site is restricting view with cookies and/or IPs.

Indeed, it ceased to appear for me as well, while all the others are still there without any problem. Something quite strange is happening with those images, maybe it will be better to leave this closed , at least for now. Thank you very much for your patience and time, again.