Extension:ConfirmAccount/ja

ConfirmAccount は、アカウント作成を直接無効にし、新しいアカウントはビューロクラットの承認を必要になります. 直接のアカウント作成は $3 を設定することでまだ有効にできます ($1/ビューロクラット が直接作成できるようにしたい場合). Direct account creation can still be enabled (if you want /Bureaucrats to be able to directly make them) by configuring.

省略可能
( を含む require_once 行の後) には、調整可能な設定変数がいくつかあります.

設定可能なすべての変数については、 を参照してください.

To further categorize users based on their interests, you can set up MediaWiki:Requestaccount-areas. これは、次のような形式である必要があります.


 * *トピック|トピックウィキページ|関心のあるすべての利用者の経歴に追加するテキスト |グループ0内のすべての関心のある利用者の経歴に追加するテキスト|グループ1内のすべての関心のある利用者の経歴に追加するテキスト|グループ2内のすべての関心のある利用者の経歴に追加するテキスト|...

これらのグループナンバーは を元にしています. So if 0 is the index for 'authors', then 'authors' interested in a topic will have the group0 text appended to their biography. This can be useful, say, if users can be approved as either authors or editors. Authors can have "category:X authors" where X is a topic, like "mathematics", and editors can have "category:x editors". You can have as many groups as you want, but you need at least one.

最低限
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.

使用法




Carefully review the form, and proceed to creating the account or rejecting the request.
 * 1) As a bureaucrat (or other user with the confirmaccount permission), browse to
 * 1) Click Review
 * 1) You will see the whole form with the users' data.
 * 1) 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.
 * 1) 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 the "LocalSettings.php" file:

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 the "LocalSettings.php" file, 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:

 original code: 

 new code: 

"Request account" Link
If you would like to add a "Request account" login link, the latest version of the extension already adds it for you. However, if that doesn't work, you will need to update to the latest version of your branch of ConfirmAccount from Git. For instance, if you are using MediaWiki 1.35, you should stay on the REL1_35 branch but pull from Git to retrieve the latest changes.



既知の問題点
You can edit MediaWiki:loginprompt to remedy this. Since no one knows the passwords, you may want to use Special:ResetPassword to send them new ones. 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.
 * 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.
 * If your email client loses its mail data before sending it out, users will not get their passwords but may have an account.
 * 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.
 * Integration with LDAP Authentication extension
 * [solved] Captcha: before version 1.40, the captcha was not validated (see ), there was only a specific patch for hCaptcha (see Topic:W449yd63slfossl2).

トラブルシューティング

 * メールでの通知を送らない

テスト中の場合、利用者は最初に電子メールで送信されたリンクから電子メール アドレスを確認する必要があることに注意してください. その後、アカウントを確認するために電子メールがビューロクラットに送信されます.

require_once行の後に、拡張機能に関連する設定が導入されていることを確認してください. そうしないと、拡張機能が正しく読み込まれず、動作しません.

また、「confirmaccount-notify」設定を使用する場合、グループ内の各利用者(管理者など)は、Special:Preferencesので「」が許可され、同じフォーム内で電子メールアドレスを確認していない限り、通知を受信しないことに注意してください.



関連項目
Extension:InviteSignup, 管理者が開始する（大量の）アカウント作成用
 * TwnMainPageの拡張機能、"サンドボックス"利用者が非特権アカウントを作成し、編集を提案し、承認を求めることができます