Extension:ConfirmAccount/fr

L’extension ConfirmAccount désactive la création directe des comptes utilisateur et rend obligatoire l’approbation des nouveaux comptes par un bureaucrate. La création directe de comptes peut toutefois être réactivée (si vous voulez que les sysops ou bureaucrates puissent les créer directement) en configurant les droits utilisateur.

L’extension ConfirmEdit peut être utilisée (en conjonction avec l’extension ConfirmAccount) afin d’utiliser des captchas pour arrêter les demandes en grand nombre faites à la chaîne (forme de spam).

Facultatif
Il existe quelques paramètres de configuration uqi peuvent être ajustés dans LocalSettings.php (après la ligne require_once qui inclut ConfirmAccount.php). Voir ConfirmAccount.config.php pour toutes les variables pouvant être initialisées. Les valeurs par défaut sont dans ConfirmAccount.config.php,(mais vous ne devez pas modifier ce fichier).

For example, to set the person's bio as their userpage, set $wgMakeUserPageFromBio = true.

Pour désactiver la biographie, mettez  à    :


 * Dans d’autres langues, vous devez remplacer "Main Page" et "Special:RequestAccount" par leurs noms locaux, par exemple "Hauptseite" et "Spezial:Benutzerkonto_beantragen" sur un wiki en allemand.

Pour catégoriser ensuite les utilisateurs en fonction de leurs intérêts, vous pouvez initialiser MediaWiki:Requestaccount-areas. Cela doit être un format tel que :
 * *Topic|Topic wiki page|text to append to all interested users' bios |text to append to all interested users' bios in group0|text to append to all interested users' bios group1|text to append to all interested users' bios in group2|...

Ces membres de groupe sont basés sur. So if 0 is the index for 'authors', then 'authors' interested in a topic will have the group0 text appended to their biography. Ceci peut être utile disons, si les utilisateurs peuvent être approuvés soit en tant qu'auteurs, soit en tant que contributeurs. Authors can have "category:X authors" where X is a topic, like "mathematics", and editors can have "category:x editors". Vous pouvez avoir autant de groupes que vous voulez mais il en faut au moins un.

Configuration minimale
To attempt to prevent spam, instead of captchas, blacklists and filters; manually moderate new user registrations, with a simpler Request account. Requesting only a username, email address and brief message. Add the following to LocalSettings.php after the line require_once "$IP/extensions/ConfirmAccount/ConfirmAccount.php";.

Optionally tweak system messages: requestaccount-text, requestaccount-notes, requestaccount-ext-text, requestaccount-acc-text.

Utilisation

 * 1) As a bureaucrat (or other user with the confirmaccount permission), browse to
 * 2) Click Review
 * 3) You will see the whole form with the users' data. Carefully review the form, and proceed to creating the account or rejecting the request.
 * 4) If you chose to create the account, the user's biography will become their userpage and the userpage will be automatically created with the default summary of Creating user page with biography of new user.
 * 5) After an account is created, the data input by the user at the time of the request can be referred to by typing the username at

Sending notification email to multiple users
This extension allows sending emails to multiple approvers to confirm the account if these users have the  permission. This is in addition/alternative to the  setting.

This can be achieved (for instance for bureaucrats) by providing them this permission by adding the following to :

Pruning Frequency
To combat robot-requests, default settings prevent rejected email accounts from re-requesting an account for a random period of time after rejection. If you want rejected emails to be able to re-request accounts immediately after rejection, or after a fixed wait-time (days, weeks, months, or even years after rejection), apply the following 2 steps:

1) In LocalSettings.php, after required declaration, set Rejected-Age to 0 (for immediate expiration on rejection), or to your desired wait-time, in seconds:

2) Add one line to the file  at the very end of the function   which shows the Request form, to force pruning right before any new request:

code initial :

nouveau code :

Lien « Demande de compte »
If you would like to add a "Request account" login link add the following to the "LocalSettings.php" file:

as well as the text "Request account" to page "MediaWiki:Requestaccount".

Problèmes connus

 * Do not set  to true in LocalSettings, it will override the request login and allow users to sign up without confirmation.
 * Do not set/create MediaWiki:Requestaccount-areas/xx where xx is a language code, the first part of each line is used as the keys to store in the DB for the items account requesters check.
 * Older versions of MediaWiki may not show the link to Special:RequestAccount at the user login form. Vous pouvez modifer MediaWiki:loginprompt pour corriger cela.
 * If your email client loses its mail data before sending it out, users will not get their passwords but may have an account. Since no one knows the passwords, you may want to use Extension:Password Reset or Special:ResetPassword to send them new ones.
 * If only a few people view the confirm accounts page, the randomly triggered pruning of old requests will not trigger often, so old rejected requests may persist. This prevents email addresses from re-requesting accounts for an unknown time period. You can override this behavior, and allow immediate re-requests, by forcing prune right before any new Request is submitted. Instructions here.
 * Integration with LDAP Authentication extension

Dysfonctionnements

 * Les courriels de notification n'arrivent pas à être envoyés

If you are testing, note that a user must first confirm their email address through the link emailed to them, and then the email will be sent to the bureaucrat to confirm the account.

Make sure that setting(s) related to extension are introduced after the require_once line. Not before, otherwise extension doesn't see these settings and they fail silently. e.g.

Also note that when using the 'confirmaccount-notify' setting, that each user in the group (e.g. sysop) will not receive notices unless their in Special:Preferences allow "" and that they have confirmed their email address within the same form.

Voir aussi

 * Extension:InviteSignup, pour les créations de comptes (en masse) initiées par les administrateurs
 * l'extension TwnMainPage offrant un bac à sable où l'utilisateur peut créer un compte sans droits, proposer quelques modifications et demander l'approbation