[Mediawiki-l] Lockdown.php question
Robin Krahl
me at robin-krahl.de
Wed Nov 24 14:50:26 UTC 2010
Hi Graham,
On 24.11.2010 15:35, Graham wrote:
> $wgSpecialPageLockdown allows you to specify for each special page which
> user groups have access to it. For example, to limit the use of
> Special:Export to logged in users, use this in LocalSettings.php:
>
> $wgSpecialPageLockdown['Export'] = array('user');
Yes; this piece of code restricts access to logged in users – they are
in the group ‘user’. If you e. g. would like to restrict the access to
administrators (so only they are able to export pages), you would have
to replace ‘user’ by ‘sysop’.
Regards,
Robin
--
Robin Krahl || ireas
http://robin-krahl.de
me at robin-krahl.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 286 bytes
Desc: OpenPGP digital signature
Url : http://lists.wikimedia.org/pipermail/mediawiki-l/attachments/20101124/0dc6cac4/attachment.pgp
More information about the MediaWiki-l
mailing list