Advertisement
Guest User

LocalSettings.php

a guest
Mar 3rd, 2019
522
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.74 KB | None | 0 0
  1. # End of automatically generated settings.
  2. # Add more configuration options below.
  3.  
  4. wfLoadExtension( 'VisualEditor' );
  5.  
  6. ## Enable by default for everybody
  7. $wgDefaultUserOptions['visualeditor-enable'] = 1;
  8.  
  9. ## Optional: Set VisualEditor as the default for anonymous users
  10. ## otherwise they will have to switch to VE
  11. ## $wgDefaultUserOptions['visualeditor-editor'] = "visualeditor";
  12.  
  13. ## Don't allow users to disable it
  14. $wgHiddenPrefs[] = 'visualeditor-enable';
  15.  
  16. ## OPTIONAL: Enable VisualEditor's experimental code features
  17. #$wgDefaultUserOptions['visualeditor-enable-experimental'] = 1;
  18. $wgVirtualRestConfig['modules']['parsoid'] = array(
  19. 'url' => 'http://wiki.domain.local:8000',
  20. 'domain' => 'wiki.domain.local'
  21. );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement