[Mediawiki-l] How to Hide User List

Ross Xu rossxunix at yahoo.ca
Tue Jun 8 21:02:23 UTC 2010


That does the trick!
Thanks a lot, Benjamin and Platonides.
 
Ross Xu

--- On Wed, 6/9/10, Benjamin Lees <emufarmers at gmail.com> wrote:


From: Benjamin Lees <emufarmers at gmail.com>
Subject: Re: [Mediawiki-l] How to Hide User List
To: "MediaWiki announcements and site admin list" <mediawiki-l at lists.wikimedia.org>
Received: Wednesday, June 9, 2010, 3:15 AM


On Mon, Jun 7, 2010 at 12:01 PM, Ross Xu <rossxunix at yahoo.ca> wrote:

> Thanks Platonides.
> The Lockdown extension seems not applying to the Special:ListUsers page. It
> works well with its example which is the Special:Export page. That's saying
> ...
> $wgSpecialPageLockdown['Export'] = array('user'); works well (the example
> in the README).
> $wgSpecialPageLockdown['ListUsers'] = array('user'); doesn't work.
> Anonymous users can still see the user list.
>
You need to use $wgSpecialPageLockdown['Listusers'] = array('user');
Special:ListUsers is actually Special:Listusers internally; it's just
aliased to appear camelcased.
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l at lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l




More information about the MediaWiki-l mailing list