X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/5ab2fa964268ac233bcdf90a18f9c6bfb22f027a..34666b81c1ff78ac49e2afb85f6cabf8742dfb4c:/cookbooks/mediawiki/templates/default/mw-ext-VisualEditor.inc.php.erb diff --git a/cookbooks/mediawiki/templates/default/mw-ext-VisualEditor.inc.php.erb b/cookbooks/mediawiki/templates/default/mw-ext-VisualEditor.inc.php.erb index 58209d566..a36e5c25f 100644 --- a/cookbooks/mediawiki/templates/default/mw-ext-VisualEditor.inc.php.erb +++ b/cookbooks/mediawiki/templates/default/mw-ext-VisualEditor.inc.php.erb @@ -1,13 +1,13 @@ 'http://<%= @mediawiki[:name] %>:8142' + 'url' => 'http://localhost:8142' ); $wgVirtualRestConfig['modules']['parsoid']['forwardCookies'] = true; -require_once "$IP/extensions/VisualEditor/VisualEditor.php"; +require_once($IP .'/extensions/VisualEditor/VisualEditor.php'); // Enable by default for everybody -// $wgDefaultUserOptions['visualeditor-enable'] = 1; +$wgDefaultUserOptions['visualeditor-enable'] = 1; // Don't allow users to disable it // $wgHiddenPrefs[] = 'visualeditor-enable';