Skip to content

Commit

Permalink
updated localsettings
Browse files Browse the repository at this point in the history
  • Loading branch information
tuehoang committed Sep 21, 2023
1 parent 3ee8cb3 commit 590097a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions LocalSettings.php
Original file line number Diff line number Diff line change
Expand Up @@ -736,6 +736,13 @@ function loadenv($envName, $default = "") {

wfLoadExtension( 'Lockdown' );

$wgActionLockdown['edit'] = array( 'sysop','bureaucrat' );
$wgActionLockdown['delete'] = array( 'sysop','bureaucrat' );
$wgActionLockdown['move'] = array('sysop','bureaucrat');
$wgActionLockdown['protect'] = array( 'sysop','bureaucrat' );
$wgActionLockdown['history'] = array( 'sysop','bureaucrat' );
$wgActionLockdown['createtalk'] = array('sysop','bureaucrat');

##Test Page Lockdown
$wgSpecialPageLockdown['DeadendPages'] = [ 'user' ];
$wgSpecialPageLockdown['DoubleRedirects'] = [ 'user' ];
Expand Down

0 comments on commit 590097a

Please sign in to comment.