]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/mediawiki/templates/default/mw-ext-VisualEditor.inc.php.erb
Merge remote-tracking branch 'tigerfell/pr257'
[chef.git] / cookbooks / mediawiki / templates / default / mw-ext-VisualEditor.inc.php.erb
index a36e5c25f490530060601f4190370cf14dc969c8..2b7dd90ab7bca5cc0c21aef8e3786c25463c4a50 100644 (file)
@@ -1,13 +1,2 @@
 <?php
-$wgVirtualRestConfig['modules']['parsoid'] = array(
-  'url' => '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' );