Topic on Talk:Parsoid

VisualEditor : Error Parsoid/RESTBase server (HTTP 500) when edit page with accents in title

1
Summary by GeoffreyHfr
GeoffreyHfr (talkcontribs)

Hi guys,

I'm having some issues when i try to edit pages with title containing accents (like é è ...) using the VisualEditor.

I have not issue when using the "wikicode" editor.

The exact error is "Error contacting the Parsoid/RESTBase server (HTTP 500)" but i'm not using the RESTBased VisualEditor.

The Wiki is private and running on an IIS Server. I am using MediaWiki 1.35, with the default version of VisualEditor.

The wiki's content is writen in Frensh so we use plenty of accents in our words and this bug quite annoying.

I have activated the following Extensions :

wfLoadExtension( 'ParserFunctions' );

wfLoadExtension( 'Scribunto' );

wfLoadExtension( 'TemplateData' );

wfLoadExtension( 'TemplateStyles' );

wfLoadExtension( 'VisualEditor' );

wfLoadExtension( 'WikiEditor' );

$wgScribuntoDefaultEngine = 'luastandalone';

Trying to fixe the problem i have tried the following user permissions

$wgGroupPermissions['user']['writeapi'] = true;

$wgGroupPermissions['*']['writeapi'] = true;

if ( !isset( $_SERVER['REMOTE_ADDR'] ) OR $_SERVER['REMOTE_ADDR'] == '127.0.0.1' ) {

   $wgGroupPermissions['*']['read'] = true;

   $wgGroupPermissions['*']['edit'] = true;

   $wgGroupPermissions['*']['writeapi'] = true;

}

and tried the options :

$wgDefaultUserOptions['visualeditor-enable'] = 1;

$wgDefaultUserOptions['visualeditor-editor'] = "visualeditor";

$wgHiddenPrefs[] = 'visualeditor-enable';

$wgDefaultUserOptions['visualeditor-enable-experimental'] = 1;

Did anybody cross similar error and have a fix to this? Is anyone running a wiki in Frensh or Spanish (for example) with no error like this?

Thank you

Geoffrey