Jump to content

Talk:MediaWiki-Docker/Extension/VisualEditor

About this board

Every extension needs to mention checking out the REL1_XX branch

3
Ernstkm (talkcontribs)

I'll update this article to reflect that, but what's the most efficient way of doing that across all the relevant pages? Just Special:ReplaceText, or are there other tricks I'm not aware of? Edit: I think you need to be a sysop to use Special:ReplaceText, so that's out. --Ernstkm (talk) 03:03, 28 August 2023 (UTC)

Whatamidoing (WMF) (talkcontribs)
Ernstkm (talkcontribs)

OK, good idea. Thanks.

Reply to "Every extension needs to mention checking out the REL1_XX branch"
Summary by ZFilipin (WMF)

Updated page with correct instructions.

Physikerwelt (talkcontribs)

I followed the instructions. However, when I try to edit a page visually I receive the following error

{"error":{"code":"apierror-visualeditor-docserver-http-error","info":"Error contacting the Parsoid/RESTBase server: (curl error: 7) Couldn't connect to server","docref":"See http://localhost:8080/w/api.php for API usage. Subscribe to the mediawiki-api-announce mailing list at <https://lists.wikimedia.org/postorius/lists/mediawiki-api-announce.lists.wikimedia.org/> for notice of API deprecations and breaking changes."}}

How can I figure out which url is trying to be contacted?

Physikerwelt (talkcontribs)
ZFilipin (WMF) (talkcontribs)

This page is a draft. I'm pretty sure that you'll not get a working VE after following these steps.

VPuffetMichel (WMF) (talkcontribs)

@Physikerwelt Are you using Docker on a mac? If this is the case, you might want to add

$wgVirtualRestConfig['modules']['parsoid'] = [

'url' => 'http://host.docker.internal:8080' . $wgScriptPath . '/rest.php',

];

This seems to be working for me.

ZFilipin (WMF) (talkcontribs)

It worked for me too! Thanks!

ZFilipin (WMF) (talkcontribs)

I've tested it both on macos and ubuntu, and it's needed in both.

There are no older topics