Topic on Project:Support desk

How to create a View Only profile in Private Wiki? Russian

12
91.153.215.72 (talkcontribs)

I set up a private Wiki, where only logged in users can view and edit pages.

Is it possible to create a generic login with view only permissions, so that more users could view the wiki with same login?

AhmadF.Cheema (talkcontribs)
91.153.215.72 (talkcontribs)

Ok, so I create a group for editors, and a group for view only, and both need to be logged in in order to view the wiki, right?

I found out that I can modify users groups one by one, but is it possible to modify more at once?

AhmadF.Cheema (talkcontribs)

Probably don't need to set up a separate group for viewing, it should be there by default.

Haven't tested it, but the following should work:

# Disable reading by anonymous users
$wgGroupPermissions['*']['read'] = false;

# Disable anonymous editing
$wgGroupPermissions['*']['edit'] = false;

# Prevent new user registrations except by sysops
$wgGroupPermissions['*']['createaccount'] = false;

# Restrict editing by all but sysop and one other user group ("editors")
$wgGroupPermissions['user']['edit'] = false;
$wgGroupPermissions['sysop']['edit'] = true;
$wgGroupPermissions['editors']['edit'] = true;

Regarding the second question, I don't think its natively possible i.e. without using some script or coding.

91.153.215.72 (talkcontribs)

Thank you, I'll try this!

85.76.139.137 (talkcontribs)

Just another thought on this: how can I restrict only one specific user to Read Only access?

AhmadF.Cheema (talkcontribs)

One way would be to create a new user group with that one specific user, OR the simpler solution would probably be to block the user from editing. See Help:Blocking users.

85.76.141.223 (talkcontribs)

Yes, thank you, blocking the user worked fine!

85.76.141.223 (talkcontribs)

Ohh, too early to celebrate... As I tested the blocked user from the same IP address, it automatically blocked my rights as well. So I guess I need to do a group and assign that one specific user to the group.

AhmadF.Cheema (talkcontribs)

This shouldn't be an issue.

You probably kept the option "Automatically block the last IP address used by this user, and any subsequent IP addresses they try to edit from" to its default checked state. Just uncheck that and it should be fine.

For details, see Autoblock.

85.76.141.223 (talkcontribs)

Thank you, that did the trick!

103.58.74.153 (talkcontribs)

Do this can't apply in Wikipedia ?

Reply to "How to create a View Only profile in Private Wiki? Russian"