Jump to content

Topic on Extension talk:LiquidThreads/Archive 3

Allow anonymous to post to liquid thread

6
67.40.190.150 (talkcontribs)

Ok So I have my Wiki set to allow anonymous to edit pages but not add new pages. anonymous can edit or add talk pages just not main pages. Why will Liquid Threads not allow anonymous users to post a thread then. Does anyone know how to change Liquid Threads to allow anonymous users to post even though creatpage is disabled. Below are my permissions. The Wiki is www.trailwiki.us if you want to see what I am talking about.

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

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

$wgGroupPermissions['*']['edit'] = true;

$wgGroupPermissions['*']['edittalk'] = true;

$wgGroupPermissions['user']['createpage'] = true;

This post was posted by 67.40.190.150, but signed as fox15rider.

Stefahn (talkcontribs)

Thanks to your post I found out how to disable LiquidThreads for anonymous writers (exactly the opposite of what you wanted to do ;)
I had to set ['*']['createpage'] to false.

It seems you managed to enable LiquidThreads for anons now?

Fox15rider (talkcontribs)

I have still not figured out how to allow anonymous people to add comments on liquid threads. I would like to only allow users to edit pages but allow anonymous users to post on liquid threads.. Anyone out there know how?

Nemo bis (talkcontribs)
211.61.23.35 (talkcontribs)
$wgNamespaceProtection[NS_MAIN]      = array( 'ns-protected' );
$wgNamespaceProtection[NS_USER]      = array( 'ns-protected' );
$wgNamespaceProtection[NS_SPECIAL]      = array( 'ns-protected' );
$wgNamespaceProtection[NS_FILE]      = array( 'ns-protected' );
$wgNamespaceProtection[NS_MEDIAWIKI]      = array( 'ns-protected' );
$wgNamespaceProtection[NS_TEMPLATE]      = array( 'ns-protected' );
$wgNamespaceProtection[NS_HELP]      = array( 'ns-protected' );
$wgNamespaceProtection[NS_CATEGORY]      = array( 'ns-protected' );

$wgGroupPermissions['*']['createaccount']  	 		= true;
$wgGroupPermissions['*']['read']           			= true;
$wgGroupPermissions['*']['edit']            			= true;
$wgGroupPermissions['*']['createpage']      			= true;
$wgGroupPermissions['*']['createtalk']      			= true;
$wgGroupPermissions['*']['ns-protected']      			= false;

This allow to create new thread only TALK namespaces which LiquidThreads in. Other default namespaces is not allowed to non user.

If you want check non-human bot, use ConfirmEdit extensions with these options :

$wgGroupPermissions['*'            ]['skipcaptcha'] = false;
$wgGroupPermissions['autoconfirmed']['skipcaptcha'] = false;
$wgGroupPermissions['user'         ]['skipcaptcha'] = true;
$wgGroupPermissions['bot'          ]['skipcaptcha'] = true; // registered bots
$wgGroupPermissions['sysop'        ]['skipcaptcha'] = true;
$wgCaptchaTriggers['edit']          = true; 
$wgCaptchaTriggers['addurl']        = true; 
$wgCaptchaTriggers['createaccount'] = true;
$wgCaptchaTriggers['badlogin']      = true;

in MediaWiki 1.20.3, this works very well.

Want (talkcontribs)

If your MediaWiki use autoconfirmed for confirm users, may it be variable array $wgNamespaceProtection associated with this right.

$wgAutoConfirmAge = 6000;

$wgNamespaceProtection[NS_MAIN]      = array( 'autoconfirmed' );
$wgNamespaceProtection[NS_USER]      = array( 'autoconfirmed' );
$wgNamespaceProtection[NS_SPECIAL]   = array( 'autoconfirmed' );
$wgNamespaceProtection[NS_FILE]      = array( 'autoconfirmed' );
$wgNamespaceProtection[NS_MEDIAWIKI] = array( 'autoconfirmed' );
$wgNamespaceProtection[NS_TEMPLATE]  = array( 'autoconfirmed' );
$wgNamespaceProtection[NS_HELP]      = array( 'autoconfirmed' );
$wgNamespaceProtection[NS_CATEGORY]  = array( 'autoconfirmed' );

$wgGroupPermissions['*']['createaccount']  = true;
$wgGroupPermissions['*']['read']           = true;
$wgGroupPermissions['*']['edit']           = true;
$wgGroupPermissions['*']['createpage']     = true;
$wgGroupPermissions['*']['createtalk']     = true;
$wgGroupPermissions['*']['autoconfirmed']   = false;

I use it with git master branch MW (1.26alpha).

Reply to "Allow anonymous to post to liquid thread"