IT/Software/Mediawiki/Extensions/Visual Editor: Difference between revisions

From msgwiki
< IT‎ | Software‎ | Mediawiki‎ | Extensions
Jump to navigation Jump to search
Access restrictions were established for this page. If you see this message, you have no access to this page.
No edit summary
No edit summary
Line 2: Line 2:


*The Visual editor is the editor you see when you click edit on a msgwiki page.
*The Visual editor is the editor you see when you click edit on a msgwiki page.
** You can always click "Edit Source" to see the actual code on the page.
*https://www.mediawiki.org/wiki/Extension:VisualEditor
*https://www.mediawiki.org/wiki/Extension:VisualEditor


Line 7: Line 8:


*You can download the tarball [[mediawikiwiki:Special:ExtensionDistributor/VisualEditor|here]].
*You can download the tarball [[mediawikiwiki:Special:ExtensionDistributor/VisualEditor|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.
*Add the following to your LocalSettings.php to enable.



Revision as of 13:54, 4 February 2020

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');