Note:3: Difference between revisions

From notes
No edit summary
No edit summary
Line 1: Line 1:
{{Note
{{Note
|title=Installing Visual Editor
|title=Installing Visual Editor
|tags=Visual Editor
|tags=Visual Editor, Parsoid
}}
}}
==Instructions==
* Download Visual Editor
* Download Visual Editor
** https://www.mediawiki.org/wiki/Extension:VisualEditor#Download
** https://www.mediawiki.org/wiki/Extension:VisualEditor#Download
Line 9: Line 10:
* Configure Visual Editor
* Configure Visual Editor
** https://www.mediawiki.org/wiki/Extension:VisualEditor#Basic_configuration_for_MediaWiki-VisualEditor
** https://www.mediawiki.org/wiki/Extension:VisualEditor#Basic_configuration_for_MediaWiki-VisualEditor
==Configuration Summary==
<pre>
$wgVirtualRestConfig['modules']['parsoid']['domain'] = 'localhost';
wfLoadExtension( 'VisualEditor' );
$wgDefaultUserOptions['visualeditor-enable'] = 1;
$wgHiddenPrefs[] = 'visualeditor-enable';
</pre>


==Issues==
==Issues==

Revision as of 06:26, 3 September 2017

Author
Created 2 September 2017 22:03:10
Last Modified 23 August 2018 13:44:50
Tags Parsoid, Visual Editor

Instructions

Configuration Summary

$wgVirtualRestConfig['modules']['parsoid']['domain'] = 'localhost';
wfLoadExtension( 'VisualEditor' );
$wgDefaultUserOptions['visualeditor-enable'] = 1;
$wgHiddenPrefs[] = 'visualeditor-enable';

Issues

  • Possible errors at https://www.mediawiki.org/wiki/Manual:$wgVirtualRestConfig:
    • I believe that the trailing slashes in the URLs is an error, but I need confirmation.
    • "domain" does not actually appear to be optional. It is not getting set to the domain from the URL when it is not specified.
    • When it says, "These are the default values when Parsoid is registered as a REST service, used when some keys are not defined.", it implies that this value is set somewhere when Parsoid is installed, but I don't believe that is the case.
  • Adding a wiki to a wiki farm requires editing /etc/mediawiki/parsoid/config.yaml.