Topic on Extension talk:Lockdown

Restrict access to "Page Information"

2
S0ring (talkcontribs)

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?

89.145.60.157 (talkcontribs)

These aren't special-Pages, that are actions.

so

$wgActionLockdown['info'] = [ 'user' ];

will restrict the page to user with account

Reply to "Restrict access to "Page Information""