r45703 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r45702‎ | r45703 | r45704 >
Date:14:51, 13 January 2009
Author:daniel
Status:deferred
Tags:
Comment:
README: instructions for wgActionLockdown
Modified paths:
  • /trunk/extensions/Lockdown/README (modified) (history)

Diff [purge]

Index: trunk/extensions/Lockdown/README
@@ -93,7 +93,18 @@
9494 group per default). This restriction can not be overridden using the
9595 Lockdown extension.
9696
 97+=== $wgActionLockdown ===
9798
 99+$wgActionLockdown allows you to specify for each actionwhich user groups
 100+have access to it. For example, to limit the use of the history page to
 101+logged in users, use this in LocalSettings.php:
 102+
 103+ $wgActionLockdown['history'] = array('user');
 104+
 105+Note that some actions can not be locked down this way. In particular, it
 106+will not work for the ajax action.
 107+
 108+
98109 === $wgNamespacePermissionLockdown ===
99110
100111 $wgNamespacePermissionLockdown lets you restrict which user groups have

Status & tagging log