Skip to content

Commit

Permalink
updated localsettings
Browse files Browse the repository at this point in the history
  • Loading branch information
tuehoang committed Sep 20, 2023
1 parent 4ba0ef1 commit 6d9ff0a
Showing 1 changed file with 13 additions and 12 deletions.
25 changes: 13 additions & 12 deletions LocalSettings.php
Original file line number Diff line number Diff line change
Expand Up @@ -737,18 +737,19 @@ function loadenv($envName, $default = "") {
wfLoadExtension( 'Lockdown' );

##Test Page Lockdown
$wgSpecialPageLockdown['Export'] = ['user'];
$wgSpecialPageLockdown['ComparePages'] = ['user'];
$wgSpecialPageLockdown['WhatLinksHere'] = ['user'];
$wgSpecialPageLockdown['LonelyPages'] = ['user'];
$wgSpecialPageLockdown['LongPages'] = ['user'];
$wgSpecialPageLockdown['DeadendPages'] = ['user'];
$wgSpecialPageLockdown['BrokenRedirects'] = ['user'];
$wgSpecialPageLockdown['DoubleRedirects'] = ['user'];
$wgSpecialPageLockdown['ProtectedPages'] = ['user'];
$wgSpecialPageLockdown['ApiSandbox'] = ['user'];
$wgSpecialPageLockdown['NewFiles'] = ['user'];
$wgSpecialPageLockdown['MostLinkedFiles'] = ['user'];
$wgSpecialPageLockdown['*'] = ['user'];
#$wgSpecialPageLockdown['Export'] = ['user'];
#$wgSpecialPageLockdown['ComparePages'] = ['user'];
#$wgSpecialPageLockdown['WhatLinksHere'] = ['user'];
#$wgSpecialPageLockdown['LonelyPages'] = ['user'];
#$wgSpecialPageLockdown['LongPages'] = ['user'];
#$wgSpecialPageLockdown['DeadendPages'] = ['user'];
#$wgSpecialPageLockdown['BrokenRedirects'] = ['user'];
#$wgSpecialPageLockdown['DoubleRedirects'] = ['user'];
#$wgSpecialPageLockdown['ProtectedPages'] = ['user'];
#$wgSpecialPageLockdown['ApiSandbox'] = ['user'];
#$wgSpecialPageLockdown['NewFiles'] = ['user'];
#$wgSpecialPageLockdown['MostLinkedFiles'] = ['user'];


$wgActionLockdown['PageHistory'] = ['user'];
Expand Down

0 comments on commit 6d9ff0a

Please sign in to comment.