Topic on Extension talk:Math

Setup Proxy for curl used by Math extension

1
Cheellaz (talkcontribs)

I am fairly new to MediaWiki, please be kind :)


I have the Math extension installed (version 3.0.0) with the recommended output mode 'mathml', using Mathoid as the default service. My MediaWiki version is 1.39.4.

I receive "Fatal exception of type "MWException" when loading my wiki's page Special:MathStatus (e.g. Special:MathStatus)


In my MediaWiki log I read:

[Math] Start rendering "x^2+\text{a sample Text}" in mode mathml

[http] HTTP start: POST https://wikimedia.org/api/rest_v1/media/math/check/tex

[http] Error fetching URL "https://wikimedia.org/api/rest_v1/media/math/check/tex": (curl error: 28) Timeout was reached

[Math] Tex check failed


It looks like I have a connection issue to the Mathoid service hosted by wikimedia.org.


I must use proxy for all external webrequests in the network my Wiki is hosted.

I have set option $wgHTTPProxy in my Wiki's LocalSettings.php and confirmed this setting took affect by enabling images on my wiki hosted by InstantCommons.

The manual pages for $wgHTTPProxy (Manual:$wgHTTPProxy) states that it sets the proxy for curl.


Does this setting also apply to curl used by the Math extension?


Or do I have to separately configure a proxy for curl used by Math extension? How can I do this?

Reply to "Setup Proxy for curl used by Math extension"