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
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/FuncionTrigonometri... 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@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
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
$wgHTTPProxy wants the address/port of the proxy, not a boolean saying you're using one.
Q wrote:
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
$wgHTTPProxy wants the address/port of the proxy, not a boolean saying you're using one.
Imagine how much more difficult it would be if people used names like:
$wgHTTPProxyPort or $wgHTTPProxyAddr or $wgHTTPProxyIPAddr or $wgUseHTTPProxy
so that the name represented its use. Man, that would really screw things up!
Mike
mediawiki-l@lists.wikimedia.org