[Mediawiki-l] $wgHTTPProxy partialy SOLVED

Enrique enrique at banmet.cu
Fri Jun 19 15:07:58 UTC 2009


I have solved partialy the $wgHTTPProxy set to $wgHTTPProxy =
"http://myProxyIP:Port"; but now i don't see images in articles show me
only an empty box in the  place of image, in debug log i see:
Http::request: GET http://commons.wikimedia.org/w/api.php?titles=Image%
3AFuncionTrigonometriaTangente.svg&iiprop=url&iiurlwidth=350&iiurlheight=-1&prop=imageinfo&format=json&action=query
ForeignAPIRepo::getThumbUrl got remote thumb
http://upload.wikimedia.org/wikipedia/commons/thumb/6/66/FuncionTrigonometriaTangente.svg/350px-FuncionTrigonometriaTangente.svg.png
ForeignAPIRepo::getThumbUrlFromCache could not write to thumb path
the permission under images/ directory are 777 , in images/tumb are many
folders with image names but empty.



On vie, 2009-06-19 at 06:55 -0400, Enrique wrote:
> I'm configuring $wgHTTPProxy = true; for CURL request and
> $wgForeignFileRepos to see remote images on my local wikipedia i don't
> know where set the our proxy ip address , because the curl is sending
> request to 0.0.0.1: 
> heres go an lines of my debug log
> 
> Http::request: GET http://commons.wikimedia.org/w/api.php?titles=Image%
> 3APen%C3%ADnsula+ib%C3%A9rica+1030.svg&iiprop=timestamp%7Cuser%7Ccomment
> %7Curl%7Csize%7Csha1%7Cmetadata%
> 7Cmime&prop=imageinfo&format=json&action=query
> Http::request: HTTP return code 0
> Http::request: CURL error code 7: Failed to connect to 0.0.0.1: Invalid
> argument
> FileCache negative MISS for Península_ibérica_1030.svg
> Http::request: GET http://commons.wikimedia.org/w/api.php?titles=Image%
> 3ABurgos+Cathedral.jpg&iiprop=timestamp%7Cuser%7Ccomment%7Curl%7Csize%
> 7Csha1%7Cmetadata%7Cmime&prop=imageinfo&format=json&action=query
> Http::request: HTTP return code 0
> Http::request: CURL error code 7: Failed to connect to 0.0.0.1: Invalid
> argument
> FileCache negative MISS for Burgos_Cathedral.jpg
> 
> 
> 
> 
> 
> 
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l en lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l





More information about the MediaWiki-l mailing list