Manual talk:$wgAutopromote

i can't have this condition working

i create a new group setting its permissions, and now i want a user belong to this group when he reached 10 edit i use autopromote in localsettings but it doesn't work

this is my sintax:

$wgAutopromote = array(   'Wrikiano' => array( APCOND_EDITCOUNT, 10),  );

where i'm wrong?
 * Is your MediaWiki version new enough? It only works since 1.12.0. --MF-Warburg 10:43, 14 May 2008 (UTC)

help
Why can I not be approved for this "autoconfirmed" group? I have the criteria stated under the usergroup lists, I believe. My edits are to en.wikipedia though is that why? But I have merged global accounts but have not made edits to 4 other wikis. I cannot override an image of others to a better quality. There was one in the Kobe Beef article on en.wiki that has poor exposure and composition. I don't want to create, and don't know if I'm allowed to make a new image name for it. I don't want to change the image name or upload a new version, just modify the one already there for its quality. Even if I had taken an image myself, I do not have permission to upload it? Why? There are a few more where I can be of help. I have the software, and am interested in fixing images on Commons and en.wiki that have borders needing removal, or brightness/contrast, etc problems. TIA! Here's the link to my contributions so far: http://en.wikipedia.org/wiki/Special:Contributions/Catagraph Catagraph 21:05, 19 June 2008 (UTC)

and
The manual should include some example how to define  and   in config. —85.175.57.112 03:46, 11 March 2009 (UTC)

Bug or Feature? APCOND_EMAILCONFIRMED supersedes/circumvents Special:UserRights
Using this array in MW 1.15.0, I have found that assigning groups with APCOND_EMAILCONFIRMED using $wgAutopromote gives the rights of the group named within $wgAutopromote, but the users are not actually recorded as being members of the group, so they cannot be removed from those groups in Special:Userrights.

For example, I want to automatically grant editing rights to email confirmed users, but be able to revoke them if the user misbehaves.

Using this code: $wgGroupPermissions['*']['read']   = false; $wgGroupPermissions['*']['edit']    = false; $wgGroupPermissions['reader']['read'] = true; $wgGroupPermissions['editor']['read']  = true; $wgGroupPermissions['editor']['edit']   = true;

$wgAutopromote = array (	'reader' => APCOND_EMAILCONFIRMED,	'editor' => APCOND_EMAILCONFIRMED, );

does not allow that. That is, I can check and uncheck the "reader" and "editor" boxes all I want on Special:UserRights with no effect whatsoever if a user has a confirmed email address. To work around this, I had to create a new "demoted" group to ungrant the autopromoted rights.

Workaround: $wgGroupPermissions['*']['read']   = false; $wgGroupPermissions['*']['edit']    = false; $wgGroupPermissions['reader']['read'] = true; $wgGroupPermissions['editor']['read']  = true; $wgGroupPermissions['editor']['edit']   = true; $wgGroupPermissions['demoted']['demoted'] = true; $wgAutopromote = array (       'reader' => APCOND_EMAILCONFIRMED,        'editor'  => array ('&', array(APCOND_EMAILCONFIRMED), array( '!',                               array(APCOND_INGROUPS, 'demoted')                      ) ), );

This allows me to effectively remove a user from the "editor" group just by checking a box to assign them to the new "demoted" group without having to revoke everyone's autoconfirmed "editor" rights and actively assign each approved user to the "editor" group.

--Fungiblename 14:25, 15 July 2009 (UTC)