Skip to content

Commit

Permalink
T13079: Add $wgCreatePageEditExisting and $wgCreatePageUseVisualEditor (
Browse files Browse the repository at this point in the history
#5781)

Fixes T13079
  • Loading branch information
BlankEclair authored Jan 14, 2025
1 parent 85adf7a commit 7a3648d
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
8 changes: 8 additions & 0 deletions LocalSettings.php
Original file line number Diff line number Diff line change
Expand Up @@ -804,6 +804,14 @@
'default' => false,
],

// Create Page
'wgCreatePageEditExisting' => [
'default' => false,
],
'wgCreatePageUseVisualEditor' => [
'default' => false,
],

// CreatePageUw
'wgCreatePageUwUseVE' => [
'default' => false,
Expand Down
18 changes: 18 additions & 0 deletions ManageWikiSettings.php
Original file line number Diff line number Diff line change
Expand Up @@ -1028,6 +1028,24 @@
'help' => 'Whether to expand templates of the preloaded text.',
'requires' => [],
],
'wgCreatePageEditExisting' => [
'name' => 'Create Page Edit Existing Pages',
'from' => 'Create Page',
'type' => 'check',
'overridedefault' => false,
'section' => 'editing',
'help' => 'If enabled, existing pages will be edited instead of viewed.',
'requires' => [],
],
'wgCreatePageUseVisualEditor' => [
'name' => 'Create Page Use VisualEditors',
'from' => 'Create Page',
'type' => 'check',
'overridedefault' => false,
'section' => 'editing',
'help' => 'If enabled, VisualEditor will be used for editing.',
'requires' => [],
],
'wgCreatePageUwUseVE' => [
'name' => 'CreatePageUw Use VisualEditor',
'from' => 'createpageuw',
Expand Down

0 comments on commit 7a3648d

Please sign in to comment.