X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/8d3c08fa5ec0a351555df7629083c7f54ad262fb..956ffe2008afb266d5fa00010e642e8af03c48b0:/cookbooks/mediawiki/templates/default/mw-ext-VisualEditor.inc.php.erb?ds=sidebyside 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 66f43fb79..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,10 +1,10 @@ '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;