On Sun, 21 Nov 2010, Benjamin Lees wrote:
On Sun, Nov 21, 2010 at 9:21 PM, Tech Geek
<techgeek12345(a)gmail.com> wrote:
1. Using Lockdown extension I added the following
in my LocalSettings.php
require_once( "$IP/extensions/Lockdown/Lockdown.php" );
$wgSpecialPageLockdown['RecentChanges'] = array('sysop');
$wgSpecialPageLockdown['Export'] = array('sysop');
With the above I was able to disable the "Export" special page but not the
RecentChanges special page.
The casing on special pages is a bit of a gotcha. You actually need
$wgSpecialPageLockdown['Recentchanges'] = array('sysop');
Since I the the drupal authorization extension, I've been wanting to
disable the User Login page on the wiki--I want people to log in
securely through Drupal, which has modules that handle this well.
So I assume the above with 'Userlogin' ?
Thanks!
--
David Benfell <benfell(a)parts-unknown.org>
http://www.parts-unknown.org/