https://bugzilla.wikimedia.org/show_bug.cgi?id=43566

--- Comment #5 from chaos <[email protected]> ---
(In reply to comment #4)
> (In reply to comment #3)
> > I have the same problems on the latest VE and Parsoid,too.
> > could someone help me?
> Could you tell us:
> * What $wgVisualEditorParsoidURL and $wgVisualEditorParsoidPrefix are set to
> in
> your LocalSettings.php
> * the contents of Parsoid's localsettings.js file
> * where Parsoid is running

Here is my LocalSettings.php

require_once("$IP/extensions/VisualEditor/VisualEditor.php");

// Allow using VisualEditor in the main namespace only (default)
$wgVisualEditorNamespaces = array( NS_MAIN );

// Enable by default for everybody
$wgDefaultUserOptions['visualeditor-enable'] = 1;

// Don't allow users to disable it
$wgHiddenPrefs[] = 'visualeditor-enable';

$wgVisualEditorParsoidURL = 'http://localhost:8000/';


And my localsettings.js:

exports.setup = function( config, env ) {
        // The URL here is supposed to be your MediaWiki installation root
        env.setInterwiki( 'localhost', 'http://localhost/wiki' );

        // Use the PHP preprocessor to expand templates via the MW API
        env.usePHPPreProcessor = false;
};

// Use selective serialization
exports.useSelser = false;

I run the Parsoid in the background using node on my own server.

Thanks!

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to