';
} else {
return '';
}
}
/**
* @return array
*/
function getQueryInfo() {
$conds = $this->mConds;
$tables = array( 'account_requests' );
$fields = array( 'acr_id', 'acr_name', 'acr_real_name', 'acr_registration', 'acr_held',
'acr_user', 'acr_email', 'acr_email_authenticated', 'acr_bio', 'acr_notes',
'acr_urls', 'acr_filename', 'acr_type', 'acr_rejected' );
# Stale requests have a user ID of zero
if ( $this->stale ) {
$conds[] = 'acr_user = 0';
} elseif ( $this->rejects ) {
$conds[] = 'acr_user != 0';
$tables[] = 'user';
$conds[] = 'acr_user = user_id';
$fields[] = 'user_name';
$fields[] = 'acr_rejected';
}
return array(
'tables' => $tables,
'fields' => $fields,
'conds' => $conds
);
}
/**
* @return string
*/
function getIndexField() {
return 'acr_registration';
}
}
diff --git a/i18n/confirmaccount/en.json b/i18n/confirmaccount/en.json
index 95803dd..fe2b2e7 100644
--- a/i18n/confirmaccount/en.json
+++ b/i18n/confirmaccount/en.json
@@ -1,83 +1,84 @@
{
"@metadata": {
"authors": []
},
"confirmaccounts": "Confirm account requests",
"confirmedit-desc": "Gives bureaucrats the ability to confirm account requests",
"confirmaccount-maintext": "'''This page is used to confirm pending account requests at ''{{SITENAME}}'''''.\n\nEach account request queue consists of three subqueues.\nOne for open request, one for those that have been put on hold by other administrators pending further information, and another for recently rejected requests.\n\nWhen responding to a request, carefully review it and, if needed, confirm the information contain therein.\nYour actions will be privately logged.\nYou are also expected to review any activity that takes place here aside from what you do yourself.",
"confirmaccount-list": "Below is a list of account requests awaiting approval.\nOnce a request is either approved or rejected it will removed from this list.",
"confirmaccount-list2": "Below is a list recently rejected account requests which may automatically be deleted once several days old.\nThey can still be approved into accounts, though you may want to first consult the rejecting administrator before doing so.",
"confirmaccount-list3": "Below is a list expired account requests which may automatically be deleted once several days old.\nThey can still be approved into accounts.",
"confirmaccount-text": "This is a pending request for a user account at '''{{SITENAME}}'''.\n\nCarefully review the below information.\nIf you are approving this request, use the position dropdown to set the account status of the user.\nEdits made to the application biography will not affect any permanent credential storage.\nNote that you can choose to create the account under a different username.\nUse this only to avoid collisions with other names.\n\nIf you simply leave this page without confirming or denying this request, it will remain pending.",
"confirmaccount-none-o": "There are currently no open pending account requests in this list.",
"confirmaccount-none-h": "There are currently no held pending account requests in this list.",
"confirmaccount-none-r": "There are currently no recently rejected account requests in this list.",
"confirmaccount-none-e": "There are currently no expired account requests in this list.",
"confirmaccount-real-q": "Name",
"confirmaccount-email-q": "Email",
"confirmaccount-bio-q": "Biography",
"confirmaccount-showopen": "open requests",
"confirmaccount-showrej": "rejected requests",
"confirmaccount-showheld": "held requests",
"confirmaccount-showexp": "expired requests",
"confirmaccount-review": "Review",
"confirmaccount-types": "Select an account confirmation queue from below:",
"confirmaccount-all": "(show all queues)",
"confirmaccount-type": "Queue:",
"confirmaccount-type-0": "prospective authors",
"confirmaccount-type-1": "prospective editors",
"confirmaccount-q-open": "open requests",
"confirmaccount-q-held": "held requests",
"confirmaccount-q-rej": "recently rejected requests",
"confirmaccount-q-stale": "expired requests",
"confirmaccount-badid": "There is no pending request corresponding to the given ID.\nIt may have already been handled.",
"confirmaccount-leg-user": "User account",
"confirmaccount-leg-areas": "Main areas of interest",
"confirmaccount-leg-person": "Personal information",
"confirmaccount-leg-other": "Other information",
"confirmaccount-leg-ip": "IP address data",
"confirmaccount-name": "Username",
"confirmaccount-real": "Name:",
"confirmaccount-email": "Email:",
"confirmaccount-reqtype": "Position:",
"confirmaccount-pos-0": "author",
"confirmaccount-pos-1": "editor",
"confirmaccount-bio": "Biography:",
"confirmaccount-attach": "Resume/CV:",
"confirmaccount-notes": "Additional notes:",
"confirmaccount-urls": "List of websites:",
"confirmaccount-none-p": "(not provided)",
"confirmaccount-confirm": "Use the options below to accept, reject, or hold this request:",
"confirmaccount-econf": "(confirmed)",
"confirmaccount-withcv": "(CV attached)",
"confirmaccount-reject": "({{GENDER:$1|rejected}} by [[User:$1|$1]] on $3 at $4)",
"confirmaccount-rational": "Rationale given to applicant:",
"confirmaccount-noreason": "(none)",
"confirmaccount-autorej": "(this request has automatically been discarded due to inactivity)",
"confirmaccount-held": "({{GENDER:$1|marked}} \"on hold\" by [[User:$1|$1]] on $3 at $4)",
+ "confirmaccount-blockip": "Block IP address",
"confirmaccount-create": "Accept (create account)",
"confirmaccount-deny": "Reject (delist)",
"confirmaccount-hold": "Hold",
"confirmaccount-spam": "Spam (do not send email)",
"confirmaccount-reason": "Comment (will be included in email):",
"confirmaccount-ip": "IP address:",
"confirmaccount-xff": "X-Forwarded-For:",
"confirmaccount-agent": "User-Agent:",
"confirmaccount-legend": "Confirm/reject this account",
"confirmaccount-submit": "Confirm",
"confirmaccount-needreason": "You must provide a reason in the comment box below.",
"confirmaccount-canthold": "This request is already either on hold or deleted.",
"confirmaccount-badaction": "A valid action (accept, reject, hold) must be specified in order to proceed.",
"confirmaccount-acc": "Account request confirmed successfully;\n\tcreated new user account [[User:$1|$1]].",
"confirmaccount-rej": "Account request rejected successfully.",
"confirmaccount-viewing": "(currently {{GENDER:$1|being}} viewed by [[User:$1|$1]])",
"confirmaccount-summary": "Creating user page for new user.",
"confirmaccount-welc": "'''Welcome to ''{{SITENAME}}''!'''\nWe hope you will contribute much and well.\nYou will probably want to read the [[{{MediaWiki:Helppage}}|help pages]].\nAgain, welcome and have fun!",
"confirmaccount-wsum": "Welcome!",
"confirmaccount-email-subj": "{{SITENAME}} account request",
"confirmaccount-email-body": "Your request for an account has been approved on {{SITENAME}}.\n\nAccount name: $1\n\nPassword: $2\n\nFor security reasons you will need to change your password on first login.\nTo login, please go to {{fullurl:Special:UserLogin}}.",
"confirmaccount-email-body2": "Your request for an account has been approved on {{SITENAME}}.\n\nAccount name: $1\n\nPassword: $2\n\n$3\n\nFor security reasons you will need to change your password on first login.\nTo login, please go to {{fullurl:Special:UserLogin}}.",
"confirmaccount-email-body3": "Sorry, your request for an account \"$1\" has been rejected on {{SITENAME}}.\n\nThere are several ways this can happen.\nYou may not have filled out the form correctly, did not provide adequate length in your responses, or otherwise failed to meet some policy criteria.\nThere may be contact lists on site that you can use if you want to know more about user account policy.",
"confirmaccount-email-body4": "Sorry, your request for an account \"$1\" has been rejected on {{SITENAME}}.\n\n$2\n\nThere may be contact lists on site that you can use if you want to know more about user account policy.",
"confirmaccount-email-body5": "Before your request for an account \"$1\" can be accepted on {{SITENAME}} you must first provide some additional information.\n\n$2\n\nThere may be contact lists on site that you can use if you want to know more about user account policy."
}
\ No newline at end of file
diff --git a/i18n/confirmaccount/qqq.json b/i18n/confirmaccount/qqq.json
index fd51b1d..2175c94 100644
--- a/i18n/confirmaccount/qqq.json
+++ b/i18n/confirmaccount/qqq.json
@@ -1,94 +1,95 @@
{
"@metadata": {
"authors": [
"Bennylin",
"EugeneZelenko",
"Jon Harald Søby",
"Lejonel",
"McDutchie",
"Purodha",
"Shirayuki",
"Siebrand",
"The Evil IP address",
"Kghbln"
]
},
"confirmaccounts": "{{doc-special|ConfirmAccounts}}",
"confirmedit-desc": "{{desc|name=Confirm Account|url=https://www.mediawiki.org/wiki/Extension:ConfirmAccont}}",
"confirmaccount-maintext": "This message is followed by the message {{msg-mw|confirmaccount-types}}.",
"confirmaccount-list": "This message is followed by a list of account requests.\n\nSee also:\n* {{msg-mw|Confirmaccount-list2}}\n* {{msg-mw|Confirmaccount-list3}}",
"confirmaccount-list2": "This message is followed by a list of account requests.\n\nSee also:\n* {{msg-mw|Confirmaccount-list}}\n* {{msg-mw|Confirmaccount-list3}}",
"confirmaccount-list3": "This message is followed by a list of account requests.\n\nSee also:\n* {{msg-mw|Confirmaccount-list}}\n* {{msg-mw|Confirmaccount-list2}}",
"confirmaccount-text": "Used as intro text for the AccountConfirm form.",
"confirmaccount-none-o": "There are no account requests to show.\n{{Related|Confirmaccount-none}}",
"confirmaccount-none-h": "There are no account requests to show.\n{{Related|Confirmaccount-none}}",
"confirmaccount-none-r": "There are no account requests to show.\n{{Related|Confirmaccount-none}}",
"confirmaccount-none-e": "There are no account requests to show.\n{{Related|Confirmaccount-none}}",
"confirmaccount-real-q": "Used as label for the real name, so this \"Name\" means \"Realname\".\n{{Identical|Name}}",
"confirmaccount-email-q": "Used as label for the email address.\n{{Identical|E-mail}}",
"confirmaccount-bio-q": "Used as label for the preview of the biography.\n{{Identical|Biography}}",
"confirmaccount-showopen": "Used as link text and as normal text (without link).\n{{Related|Confirmaccount-show}}\n{{Identical|Open requests}}",
"confirmaccount-showrej": "Used as link text and as normal text (without link).\n{{Related|Confirmaccount-show}}",
"confirmaccount-showheld": "Used as link text and as normal text (without link).\n{{Related|Confirmaccount-show}}\n{{Identical|Held requests}}",
"confirmaccount-showexp": "Used as link text and as normal text (without link).\n{{Related|Confirmaccount-show}}\n{{Identical|Expired requests}}",
"confirmaccount-review": "Used as link text.\n\nThe link points to the \"Account request\" page.\n{{Identical|Review}}",
"confirmaccount-types": "This message follows the following message:\n* {{msg-mw|Confirmaccount-maintext}}",
"confirmaccount-all": "Used as link text in '''bold'''.\n\nThe link follows any one of the following link texts:\n* {{msg-mw|Confirmaccount-showopen}}\n* {{msg-mw|Confirmaccount-showrej}}\n* {{msg-mw|Confirmaccount-showheld}}\n* {{msg-mw|Confirmaccount-showexp}}",
"confirmaccount-type": "Used as label for \"Queue type\".\n\nThis message is followed by the following messages:\n* {{msg-mw|Confirmaccount-type-0}}\n* {{msg-mw|Confirmaccount-type-1}}\n{{Identical|Queue}}",
"confirmaccount-type-0": "(1) Used as a \"Queue type\". The label for this message is {{msg-mw|Confirmaccount-type}}.\n\n(2) Also used as label. This message is followed by a list of links. Their link texts are:\n* {{msg-mw|Confirmaccount-q-open}}\n* {{msg-mw|Confirmaccount-q-rej}}\n* {{msg-mw|Confirmaccount-q-held}}\n* {{msg-mw|Confirmaccount-q-stale}}\n\nSee also:\n* {{msg-mw|Confirmaccount-type-1}}",
"confirmaccount-type-1": "(1) Used as a \"Queue type\". The label for this message is {{msg-mw|Confirmaccount-type}}.\n\n(2) Also used as label. This message is followed by a list of links. Their link texts are:\n* {{msg-mw|Confirmaccount-q-open}}\n* {{msg-mw|Confirmaccount-q-rej}}\n* {{msg-mw|Confirmaccount-q-held}}\n* {{msg-mw|Confirmaccount-q-stale}}\n\nSee also:\n* {{msg-mw|Confirmaccount-type-0}}",
"confirmaccount-q-open": "Used as link text.\n\nThe link points to the \"List of account requests\" page.\n{{Related|Confirmaccount-q}}\n{{Identical|Open requests}}",
"confirmaccount-q-held": "Used as link text.\n\nThe link points to the \"List of account requests\" page.\n{{Related|Confirmaccount-q}}\n{{Identical|Held requests}}",
"confirmaccount-q-rej": "Used as link text.\n\nThe link points to the \"List of account requests\" page.\n{{Related|Confirmaccount-q}}",
"confirmaccount-q-stale": "Used as link text.\n\nThe link points to the \"List of account requests\" page.\n{{Related|Confirmaccount-q}}\n{{Identical|Expired requests}}",
"confirmaccount-badid": "Used as error message if the provided account-request ID is invalid or disabled.",
"confirmaccount-leg-user": "Used as fieldset label in the form.\n{{Identical|User account}}",
"confirmaccount-leg-areas": "Used as fieldset label in the form.\n{{Identical|Main areas of interest}}",
"confirmaccount-leg-person": "Used as fieldset label in the form.\n{{Identical|Personal information}}",
"confirmaccount-leg-other": "Used as fieldset label in the form.\n{{Identical|Other information}}",
"confirmaccount-leg-ip": "Used as fieldset label in the form.",
"confirmaccount-name": "Used as label for the username\n{{Identical|Username}}",
"confirmaccount-real": "Used as label for the realname.\n{{Identical|Name}}",
"confirmaccount-email": "Used as label for the email address.\n{{Identical|E-mail}}",
"confirmaccount-reqtype": "Used as label for the position.\n\nThis message is followed by any one of the following positions:\n* {{msg-mw|Requestaccount-level-0}}\n* {{msg-mw|Requestaccount-level-1}}\n{{Identical|Position}}",
"confirmaccount-pos-0": "Used as Position (Account request type).\n\nSee also:\n* {{msg-mw|Confirmaccount-reqtype}}\n* {{msg-mw|Confirmaccount-pos-1}}\n{{Identical|Author}}",
"confirmaccount-pos-1": "Used as Position (Account request type).\n\nSee also:\n* {{msg-mw|Confirmaccount-reqtype}}\n* {{msg-mw|Confirmaccount-pos-0}}\n{{Identical|Editor}}",
"confirmaccount-bio": "Used as label for \"Biography\" textarea.\n{{Identical|Biography}}",
"confirmaccount-attach": "Used as label.\n\nThis message is followed by any one of the following:\n* the link which points to the file\n* {{msg-mw|Confirmaccount-none-p}}\n{{Identical|Resume/CV}}",
"confirmaccount-notes": "Used as label for the \"Notes\" textarea.\n{{Identical|Additional notes}}",
"confirmaccount-urls": "Used as label.\n\nThis message is followed by any one of the following:\n* a list of the links\n* {{msg-mw|Confirmaccount-none-p}}\n{{Identical|List of websites}}",
"confirmaccount-none-p": "This message indicates that:\n* Resume/CV not provided\n* Links not provided\nSee also:\n* {{msg-mw|Usercredentials-attach}}\n* {{msg-mw|Usercredentials-urls}}\n{{Identical|Notprovided}}",
"confirmaccount-confirm": "Used as intro text for the fieldset which has the label {{msg-mw|Confirmaccount-legend}}.\n\nThis message is followed by the following radio button labels:\n* {{msg-mw|Confirmaccount-create}}\n* {{msg-mw|Confirmaccount-deny}}\n* {{msg-mw|Confirmaccount-hold}}\n* {{msg-mw|Confirmaccount-spam}}",
"confirmaccount-econf": "Used if the email address has been confirmed.\n\nThe message follows the label and the email address.\nThe label is any one of the following:\n* {{msg-mw|Confirmaccount-email}}\n* {{msg-mw|Confirmaccount-email-q}}\n* {{msg-mw|Usercredentials-email}}",
"confirmaccount-withcv": "Used if a CV file has been attached.\n\nThis message follows the label {{msg-mw|Confirmaccount-real-q}} and the realname.",
"confirmaccount-reject": "Parameters:\n* $1 - username, can be used for GENDER\n* $2 - (Optional) timestamp (time and date)\n* $3 - date\n* $4 - time\nSee also:\n* {{msg-mw|Confirmaccount-held}}",
"confirmaccount-rational": "This message is followed by the reason or by the message {{msg-mw|Confirmaccount-noreason}}.\n\nThis message follows any one of the following messages:\n* {{msg-mw|Confirmaccount-reject}}\n* {{msg-mw|Confirmaccount-held}}",
"confirmaccount-noreason": "Used if the reason is empty.\n\nThis message follows the message {{msg-mw|Confirmaccount-rational}}.\n{{Identical|None}}",
"confirmaccount-autorej": "Used as comment for the old stale request to explain why it has been rejected automatically.",
"confirmaccount-held": "Parameters:\n* $1 - username, can be used for GENDER\n* $2 - (Optional) timestamp (time and date)\n* $3 - date\n* $4 - time\nSee also:\n* {{msg-mw|Confirmaccount-reject}}",
+ "confirmaccount-blockip": "Used as a link to block requesting user's IP address during request review.",
"confirmaccount-create": "Used as label for the radiobox.\n{{Identical|Confirmaccount-submit}}",
"confirmaccount-deny": "Used as label for the radiobox.\n\n\"delist\" means about \"remove from the list\".\n{{Identical|Confirmaccount-submit}}",
"confirmaccount-hold": "Used as label for the radiobox.\n{{Identical|Confirmaccount-submit}}",
"confirmaccount-spam": "Used as label for the radiobox.\n\nThis message means about \"Reject as spam (We do not send email to the requester)\".\n{{Identical|Confirmaccount-submit}}",
"confirmaccount-reason": "Used as label for the \"Reason\" textarea.",
"confirmaccount-ip": "Used as label for the IP address.\n\nThis message is followed by the following messages:\n* {{msg-mw|Word-separator}}\n* the IP address\n* {{msg-mw|Word-separator}}\n* the link which points to [[Special:Block]]\n{{Identical|IP address}}",
"confirmaccount-xff": "Used as label for the \"X-Forwarded-For\" address.\n\nThe X-Forwarded-For (XFF) HTTP header field is a de facto standard for identifying the originating IP address of a client connecting to a web server through an HTTP proxy or load balancer.",
"confirmaccount-agent": "Used as label for the \"User-Agent\" HTTP header value.\n{{Identical|User agent}}",
"confirmaccount-legend": "Used as fieldset label in the form.",
"confirmaccount-submit": "Used as label for Submit button which is used to confirm the validity of the account request.\n{{Identical|Confirm}}",
"confirmaccount-needreason": "Used as error message.",
"confirmaccount-canthold": "Used as error message.",
"confirmaccount-badaction": "Used as error message.\n\nThis message should be consistent with the following radio button labels:\n* {{msg-mw|Confirmaccount-create}} - \"accept\"\n* {{msg-mw|Confirmaccount-deny}} - \"reject\"\n* {{msg-mw|Confirmaccount-hold}} - \"hold\"",
"confirmaccount-acc": "This message means \"The account request has been confirmed successfully\".\n\nThe page title for this message is {{msg-mw|Actioncomplete}}.\n\nParameters:\n* $1 - username\n\nSee also:\n* {{msg-mw|Confirmaccount-rej}}",
"confirmaccount-rej": "This message means \"The account request has been rejected successfully\".\n\nThe page title for this message is {{msg-mw|Actioncomplete}}.\n\nSee also:\n* {{msg-mw|Confirmaccount-acc}}",
"confirmaccount-viewing": "Used to indicate the user is currently viewing. Parameters:\n* $1 - username",
"confirmaccount-summary": "Used as \"Edit summary\". By the edit, the user page will be created.",
"confirmaccount-welc": "In ConfirmAccount extension. A welcome message that is automatically placed on the talk pages of new users.\n\nRefers to {{msg-mw|Helppage}}.\n\nThis message is followed by the Signature.\n\nThe edit summary for this welcome message is {{msg-mw|Confirmaccount-wsum}}.",
"confirmaccount-wsum": "In the ConfirmAccount extension. This is an edit summary used when a welcome message is automatically placed on the talk pages for new accounts.\n\nThe welcome message body is:\n* {{msg-mw|Confirmaccount-welc}}.\n{{Identical|Welcome}}",
"confirmaccount-email-subj": "Used as email subject.\n\nThe email body is any one of the following:\n* {{msg-mw|Confirmaccount-email-body}}\n* {{msg-mw|Confirmaccount-email-body2}}\n* {{msg-mw|Confirmaccount-email-body3}}\n* {{msg-mw|Confirmaccount-email-body4}}\n* {{msg-mw|Confirmaccount-email-body5}}\n{{Identical|SITENAME account request}}",
"confirmaccount-email-body": "Used as email body. Parameters:\n* $1 - username\n* $2 - initial password (random)\n* $3 - (Unused) reason\nThe email subject is {{msg-mw|Confirmaccount-email-subj}}.\n{{Identical|Your request for an account ...}}",
"confirmaccount-email-body2": "Used as email body. Parameters:\n* $1 - username\n* $2 - initial password\n* $3 - reason\nThe email subject is {{msg-mw|Confirmaccount-email-subj}}.\n{{Identical|Your request for an account ...}}",
"confirmaccount-email-body3": "This message is sent as an email to users when their account request has been denied by a bureaucrat.\n\nParameters:\n* $1 - the requested account name\nThe email subject is {{msg-mw|Confirmaccount-email-subj}}.",
"confirmaccount-email-body4": "This message is sent as an email to users when their account request has been denied by a bureaucrat.\n\nParameters:\n* $1 - the requested account name\n* $2 - a comment written by the bureaucrat\nThe email subject is {{msg-mw|Confirmaccount-email-subj}}.",
"confirmaccount-email-body5": "This message is sent as an email to users when their account request has been held by a bureaucrat.\n\nParameters:\n* $1 - the requested account name\n* $2 - the reason\nThe email subject is {{msg-mw|Confirmaccount-email-subj}}."
}