Skip to content

Commit

Permalink
Enable VE Edit Check
Browse files Browse the repository at this point in the history
  • Loading branch information
alistair3149 committed Jan 4, 2025
1 parent cf9307c commit 90f8722
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions config/LocalSettings.php
Original file line number Diff line number Diff line change
Expand Up @@ -1144,14 +1144,15 @@
*
* @see https://github.com/wikimedia/mediawiki-extensions-VisualEditor
*/
// Enable new source editor
// Enable Edit Check
// @see https://www.mediawiki.org/wiki/Edit_check
$wgVisualEditorEditCheck = true;
// Enable 2017 Wikitext Editor
// @see https://www.mediawiki.org/wiki/2017_wikitext_editor
$wgVisualEditorEnableWikitext = true;
// Enable visual diff
$wgVisualEditorEnableDiffPage = true;
$wgVisualEditorUseSingleEditTab = true;
$wgVisualEditorEnableVisualSectionEditing = true;
$wgDefaultUserOptions['visualeditor-enable'] = 1;
$wgDefaultUserOptions['visualeditor-editor'] = 'visualeditor';
// Default to new source editor
$wgDefaultUserOptions['visualeditor-newwikitext'] = 1;
// It is enabled by default, no need to add it to preferences
Expand Down

0 comments on commit 90f8722

Please sign in to comment.