X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/6f4175313dccb09cfdfc1a738d9b5cc5a09191bf..cc9bbcf89afcfd13e5e994248f7531a51e280f0c:/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 ed9740571..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,17 +1,2 @@ 'http://localhost:8142' -); -$wgVirtualRestConfig['modules']['parsoid']['forwardCookies'] = true; - -<% if @version >= "1.37" -%> wfLoadExtension( 'VisualEditor' ); -<% else -%> -require_once($IP .'/extensions/VisualEditor/VisualEditor.php'); -<% end -%> - -// Enable by default for everybody -$wgDefaultUserOptions['visualeditor-enable'] = 1; - -// Don't allow users to disable it -// $wgHiddenPrefs[] = 'visualeditor-enable';