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

T10924: Add some ApprovedRevs settings #5269

Merged
merged 4 commits into from
Dec 28, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 45 additions & 0 deletions ManageWikiSettings.php
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,51 @@
'help' => 'Uncheck this box to require new revisions to be manually approved even if made by an administrator',
'requires' => [],
],
'egApprovedRevsBlankIfUnapproved' => [
'name' => 'Display unapproved pages as blank',
'from' => 'approvedrevs',
'type' => 'check',
'overridedefault' => false,
'section' => 'anti-spam',
'help' => 'Make pages without approved revisions show up as blank',
'requires' => [],
],
'egApprovedRevsBlankFileIfUnapproved' => [
'name' => 'Do not display unapproved images',
'from' => 'approvedrevs',
'type' => 'check',
'overridedefault' => false,
'section' => 'anti-spam',
'help' => 'Makes files without approved versions not show up when embedded',
'requires' => [],
],
'egApprovedRevsFileAutomaticApprovals' => [
'name' => 'Automatically approve new files',
'from' => 'approvedrevs',
'type' => 'check',
'overridedefault' => true,
'section' => 'anti-spam',
'help' => 'Uncheck this to require new files to be manually approved even if made by an administrator',
'requires' => [],
],
'egApprovedRevsFileShowApproveLatest' => [
'name' => 'Show a link to approve the latest revision in Special:ApprovedRevs',
'from' => 'approvedrevs',
'type' => 'check',
'overridedefault' => false,
'section' => 'anti-spam',
'help' => 'This option makes a link show up on Special:ApprovedRevs to approve the latest revision of a file',
'requires' => [],
],
'egApprovedRevsShowNotApprovedMessage' => [
'name' => 'Show not approved message',
'from' => 'approvedrevs',
'type' => 'check',
'overridedefault' => false,
'section' => 'anti-spam',
'help' => 'This option makes a message appear on unapproved revisions indicating this revision has not been approved',
'requires' => [],
],
'wgFlaggedRevsProtection' => [
'name' => 'Flagged Revs Protection',
'from' => 'flaggedrevs',
Expand Down