On 22 December 2016 at 16:03, Daniel Barrett <[email protected]> wrote:

> I was able to diagnose this by watching the network traffic between
> MediaWiki and parsoid
> using Chrome’s developer tools (the "Network" tab). There it was... the
> error message
> "Call to undefined function curl_init()."
>
> I’m going to file a bug report that the user-visible error message in this
> case can
> perhaps be Improved. Currently the message is just a JavaScript alert that
> says:
>
>   examplewiki.com replied: "http"
>
Yeah, that's a bit broken and should show that the error code was 500 -
https://phabricator.wikimedia.org/T152429
In addition to that (which is much more general), for this specific
dependency, we could also have the VE API code check whether the function
exists, and if not throw a particular error that can be shown nicely by the
client. A bug report for that would be good, thanks.

-- 
Alex Monk
VisualEditor/Editing team
https://wikimediafoundation.org/wiki/User:Alex_Monk_(WMF)
_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to