IT/Software/Mediawiki/Extensions/Visual Editor: Difference between revisions
Access restrictions were established for this page. If you see this message, you have no access to this page.
mNo edit summary |
No edit summary |
||
Line 14: | Line 14: | ||
$wgDefaultUserOptions['visualeditor-enable'] = 1; | $wgDefaultUserOptions['visualeditor-enable'] = 1; | ||
* Add the following line to tell the Visual Editor where to find the parsoid. | |||
$wgVirtualRestConfig['modules']['parsoid'] = array('url' => '<nowiki>http://localhost:8000'</nowiki>); |
Revision as of 13:51, 4 February 2020
About
- The Visual editor is the editor you see when you click edit on a msgwiki page.
- https://www.mediawiki.org/wiki/Extension:VisualEditor
Installation
- You can download the tarball here.
- 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');