IT/Software/Mediawiki/Extensions/Visual Editor

From msgwiki
< IT‎ | Software‎ | Mediawiki‎ | Extensions
Revision as of 13:58, 4 February 2020 by Nathan (talk | contribs)
Jump to navigation Jump to search

About

Installation

  • You can download the tarball here.
    • Make sure that you match the visual editor to the version of MediaWiki that you are running
  • Add the following to your LocalSettings.php to enable.
wfLoadExtension( 'VisualEditor' );
  • Add the following line to allow everyone to use the visual editor.
$wgDefaultUserOptions['visualeditor-enable'] = 1;
  • Add the following line to tell the Visual Editor where to find the parsoid.
$wgVirtualRestConfig['modules']['parsoid'] = array('url' => 'http://localhost:8000');


Configuring parsoid

  • Follow the instructions here to install the parsoid.
  • Open the file /etc/mediawiki/parsoid/config.yaml
  • Find the uri line and change to
uri: 'https://msgwiki.msgeducation.com/api.php'
  • Next comment out the domain line and then save and exit.