<?php
-$wgVirtualRestConfig['modules']['parsoid'] = array(
- 'url' => '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' );