Wiki Configuration

Wiki Resource Management & Use (Documentation)

Moderators: OpenUru.org Moderators, Wiki Resource Managers

Post Reply
User avatar
JWPlatt
Member
Posts: 1100
Joined: Sun Dec 07, 2008 7:32 pm
Location: Everywhere, all at once

Wiki Configuration

Post by JWPlatt » Sun Mar 07, 2010 12:52 am

Mac,

At some point, it was pointed out to me that people couldn't read the wiki if they weren't logged in. We want OpenURU.org to be as open as possible, so we fixed that so our wiki pages were public. But somehow the restiction snuck back in during more recent work. I would like to fix it again. Is there any reason we can't open the pages to the public with the other security measures we've taken?

Here's the current relevant setup:

# user rights
# only logged in users may read, only confirmed email may edit
$wgGroupPermissions['*']['read'] = false;
$wgEmailConfirmToEdit = true;

# Disable editing and creation for everyone.
$wgGroupPermissions['*']['edit'] = false;
$wgGroupPermissions['*']['createpage'] = false;
$wgGroupPermissions['*']['createtalk'] = false;

# Disable for users, too: by default 'user' is allowed to edit, even if '*' is not.
$wgGroupPermissions['user']['edit'] = false;
$wgGroupPermissions['user']['createpage'] = false;
$wgGroupPermissions['user']['createtalk'] = false;

# Finally, set it to true for the desired group.
$wgGroupPermissions['autoconfirmed']['edit'] = true;
$wgGroupPermissions['autoconfirmed']['createpage'] = true;
$wgGroupPermissions['autoconfirmed']['createtalk'] = true;

# rights to read (if not logged in) just to the mainpage and some special pages
$wgWhitelistRead = array( "Main Page", "Special:Userlogin");

# no discussion pages for anonymous users
$wgDisableAnonTalk = true;
Perfect speed is being there.

User avatar
Mac_Fife
Member
Posts: 1229
Joined: Fri Dec 19, 2008 12:38 am
Location: Scotland
Contact:

Re: Wiki Configuration

Post by Mac_Fife » Sun Mar 07, 2010 7:32 pm

I see no reason why we can't allow reads from unauthenticated visitors. The loophole we'd found previously was that unauthenticated users couldn't edit existing pages but the default settings still allowed them to create new pages :? We've fixed that. The odd spammer that was still getting through wasn't going to be deterred by not being able to read pages because they were actually going through the whole account activation process, so were obviously real people rather than bots.

You'll need to comment out this line or change it to "true":

Code: Select all

$wgGroupPermissions['*']['read'] = false;
This line can be left as is, but it'll no longer do anything:

Code: Select all

$wgWhitelistRead = array( "Main Page", "Special:Userlogin");
Mac_Fife
OpenUru.org wiki wrangler

realXCV
Member
Posts: 257
Joined: Sat Dec 13, 2008 2:07 am
Contact:

Re: Wiki Configuration

Post by realXCV » Sun Mar 07, 2010 9:10 pm

I also think that reading from anonymous users should be allowed. Especially if, as the MOULa plugin thread suggests, another wiki (like the GoW wiki) links to this one. Not everyone will want to create an account just because they want more informations on one subject.

User avatar
JWPlatt
Member
Posts: 1100
Joined: Sun Dec 07, 2008 7:32 pm
Location: Everywhere, all at once

Re: Wiki Configuration

Post by JWPlatt » Sun Mar 07, 2010 11:11 pm

Permissions changed to allow anonymous reads. Thanks, Mac_Fife!
Perfect speed is being there.

Post Reply

Return to “Wiki (MediaWiki)”

Who is online

Users browsing this forum: No registered users and 1 guest