X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/2409b45cd2d01d8047e98d3d4b896c28f8291cb8..3e9826e33150fe90d73676118a643b642d7736cc:/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 4fff9b09b..2b7dd90ab 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,2 @@ 'http://<%= @site %>:8142' -); -$wgVirtualRestConfig['modules']['parsoid']['forwardCookies'] = true; - -require_once "$IP/extensions/VisualEditor/VisualEditor.php"; - -// Enable by default for everybody -$wgDefaultUserOptions['visualeditor-enable'] = 1; - -// Don't allow users to disable it -// $wgHiddenPrefs[] = 'visualeditor-enable'; +wfLoadExtension( 'VisualEditor' );