Jump to content

Manual:$wgAutoConfirmAge

From mediawiki.org
Access: $wgAutoConfirmAge
Number of seconds an account is required to age before it's given the implicit 'autoconfirmed' group membership.
Introduced in version:1.6.0 (r12207)
Removed in version:Still in use
Allowed values:(positive integer)
Default value:0

Details

[edit]

Sets the number of seconds an account is required to age before it's given the implicit 'autoconfirmed' group membership. Note that the user must pass $wgAutoConfirmAge AND $wgAutoConfirmCount to become a member of that group.

This can be used to limit privileges of new accounts. Accounts created by earlier versions of the software may not have a recorded creation date, and will always be considered to pass the age test.

When left at 0 (the default), all registered accounts will pass.

Some other useful settings:

$wgAutoConfirmAge = 600;     // ten minutes
$wgAutoConfirmAge = 3600;    // one hour
$wgAutoConfirmAge = 43200;   // half a day
$wgAutoConfirmAge = 86400;   // one day
$wgAutoConfirmAge = 259200;  // three days
$wgAutoConfirmAge = 86400*3; // three days

See also

[edit]