I have a private Wiki, which I have updated to version 1.35.
I have activated the extension as follows:
wfLoadExtension( 'VisualEditor' );
$wgDefaultUserOptions['visualeditor-enable'] = 1;
When I try to edit a page I don't get an error message, but the content of the page is not loaded into the editor, but the content of the footer.
URL: /api.php?action=visualeditor&format=json&paction=parse&page=Hauptseite&uselang=de-formal&formatversion=2
Shortened answer:
{ "visualeditor": { result: "success", content: "↵<!DOCTYPE html>↵<html class="client-nojs" lang="de-x-formal" dir="ltr">↵<head>↵<meta charset="UTF-8"/>↵<title>Anmeldung erforderlich – Wiki</title>↵[... more content ...]" } }
"Anmeldung erforderlich" means "Login required".
Does anyone know how I have to configure the Wiki to make the VisualEditor work?