You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit aa1efd3
Browse filesBrowse the repository at this point in the historyBrowse files
The code route borrowed the login form's username box. A field several providers
describe is labelled by the first of them, and this one is not it, so the address
box was labelled "Username", placeholded "Enter your username" and autocompleted
from the username the browser had saved. The messages meant to say otherwise,
memberaccess-auth-email-label and -help, never reached the page. The button sending
the code also sat above the button it is an alternative to, styled as the form's
primary button beside the one that already was.
Ask for the address in a field of this request's own, below the password form and
behind a divider, with a button that is progressive without being primary.
A box of its own means the request declares no username, so a code request names no
account to MediaWiki and is counted against the client IP rather than against one
address. Telling one address from another is left to the extension's own throttle,
which is the tighter of the two. Declaring a username anyway would put a second
answer on a form that already has the username box, and two requests naming
different accounts is a conflict MediaWiki raises rather than resolves.
Considered, omitted:
* leading with the member route and folding the password form away, which suits a
wiki whose logins are mostly members but hides the staff route
* a heading over the section, which the divider and the field's own label already
say
* revisiting the wiki-wide badloginperuser captcha concession, which was made
because the address sat in the field ConfirmEdit reads as the login subject and
may no longer be needed now that it does not
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: i18n/en.json
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -7,10 +7,12 @@
7
7
"memberaccess-description": "Members-only wiki access with email one-time-code login and an allowlist of addresses and domains",
8
8
"memberaccess-code-email-subject": "Your login code for {{SITENAME}}",
9
9
"memberaccess-code-email-body": "Your login code for {{SITENAME}} is:\n\n$1\n\nThe code is valid for $2 {{PLURAL:$2|minute|minutes}} and can be used once.\n\nIf you did not request a login code, you can ignore this message.",
10
-
"memberaccess-auth-button-label": "Email me a login code",
10
+
"memberaccess-auth-button-label": "Continue with email",
11
11
"memberaccess-auth-button-help": "We send a one-time code to your email address. Nothing beyond your email address is requested.",
12
12
"memberaccess-auth-email-label": "Email address",
13
13
"memberaccess-auth-email-help": "The address you are a member with.",
14
+
"memberaccess-auth-email-placeholder": "Enter your email",
15
+
"memberaccess-auth-form-divider": "or",
14
16
"memberaccess-auth-email-missing": "Enter your email address to get a login code.",
15
17
"memberaccess-auth-email-invalid": "Enter a valid email address.",
16
18
"memberaccess-auth-throttled": "Too many login codes have been requested. Try again later.",
"memberaccess-code-email-subject": "Subject line of the email carrying a one-time login code.",
9
9
"memberaccess-code-email-body": "Plain text body of the email carrying a one-time login code.\n\nParameters:\n* $1 - the login code\n* $2 - the number of minutes the code stays valid",
10
-
"memberaccess-auth-button-label": "Label of the button on the login form that asks for a login code to be mailed.",
10
+
"memberaccess-auth-button-label": "Label of the button on the login form that asks for a login code to be mailed to the address above it.",
11
11
"memberaccess-auth-button-help": "Help text below the button that asks for a login code to be mailed. \"Nothing beyond your email address is requested\" is a commitment: keep the meaning \"asked for\", and do not turn it into \"stored\".",
12
12
"memberaccess-auth-email-label": "Label of the email address field.",
13
13
"memberaccess-auth-email-help": "Help text for the email address field.",
14
+
"memberaccess-auth-email-placeholder": "Placeholder shown in the email address field on the login form. Follows the wording of {{msg-mw|Userlogin-yourname-ph}} and {{msg-mw|Userlogin-yourpassword-ph}} above it.",
15
+
"memberaccess-auth-form-divider": "Separator between the password login form and the email login section below it on the login form. Kept to a word or two.\n{{Identical|Or}}",
14
16
"memberaccess-auth-email-missing": "Error shown when a login code is asked for without an email address.",
15
17
"memberaccess-auth-email-invalid": "Error shown when the entered email address is malformed.",
16
18
"memberaccess-auth-throttled": "Error shown when too many login codes have been asked for. The translation must not reveal whether the address is a member.",
0 commit comments