Topic on Extension talk:VisualEditor

VisualEditor, article with a lot of Math tags at MediaWiki 1.35 > Timeout

2
Spas.Z.Spasov (talkcontribs)

Hello, few months ago, I've switched our private wiki to version 1.35. Yesterday I found, when I'm trying to edit a relatively large page, that contains a lot of math tags, I'm receiving the message:

Error contacting the Parsoid/RESTBase server: (curl error: 28) Timeout was reached

On small pages everything is fine. In order to solve this problem, I've set $wgHTTPTimeout = 60; (the default value is 25 seconds). In this way I can edit a little bigger pages but the problem remains! Bigger values (like 720) doesn't change anything. The only change is in the error message, it changes to:

The server did not respond within the expected time.

I've tried to change almost all Timeout variables that I found at MediaWiki's documentation with no success, including $wgMathLaTeXMLTimeout, $wgMathMathMLTimeout and $wgMathConcurrentReqs.

Then I've copy an example content here within my user's page: User:Spas.Z.Spasov/math-test. You can see VE works as it is expected here.

So, I think the problem is that, because by default Extension:Math uses the MediaWiki's Mathoid server, but external users like us have low priority and the responses are slow. Setup own Mathoid server is too complicated task, due to lack of up-to-date documentation. But I think the problem is due to something hard codded in VisualEditor, because with the previous version, that uses Parsoid.js, despite of the long time for the response everything was fine.

Could you please guide me what I could tray to change in the VE's code in order to solve this issue?

Spas.Z.Spasov (talkcontribs)
Reply to "VisualEditor, article with a lot of Math tags at MediaWiki 1.35 > Timeout"