]> git.openstreetmap.org Git - chef.git/blob - cookbooks/mediawiki/templates/default/mw-ext-VisualEditor.inc.php.erb
Bump test-kitchen from 2.11.2 to 2.12.0
[chef.git] / cookbooks / mediawiki / templates / default / mw-ext-VisualEditor.inc.php.erb
1 <?php
2 $wgVirtualRestConfig['modules']['parsoid'] = array(
3   'url' => 'http://localhost:8142'
4 );
5 $wgVirtualRestConfig['modules']['parsoid']['forwardCookies'] = true;
6
7 require_once($IP .'/extensions/VisualEditor/VisualEditor.php');
8
9 // Enable by default for everybody
10 $wgDefaultUserOptions['visualeditor-enable'] = 1;
11
12 // Don't allow users to disable it
13 // $wgHiddenPrefs[] = 'visualeditor-enable';