X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/4ecdc40fe6d4dc5006c60aa7be68cca760985e8c..abe750320d58b744400f97161741e4ab26711034:/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 a36e5c25f..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://localhost: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' );