Manual talk:$wgGroupPermissions

How to allow only sysop user to edit pages (version 1.5) ?

I tried the following :

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

but it has no effect. What is the correct configuration to allow only sysop to edit pages ?


 * Try adding

$wgGroupPermissions['user']['edit'] = false;

between the two lines you aready tried. 158.135.133.13 19:03, 26 April 2006 (UTC)

If you restricted access for everybody in the first line, that´s all, because sysop still can edit

Is there a way to set group permissions for a wiki to disallow anonymous and user editing, but enable it for a few pages? Of course I know how to (and already do) disable, but I don't know how to set individual pages edit-able. The number of edit-able pages are outnumbered by protected pages in my wiki, if that makes any sense, heh. 24.21.71.180 13:09, 4 August 2006 (UTC)

Recent edit
someone just changed

"false" to "true" in the example's first line

this is incorrect, isn't it (i just tried it and it opened up the site for anonymous editing)

is there a reason it was changed?

--haleden

no response, so i reverted the edit


 * An anonymouse user - possibly someone trying out wiki, possibly a deliberate vandal, possibly just someone who was confused. Either way the original version was the correct one, so thanks for the revert. --HappyDog 04:09, 13 November 2006 (UTC)

Default values
Default value is an array, but an array of false values or true? I suspect the former. Either way, the documentation could perhaps be improved. --Kingboyk 18:37, 18 November 2006 (UTC)


 * The standard method is to hit the 'edit' button, make the improvement, click save. --HappyDog 00:56, 23 November 2006 (UTC)

Autoconfirmed and Emailconfirmed rights
In the manual it says that the usergroup 'autoconfirmed' are users with the 'autoconfirmed' permission. Same goes for the 'emailconfirmed' group. This can also to be seen in the DefaultSettings.php file. It is not clear to me what the 'autoconfirmed' and 'emailconfirmed' permissions (not group) do. What is their purpose in MediaWiki (1.9)? Where is it used? Can someone explain that to me, cus at the moment I don't understand the meaning of the two rights (again not the groups). It is not explained in the manual page.

--NicoleBekkers 12:07, 26 February 2007 (UTC)
 * Autoconfirmed is assigned to users automatically by MediaWiki; you can set the time and number of edits after which this happens. e.g.

$wgAutoConfirmAge = 3600; // User must exist for 1 hour $wgAutoConfirmCount = 5; // User must have made 5 edits If you do this, you can then set up RC patrolling so new users are patrolled before both of these conditions are satisfied. So: $wgGroupPermissions['user']['autopatrol'] = false;        // New users are patrolled $wgGroupPermissions['autoconfirmed']['autopatrol'] = true; // Established users aren't Autoconfirmed is also the semi-protect level on pages - "Block unregistered users" actually requires the Autoconfirmed permission.

Emailconfirmed means the user has registered their email address with the wiki and it was successfully confirmed. It does nothing unless email functions are turned on. --83.104.41.175 14:05, 13 May 2007 (UTC)

Is there an "anonymous" group for page by page restriction?
I found : * = All users (incl. anonymous) According to the tests made on my wiki, I corrected the manual into: * = Anonymous. Previously, the page was wrong. Looking in the history of the page, I found that I was right. The true meaning of "*" is "anonymous group"

I also look for something such : $wgGroupPermissions['anonymous']['read']['Page_with_really_interesting_data'] = false; please answer on my talk page too. Yug 01:07, 11 March 2007 (UTC)


 * You can create a namespace which you set to ['user']['read']. There is no page by page restriction. You may look into Category:Page_Access_Control_Extensions. Or make your own changes, look at page table page restriction. --GunterS 01:20, 11 March 2007 (UTC)

Link to groups?
On Wikimedia wikis, I notice that the links to STEWARD etc. are linked like Sysop and Bureaucrat. Is this a system message, database entry or some setting I've yet to find? --83.104.41.175 13:46, 12 May 2007 (UTC)


 * It's a system message. For example, if you want to link the developer group to the page project:developers, you would create MediaWiki:Grouppage-developer and put Project:Developers as its contents. This has been tested on MediaWiki 1.11 and it works on that version. -- Sayuri 05:12, 4 July 2007 (UTC)

talk rights ?
I just created a wiki with no edit rights for normal users, but i'd like to allow authenticated users to use the talk pages. I set this $wgGroupPermissions['*']['edit'] = false; $wgGroupPermissions['*']['createpage'] = false; to disallow the edit functions to all, and put that $wgGroupPermissions['user']['move']           = false; $wgGroupPermissions['user']['read']           = true; $wgGroupPermissions['user']['edit']           = false; $wgGroupPermissions['user']['createpage']     = false; $wgGroupPermissions['user']['createtalk']     = true; $wgGroupPermissions['user']['upload']         = false; $wgGroupPermissions['user']['reupload']       = false; $wgGroupPermissions['user']['reupload-shared'] = false; $wgGroupPermissions['user']['minoredit']      = false; $wgGroupPermissions['user']['purge']          = false; to allow edition of discussion.

it works ok to don't edit pages, but the normal users cannot discuss though i set the createtalk to true

Did i miss anything on the settings ? --V.chosson 14:55, 31 May 2007 (UTC)

purge ??
Hi all Thanks for the good job already done ! But there is no description of the purge command ! I think this is to purge the "historique", but it should be written Thanks, Matt

image auth?
from Manual:Image authorisation -- what perms relate to the ability to see uploaded files? Sj 14:30, 14 July 2007 (UTC)

Restrict the use of HTML
I want to restrict the use of HTML ($wgRawHtml is true) for users and anonymous. How could I do it? EmuAGR 08:45, 3 September 2007 (UTC)

Allow just registered users to edit pages?
what do i need to configure to allow just registered useres to edit pages AND  the user shall just get the registration after confirmation/approvement by SYSOP.--82.113.113.81 08:58, 27 September 2007 (UTC)