Topic on Talk:VisualEditor

Error saving data to server: Empty server response

5
93.125.106.12 (talkcontribs)

Error saving data to server: Empty server response

Hello,

Please help! we have installed new visual editor and parsoid on our wiki, and all user have the problem with articel edititing. when articel have a external link, he cant be saved by users, but not by admins.

How we can enable editing with external links for all default users?

LocalSettings.php:

# The following permissions were set based on your choice in the installer
$wgGroupPermissions['*']['createaccount'] = false; // Registrierung verbieten
$wgGroupPermissions['*']['edit'] = false; // Bearbeitung verbieten
$wgGroupPermissions['*']['read'] = false; // Lesezugriff verbieten
$wgGroupPermissions['*']['createpage'] = false; // Schreibzugriff verbieten
$wgGroupPermissions['*']['upload'] = false; // Dateien hochladen verbieten
$wgGroupPermissions['*']['reupload-shared'] = false; // Ersetzen von bestehenden Dateien verbieten
$wgGroupPermissions['*']['upload_by_url'] =false; // Hochladen durch eingeben einer neuen URL verbieten
$wgGroupPermissions['*']['autocreateaccount'] = true;



$wgVirtualRestConfig['modules']['parsoid'] = array(
  // URL to the Parsoid instance
  // Use port 8142 if you use the Debian package
  'url' => 'http://wiki-aws.cib.de:8142',
  // Parsoid "domain", see below (optional)
'domain' => 'wiki-aws.cib.de',
  // Parsoid "prefix", see below (optional)
// 'prefix' => 'localhost'
);

require_once "$IP/extensions/VisualEditor/VisualEditor.php";
$wgDefaultUserOptions['visualeditor-enable'] = 1;
$wgHiddenPrefs[] = 'visualeditor-enable';
$wgDefaultUserOptions['visualeditor-enable-experimental'] = 1;
$wgDefaultUserOptions['visualeditor-editor'] = "visualeditor";
$wgSessionsInObjectCache = true;
$wgVirtualRestConfig['modules']['parsoid']['forwardCookies'] = true;

Best regards, Vadim

Whatamidoing (WMF) (talkcontribs)

I'm sorry, I can't really help you. But I saw that error message the other day, when my internet connection dropped for a few minutes.

Can your regular editors save a page (with a URL) when they use other editing tools?

93.125.106.12 (talkcontribs)

Hi! Yes, standard mediawiki editor can save a page with a URL

93.125.106.12 (talkcontribs)

Hi,

following settings in Localsettings.php have fixed the problem:

$wgGroupPermissions['emailconfirmed']['skipcaptcha'] = true;

$ceAllowConfirmedEmail = true;

hopefully, it will not bring any new problems now

Whatamidoing (WMF) (talkcontribs)

Thanks for posting the solution! I hope that it helps someone else.

Reply to "Error saving data to server: Empty server response"