Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add editextendedconfirmedprotected restrict. level to documentcontrolwiki #3838

Merged
merged 5 commits into from Apr 21, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
11 changes: 11 additions & 0 deletions LocalSettings.php
Expand Up @@ -2657,6 +2657,11 @@
'read' => true,
],
],
'+documentcontrolwiki' => [
'extendedconfirmed' => [
'editextendedconfirmedprotected' => true,
],
],
'+hypopediawiki' => [
'bureaucrat' => [
'bureaucrat' => true,
Expand Down Expand Up @@ -3584,6 +3589,9 @@
'+devwiki' => [
'editinterface',
],
'+documentcontrolwiki' => [
'editextendedconfirmedprotected',
],
'+hypopediawiki' => [
'bureaucrat',
],
Expand Down Expand Up @@ -3640,6 +3648,9 @@
'editrestrictedtemplateprotected',
'editimportprotected',
],
'+documentcontrolwiki' => [
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The + is not needed here since it is already present in config name

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The + is not needed here since it is already present in config name

@joritochip Oh, my understanding is that the + defines configuration settings that are in addition to the default configuration, no?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@joritochip Did you mean the + sign for the $wgAvailableRights variable? If so, then yeah, I see the other wikis do not have that, but I'm not quite sure. Can you clarify that for me? I have also fixed this with this commit (84565fc)

'editextendedconfirmedprotected',
],
'simulatorwiki' => [
'editfragment',
'edittemplate',
Expand Down