am 01.03.2009 23:36 schrieb Platonides:
> Peter Velan wrote:
>>>> ... to return a FALSE if called with which arguments? Could you please
>>>> declare it with more detail?
>>> Yes. Add if ($ns == -1) return false; before the return true.
>>
>> Hmm now even the sysop has no chance to open a special page :-(
>
> Whoops. Use instead.
> if ($ns == -1) return $user->isAllowed("specialpages");
>
> And grant the specialpages rights to the groups which should be able to
> use the Special: pages
I tried it and everything looked fine, until ... one of my "normal"
users reported, that he can't upload pdf files anymore. <sigh>
Now I'm using both extensions (NamespacePermissions and LockDown) and
this setup seems to fulfill our requirements.
Platonides, thanks a lot for your patience!
Peter
_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l