X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/51c1fa6a8661fd2377c187575bd10891de423168..6abf28ac8a3c059c4f58a71d4c42f0c146320a87:/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 88487844a..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' );