Topic on Project:Support desk

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

4
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 with no error like this on?


Thank you

Geoffrey

GeoffreyHfr (talkcontribs)

Edit :

I have find a workaround to the problem :

1 : I create a page named "Page échantillon"

2 : Rename it "Page echantillon" with a redirection link

3 : Use {{DISPLAYTITLE=Page échantillon}} variable in the wikicode to correct the title


But this solution is quite contraining... If anyone knows how i could create and edit (with the VisualEditor) a page with accents in its title, let me know!

Thank you for your help !

Ammarpad (talkcontribs)

You should file a bug report may be there's a bug somewhere.

GeoffreyHfr (talkcontribs)