System information (old and new versions, tested with both):
OS: Windows Server 2008, Windows Server 2012
Mediawiki: 1.27.3
PHP: 5.6.30
MySQL: 5.7.18
VisualEditor: 0.1.0
nodejs: v8.9.1
Parsoid: 0.8.0
OS: Windows Server 2012, Windows Server 2016
Mediawiki: 1.33.0
PHP: 7.3.4
MySQL: 5.7.18
VisualEditor: 0.1.1
nodejs: v8.9.1
Parsoid: 0.10.0
Symptoms:
- While trying to edit a page with VisualEditor, I received the following error:
Error loading data from server: HTTP 0. Would you like to retry?
The page itself is not very large (14 KB in wikicode).
- Using direct corresponding api call in the browser bar (http://xxx/api.php?action=visualeditor&format=json&paction=parse&page=...) returns a result after almost one minute;
- I found the issue has to do with 30 seconds ajax timeout in \mediawiki-1.27.3\resources\src\mediawiki\api.js . Changing the timeout to one minutes fixed the issue
Questions:
- There are 200 media links in the test page. From looking at the parsoid logs, it looks as if most of the time is spent grabbing image information for each file from the Mediawiki database. Is the parsoid response time I am experiencing (~ 60 seconds) what one would expect?
- Any way of making it faster (e.g., setting ParsoidConfig.prototype.fetchImageInfo to false)?
- Any way to provide better information as to what is happening to the user?
Thanks in advance for any answers.
