Topic on Extension talk:LiquidThreads

Don't allow anons to use LiquidThreads

7
Stefahn (talkcontribs)

I'm trying to block anons from using LiquidThreads.

I tried the following three things (one after the other), but none of them worked:

$wgNamespaceProtection[NS_LQT_THREAD] =
$wgNamespaceProtection[NS_LQT_THREAD_TALK] =
$wgNamespaceProtection[NS_LQT_SUMMARY] =
$wgNamespaceProtection[NS_LQT_SUMMARY_TALK] = array('foo');
$wgGroupPermissions['*']['foo'] = false; // don't allow anons to access LQT namespaces


$wgNamespaceProtection[NS_LQT_THREAD] =
$wgNamespaceProtection[NS_LQT_THREAD_TALK] =
$wgNamespaceProtection[NS_LQT_SUMMARY] =
$wgNamespaceProtection[NS_LQT_SUMMARY_TALK] = array('foo');
$wgGroupPermissions['my_user_group']['foo'] = true; // only allow my_user_group to access LQT


$wgGroupPermissions['*']['createtalk'] = false;


The only thing that seems to work is

 
$wgGroupPermissions['*']['createpage'] = false;

but I can't use it since I want to allow anons to edit certain other namespaces (which works fine).

Thanks for any help!

Stefahn (talkcontribs)

Finally found a way to make this work:
I use Extension:Lockdown with this code:

$wgNamespacePermissionLockdown[NS_LQT_THREAD]['*'] = array('foo');
$wgNamespacePermissionLockdown[NS_LQT_THREAD_TALK]['*'] = array('foo');
$wgNamespacePermissionLockdown[NS_LQT_SUMMARY]['*'] = array('foo');
$wgNamespacePermissionLockdown[NS_LQT_SUMMARY_TALK]['*'] = array('foo');

Replace "foo" with the user group that you would like to grant permission to LQT.

Ciencia Al Poder (talkcontribs)

I've filled bug 53363 for this issue. This should be something configurable on LQT

Stefahn (talkcontribs)

Thanks.

Does somebody still fix LQT issues? I hope so since we use LQT a lot...

Ciencia Al Poder (talkcontribs)

Yes, there have been a lot of LQT bugs fixed during this year:

Nemo bis (talkcontribs)

In general: no, nobody maintains it. However, this year (as said above) we have had some very prolific weeks by volunteer Krenair whose patches, reviewed by translatewiki.net staff, fixed a lot of bugs. This doesn't mean that you can expect LQT to work with future releases of MediaWiki: it may, or not.

Reply to "Don't allow anons to use LiquidThreads"