Skip to content

Commit

Permalink
T10924: Add some ApprovedRevs settings (#5269)
Browse files Browse the repository at this point in the history
Fixes T10924
  • Loading branch information
redbluegreenhat authored Dec 28, 2023
1 parent 43439c2 commit 6477d3b
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions ManageWikiSettings.php
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,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

0 comments on commit 6477d3b

Please sign in to comment.