In order to restrict access to the Page Information (for ex. https://mediawiki.my.domain/index.php?title=Main_Page&action=info) for the anonymous users, I tried this:
wfLoadExtension( 'Lockdown' );
$wgSpecialPageLockdown['PageInfo'] = [ 'sysop' ];
$wgSpecialPageLockdown['Info'] = [ 'sysop' ];
but it doesn't work, the page won't be restricted. Does anybody know a solution for this?